summaryrefslogtreecommitdiff
path: root/@linaria/website/src/components/App.js
diff options
context:
space:
mode:
Diffstat (limited to '@linaria/website/src/components/App.js')
-rw-r--r--@linaria/website/src/components/App.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/@linaria/website/src/components/App.js b/@linaria/website/src/components/App.js
new file mode 100644
index 0000000..4a1d817
--- /dev/null
+++ b/@linaria/website/src/components/App.js
@@ -0,0 +1,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);
+`;