From fc7cd5a60ae4d9fb2684a8ce909dd65d7da278f2 Mon Sep 17 00:00:00 2001 From: June Date: Wed, 14 Jan 2026 23:04:02 +1300 Subject: [PATCH] add a header and some styling --- src/component/core/layout.astro | 3 +++ src/component/core/navbar.astro | 3 +++ src/pages/index.astro | 1 - src/styles/global.css | 3 ++- 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 src/component/core/navbar.astro diff --git a/src/component/core/layout.astro b/src/component/core/layout.astro index 3b4bab9..cecbe4f 100644 --- a/src/component/core/layout.astro +++ b/src/component/core/layout.astro @@ -1,5 +1,6 @@ --- import Head from "./head.astro"; +import Navbar from "./navbar.astro" const { title = "Memento" @@ -13,6 +14,8 @@ const { /> + + \ No newline at end of file diff --git a/src/component/core/navbar.astro b/src/component/core/navbar.astro new file mode 100644 index 0000000..fbb5666 --- /dev/null +++ b/src/component/core/navbar.astro @@ -0,0 +1,3 @@ +
+

Memento

+
\ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 0ba52dc..8f09a6a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -45,7 +45,6 @@ import Layout from "../component/core/layout.astro" -

Astro

Hello World!

Some initial bold text

diff --git a/src/styles/global.css b/src/styles/global.css index 738fd9e..76f8256 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -4,7 +4,8 @@ @import 'quill/dist/quill.snow.css'; html { - @apply p-6; + @apply p-3; + @apply bg-black/90 text-white } button {