diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 0ad6d42..ca6d92b 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,3 +1,11 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +--- + @@ -22,7 +30,7 @@ /> - artie + {title} diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..c105ca4 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,14 @@ +--- +import Heart from "../components/Heart.astro"; +import Prompt from "../components/Prompt.astro"; +import Layout from "../layouts/Layout.astro"; +--- + + + +

+ 404 +

+ Home + +
diff --git a/src/pages/index.astro b/src/pages/index.astro index 2f5ea80..42731db 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -6,7 +6,7 @@ import Icons from "../components/Icons.astro"; import Heart from "../components/Heart.astro"; --- - +