From e71acd2ce1dc0850226bf0929f6a1c76bcbedfef Mon Sep 17 00:00:00 2001
From: June
Date: Wed, 14 Jan 2026 11:03:44 +1300
Subject: [PATCH] start frontend, adding layouts for things
---
src/component/core/head.astro | 15 +++++++++++++++
src/component/core/layout.astro | 18 ++++++++++++++++++
src/pages/index.astro | 16 ++++------------
3 files changed, 37 insertions(+), 12 deletions(-)
create mode 100644 src/component/core/head.astro
create mode 100644 src/component/core/layout.astro
diff --git a/src/component/core/head.astro b/src/component/core/head.astro
new file mode 100644
index 0000000..9ee8080
--- /dev/null
+++ b/src/component/core/head.astro
@@ -0,0 +1,15 @@
+---
+
+const {
+ title
+} = Astro.props
+
+---
+
+
+
+
+
+
+ {title}
+
diff --git a/src/component/core/layout.astro b/src/component/core/layout.astro
new file mode 100644
index 0000000..3b4bab9
--- /dev/null
+++ b/src/component/core/layout.astro
@@ -0,0 +1,18 @@
+---
+import Head from "./head.astro";
+
+const {
+ title = "Memento"
+} = Astro.props
+
+---
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 7072961..0ba52dc 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -1,5 +1,6 @@
---
import "../styles/global.css"
+import Layout from "../component/core/layout.astro"
---
-
-
-
-
-
-
- Astro
-
-
- Astro
+
+ Astro
Hello World!
Some initial bold text
@@ -69,5 +62,4 @@ import "../styles/global.css"
-
-
+
\ No newline at end of file