From d26852105463a51d5b71eb70fdaba787f0914030 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 17 Nov 2024 00:58:02 +0100 Subject: feat(web): Initial web branch --- web/src/components/Base.astro | 12 ++++++++++++ web/src/components/Head.astro | 12 ++++++++++++ web/src/components/Hero.astro | 0 3 files changed, 24 insertions(+) create mode 100644 web/src/components/Base.astro create mode 100644 web/src/components/Head.astro create mode 100644 web/src/components/Hero.astro (limited to 'web/src/components') 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; +--- + + + + + + + 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 +} +--- + + + + + + {Astro.props.title} + diff --git a/web/src/components/Hero.astro b/web/src/components/Hero.astro new file mode 100644 index 0000000..e69de29 -- cgit