aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/with-gatsby/apps/web/src/pages/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-gatsby/apps/web/src/pages/index.tsx')
-rw-r--r--examples/with-gatsby/apps/web/src/pages/index.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/with-gatsby/apps/web/src/pages/index.tsx b/examples/with-gatsby/apps/web/src/pages/index.tsx
new file mode 100644
index 0000000..30844d6
--- /dev/null
+++ b/examples/with-gatsby/apps/web/src/pages/index.tsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+import type { HeadFC, PageProps } from "gatsby";
+import { Button } from "ui";
+
+const IndexPage: React.FC<PageProps> = () => {
+ return (
+ <main>
+ <h1>Web</h1>
+ <Button />
+ </main>
+ );
+};
+
+export default IndexPage;
+
+export const Head: HeadFC = () => <title>Home Page</title>;