-
Notifications
You must be signed in to change notification settings - Fork 31
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
Update showcase links and nav #161
Conversation
This pull request is automatically deployed with Now. Latest deployment for this branch: https://primer-style-git-homepage-layout.primer.now.sh |
Remaining TODOs after talking with @broccolini: |
Co-authored-by: Ash <[email protected]>
Okay, I think that's it for the fixes above! @ashygee do you mind looking at the deployed site once a05f7ae finishes and let me know if you see anything wonky? And @emplums, could I get your eyes on the code, too? 🙏 |
Co-authored-by: Ash <[email protected]>
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.
🚀 it!
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.
Just left a few questions and comments, but feel free to merge!
import LinkLight from './LinkLight' | ||
import IndexGrid from './IndexGrid' | ||
import {ReactComponent as HeroImage} from '../svg/Hero.svg' | ||
import {ReactComponent as HeroOverlay} from '../svg/HeroOverlay.svg' | ||
|
||
const DOT = '・' |
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.
😂
</Relative> | ||
</Flex.Item> | ||
<Flex.Item as={Box} px={5} my={[4, 3, 0]} width={[1, 1, 1, 7 / 12]}> | ||
<Heading color="blue.4" mb={2} fontSize={[48, 56, 84]} fontWeight="bold"> | ||
Primer | ||
</Heading> | ||
<Text color="blue.2" fontSize={[4, 5, 5, 7]} lineHeight={1.25}> | ||
Resources, tooling, and design guidelines for building interfaces with GitHub’s design system | ||
<Text as="div" color="blue.1" fontSize={[4, 5, 5, 6]} lineHeight={1.25} mb={3}> |
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.
Is div
used here to create a block level element? If so, could we change this to a p
for semantic's sake?
<Box {...rest}> | ||
<Details | ||
overlay | ||
render={({toggle}) => ( |
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.
Just a heads up this pattern will go away as of the 14.0.0
release
<Text as="p" textAlign="center" mb={8}> | ||
Check out our most popular tools to use in your next project: | ||
</Text> | ||
<Flex flexWrap="wrap" mr={[0, 0, -gutter]}> |
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.
I've never seen -gutter
before, how does that work?
Closes #152:
Note that I've also removed the draggable SVG elements in this PR. 😢
New issues:
Nav wraps weirdly at smaller screen widths. Should we wait on @colebemis's new nav, or revert back to the Blueprints nav for now??