aboutsummaryrefslogtreecommitdiff
path: root/web/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/components')
-rw-r--r--web/src/components/Base.astro12
-rw-r--r--web/src/components/Head.astro12
-rw-r--r--web/src/components/Hero.astro0
3 files changed, 24 insertions, 0 deletions
diff --git a/web/src/components/Base.astro b/web/src/components/Base.astro
new file mode 100644
index 0000000..73ce48c
--- /dev/null
+++ b/web/src/components/Base.astro
@@ -0,0 +1,12 @@
+---
+import Head, {type Props as HeadProps} from "./Head.astro";
+
+type Props = {} & HeadProps;
+---
+
+<html>
+<Head {...Astro.props}></Head>
+<body>
+
+</body>
+</html>
diff --git a/web/src/components/Head.astro b/web/src/components/Head.astro
new file mode 100644
index 0000000..2732105
--- /dev/null
+++ b/web/src/components/Head.astro
@@ -0,0 +1,12 @@
+---
+export type Props = {
+ title: string
+}
+---
+<head lang="en">
+ <meta charset="utf-8"/>
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
+ <meta name="viewport" content="width=device-width"/>
+ <meta name="generator" content={Astro.generator}/>
+ <title>{Astro.props.title}</title>
+</head>
diff --git a/web/src/components/Hero.astro b/web/src/components/Hero.astro
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/web/src/components/Hero.astro