8 | Hi people
9 | Welcome to your new Gatsby + Tailwind CSS + Styled Components site
10 | Now go build something great.
11 | Go to page 2
12 |
13 | )
14 |
15 | export default IndexPage
16 |
--------------------------------------------------------------------------------
/src/components/header.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import { Link } from 'gatsby'
3 | import styled from 'styled-components';
4 |
5 | const Container = styled.div`
6 | ${tw`bg-grey-lightest px-32 py-8`};
7 | `
8 | const Title = styled.h1`
9 | ${tw`text-grey-darkest m-0`};
10 | `
11 | const StyledLink = styled(Link)`
12 | ${tw`no-underline text-inherit`};
13 | `
14 |
15 | const Header = ({ siteTitle }) => (
16 |