Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Manual Banner Component For Learn Area Redesign #1406

Merged
merged 6 commits into from
Sep 27, 2023

Conversation

SaySayo
Copy link
Contributor

@SaySayo SaySayo commented Jul 18, 2023

Built a component for the language manual banner according to the learn area redesign. cc @sabine

Figma design
figma design

Created component
created component

Comment on lines 2 to 3
<div class="container bg-learn-area-orange w-full h-80 flex items-center px-4">
<div class="w-2/3 pr-4 mb-2">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

container needs to be inside the surrounding content, and don't use container, but container-fluid is probably more appropriate here.

Copy link
Collaborator

@sabine sabine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this is a banner, it probably makes sense to have it be fully clickable

Collapsing on small screens: Image stacked on top of the rest of the content.

@tmattio tmattio merged commit 9c9fab2 into ocaml:main Sep 27, 2023
2 of 3 checks passed
@tmattio
Copy link
Collaborator

tmattio commented Sep 27, 2023

Thanks @SaySayo!

@SaySayo
Copy link
Contributor Author

SaySayo commented Sep 27, 2023

Hi @tmattio, this wasn't meant to be merged yet as there's a bit of a bug in the responsiveness on smaller screens. I should've marked it as a draft. My apologies about the inconvenience. Will send a PR fixing the bug ASAP!

cuihtlauac pushed a commit that referenced this pull request Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants