-
Notifications
You must be signed in to change notification settings - Fork 65
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
feat(docs): update grid page to use new layout #683
Conversation
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.
Overall, looks great.
packages/docs/pages/grid.tsx
Outdated
</Text> | ||
<Panel header="Overview" headerId="overview"> | ||
<Text> | ||
<Code primary>Grid</Code> is a two-dimensional grid-based layout system. |
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.
Let's just say something similar as to what is in the Flex
PR.
<Code primary>Grid</Code> is a two-dimensional grid-based layout system. | |
The <Code primary>Grid</Code> component extends the <Code primary>Box</Code> utility component and provides a <Link href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid" external target="_blank" rel="external nofollow noreferrer">CSS grid</Link> container alongside grid properties. |
packages/docs/pages/grid.tsx
Outdated
<GuidelinesTable | ||
recommended={[ | ||
<> | ||
Use <Link href="https://css-tricks.com/snippets/css/complete-guide-grid/">CSS-Tricks complete guide</Link>{' '} |
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.
We probably want this on the Flex
PR too 🤦
Use <Link href="https://css-tricks.com/snippets/css/complete-guide-grid/">CSS-Tricks complete guide</Link>{' '} | |
Use <Link href="https://css-tricks.com/snippets/css/complete-guide-grid/" external target="_blank" rel="external nofollow noreferrer">CSS-Tricks complete guide</Link>{' '} |
Don’t use <Code primary>Grid</Code> when focusing on content flow. Use{' '} | ||
<NextLink href="flex">Flex</NextLink> instead. |
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.
💯
97cfd76
to
82b0e94
Compare
What?
Update grid to use new layout. I'm terrible at copy so need help to fill out info.
Screenshots/Screen Recordings