From a1b2a399efd9ff1c8b3b0dfd71b59c7de28728ea Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 17 Nov 2024 03:02:24 +0100 Subject: feat(web): Add hero image and navbar --- web/src/layouts/Base.astro | 13 +++++++++++++ web/src/layouts/Head.astro | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 web/src/layouts/Base.astro create mode 100644 web/src/layouts/Head.astro (limited to 'web/src/layouts') diff --git a/web/src/layouts/Base.astro b/web/src/layouts/Base.astro new file mode 100644 index 0000000..da71f41 --- /dev/null +++ b/web/src/layouts/Base.astro @@ -0,0 +1,13 @@ +--- +import Head, {type Props as HeadProps} from "./Head.astro"; +type Props = { +} & HeadProps; +--- + + + + + +
+ + diff --git a/web/src/layouts/Head.astro b/web/src/layouts/Head.astro new file mode 100644 index 0000000..2732105 --- /dev/null +++ b/web/src/layouts/Head.astro @@ -0,0 +1,12 @@ +--- +export type Props = { + title: string +} +--- + + + + + + {Astro.props.title} + -- cgit