-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
refactor(layouts): create story and update style for base layout #12960
base: dev
Are you sure you want to change the base?
refactor(layouts): create story and update style for base layout #12960
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to see a story for this!!
src/layouts/BaseLayout.tsx
Outdated
{children} | ||
|
||
<Footer lastDeployDate={lastDeployDate} /> | ||
<Container maxW="1536px"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't we use a theme value?
<Container maxW="1536px"> | |
<Container maxW="container.2xl"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pettinarip Hmm that token is set to 1440px
which is not the width shown in figma. Should we increase the value to 1536px
or add container.3xl
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't the folder be named just stories
? to avoid the redundancy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem!
Description
Create a story for
RootLayout
, now namedBaseLayout
to be in sync with naming in the DS.Also makes slight layout adjustments to adhere to the DS.