|  | 
|  | 1 | +import { Flex, H1, H2, Link, Text } from '@bigcommerce/big-design'; | 
|  | 2 | +import React from 'react'; | 
|  | 3 | + | 
|  | 4 | +import { Code, CodeSnippet, List } from '../../components'; | 
|  | 5 | + | 
|  | 6 | +export default () => ( | 
|  | 7 | +  <Flex flexDirection="column"> | 
|  | 8 | +    <figure style={{ textAlign: 'center' }}> | 
|  | 9 | +      <img src="/static/logo.svg" alt="BigDesign Logo" style={{ width: 200 }} /> | 
|  | 10 | +    </figure> | 
|  | 11 | + | 
|  | 12 | +    <Flex.Item alignSelf="center"> | 
|  | 13 | +      <H1>BigDesign Component Playground</H1> | 
|  | 14 | +    </Flex.Item> | 
|  | 15 | + | 
|  | 16 | +    <Text> | 
|  | 17 | +      Our design language system and React component library was built to enable designers and developers to build | 
|  | 18 | +      experiences that seamlessly integrate with the BigCommerce product ecosystem. | 
|  | 19 | +    </Text> | 
|  | 20 | + | 
|  | 21 | +    <H2>Getting Started</H2> | 
|  | 22 | + | 
|  | 23 | +    <Text>Add BigDesign and styled-components to your project:</Text> | 
|  | 24 | +    <CodeSnippet showControls={false} language="bash"> | 
|  | 25 | +      npm install @bigcommerce/big-design styled-components | 
|  | 26 | +    </CodeSnippet> | 
|  | 27 | + | 
|  | 28 | +    <Text> | 
|  | 29 | +      Import the <Code>GlobalStyles</Code> component and use it once in your app. This will set a few styles globally, | 
|  | 30 | +      including a base font family,{' '} | 
|  | 31 | +      <Link href="https://fonts.google.com/specimen/Source+Sans+Pro" target="_blank"> | 
|  | 32 | +        Source Sans Pro | 
|  | 33 | +      </Link>{' '} | 
|  | 34 | +      and{' '} | 
|  | 35 | +      <Link href="https://github.com/necolas/normalize.css/" target="_blank"> | 
|  | 36 | +        normalize.css | 
|  | 37 | +      </Link> | 
|  | 38 | +      . We recommend placing it close to your root component. Then import any component, such as <Code>Button</Code>, to | 
|  | 39 | +      use it anywhere in your app. | 
|  | 40 | +    </Text> | 
|  | 41 | + | 
|  | 42 | +    <CodeSnippet> | 
|  | 43 | +      {` | 
|  | 44 | +        import { Button, GlobalStyles } from '@bigcommerce/big-design'; | 
|  | 45 | +
 | 
|  | 46 | +        // ... | 
|  | 47 | +
 | 
|  | 48 | +        <App> | 
|  | 49 | +          <GlobalStyles /> | 
|  | 50 | +          <Button>Click me</Button> | 
|  | 51 | +        </App> | 
|  | 52 | +      `} | 
|  | 53 | +    </CodeSnippet> | 
|  | 54 | + | 
|  | 55 | +    <H2 marginBottom="none">Helpful Resources</H2> | 
|  | 56 | +    <List> | 
|  | 57 | +      <List.Item> | 
|  | 58 | +        <Link href="https://bigcommerce.design/components" target="_blank"> | 
|  | 59 | +          Design Guidelines | 
|  | 60 | +        </Link> | 
|  | 61 | +      </List.Item> | 
|  | 62 | +      <List.Item> | 
|  | 63 | +        <Link href="https://github.com/bigcommerce/big-design" target="_blank"> | 
|  | 64 | +          Components GitHub Repo | 
|  | 65 | +        </Link> | 
|  | 66 | +      </List.Item> | 
|  | 67 | +      <List.Item> | 
|  | 68 | +        <Link href="https://github.com/bigcommerce-labs/sample-plab-app" target="_blank"> | 
|  | 69 | +          Sample App | 
|  | 70 | +        </Link> | 
|  | 71 | +      </List.Item> | 
|  | 72 | +      <List.Item> | 
|  | 73 | +        <Link href="#">BigDesign Dev Blog Demo</Link> | 
|  | 74 | +      </List.Item> | 
|  | 75 | +      <List.Item> | 
|  | 76 | +        <Link href="https://support.bigcommerce.com/s/group/0F91B000000bnqoSAA/bigdesign-beta" target="_blank"> | 
|  | 77 | +          Community Beta Group | 
|  | 78 | +        </Link> | 
|  | 79 | +      </List.Item> | 
|  | 80 | +      <List.Item> | 
|  | 81 | +        <Link href="https://developer.bigcommerce.com" target="_blank"> | 
|  | 82 | +          Dev Center | 
|  | 83 | +        </Link> | 
|  | 84 | +      </List.Item> | 
|  | 85 | +    </List> | 
|  | 86 | +  </Flex> | 
|  | 87 | +); | 
0 commit comments