aboutsummaryrefslogtreecommitdiff
path: root/web/src/components
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-17 00:58:02 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-17 04:27:36 +0100
commitd26852105463a51d5b71eb70fdaba787f0914030 (patch)
tree3e6be2d35c6a7916d5f6cb49806e9900c40797b8 /web/src/components
parent92034c8501aaf9426fd86cccd9a5c51bcf364afd (diff)
downloadFirmament-d26852105463a51d5b71eb70fdaba787f0914030.tar.gz
Firmament-d26852105463a51d5b71eb70fdaba787f0914030.tar.bz2
Firmament-d26852105463a51d5b71eb70fdaba787f0914030.zip
feat(web): Initial web branch
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