diff --git a/content/index.mdx b/content/index.mdx index 7344b3b90..6ea3d9cd2 100644 --- a/content/index.mdx +++ b/content/index.mdx @@ -2,48 +2,92 @@ title: Primer Design System --- +import {HeroLayout} from '@primer/gatsby-theme-doctocat' +export default HeroLayout import {Text, Link, Box, Heading} from '@primer/react' import {Link as GatsbyLink} from 'gatsby' - - - Primer is a set of guidelines, principles, and patterns for designing and building UI at GitHub. It provides a shared language and standardized approach to delivering cohesive experiences. - - - -
- - Guides - Standards, guidelines, and tools to getting started with Primer. + + + Guides + + + + Standards, guidelines, and tools to getting started with Primer. + - Foundations - The fundamental parts of the design system that underpin all GitHub interfaces, such as color and typography. + + + Foundations + + + + The fundamental parts of the design system that underpin all GitHub interfaces, such as color and typography. + - UI patterns - Design guidelines covering common user workflows. + + + UI patterns + + + + Design guidelines covering common user workflows. + - Components - Design and usage guidelines for individual Primer components. + + + Components + + + + Design and usage guidelines for individual Primer components. + - GitHub staff - Internal documentation for GitHub staff. + + + GitHub staff + + + + Internal documentation for GitHub staff. + - Native - Principles, foundations and usage guidelines for designing for GitHub's native products. + + + Native + + + + Principles, foundations and usage guidelines for designing for GitHub's native products. + -
+
{' '} - Open source - Primer is open-sourced on GitHub. Contributions and feedback are welcome! - Need help? If you found a bug on this website, please open a new issue with as much detail as possible. - \ No newline at end of file + + Open source + + + Primer is open-sourced on GitHub. + + {' '} + Contributions and feedback + are welcome! + + + Need help? If you found a bug on this website, please{' '} + + open a new issue + {' '} + with as much detail as possible. + + diff --git a/src/@primer/gatsby-theme-doctocat/components/hero.js b/src/@primer/gatsby-theme-doctocat/components/hero.js index b587b1aa5..3ad7bd5a1 100644 --- a/src/@primer/gatsby-theme-doctocat/components/hero.js +++ b/src/@primer/gatsby-theme-doctocat/components/hero.js @@ -1,17 +1,38 @@ -import {Box, Heading, ThemeProvider} from '@primer/react' +import {Text, Box, Heading, ThemeProvider} from '@primer/react' import React from 'react' import {Container} from '@primer/gatsby-theme-doctocat' -import heroIllustration from '../../../hero-illustration.svg' export default function Hero() { return ( - + - - Primer Design System - - Primer Design System + +
+ Primer Design System + + Primer is a set of guidelines, principles, and patterns for designing and building UI at GitHub. It + provides a shared language and standardized approach to delivering cohesive experiences. + +
+ Mona illustration +