summaryrefslogtreecommitdiff
path: root/@linaria/website/src/components/App.js
blob: 4a1d817ca06328afbabacc821c42f5b9ed8f3ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* @flow */

import { styled } from '@linaria/react';
import React from 'react';
import Header from './Header';
import Hero from './Hero';

export default function Index() {
  return (
    <Page>
      <Header />
      <Hero />
    </Page>
  );
}

const Page = styled.div`
  background: linear-gradient(to bottom right, #b24592, #f15f79);
  color: #fff;
  min-height: 100vh;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.08);
`;