From 0a00baeefb231db6e6908d921b272acd5079c2fb Mon Sep 17 00:00:00 2001 From: IwanIDev Date: Fri, 27 Mar 2026 15:19:33 +0000 Subject: refactor: move home page header into a seperate component --- src/components/HomePageHeader.astro | 11 +++++++++++ src/pages/index.astro | 15 ++------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 src/components/HomePageHeader.astro (limited to 'src') diff --git a/src/components/HomePageHeader.astro b/src/components/HomePageHeader.astro new file mode 100644 index 0000000..b03c189 --- /dev/null +++ b/src/components/HomePageHeader.astro @@ -0,0 +1,11 @@ +--- +--- + +
+

Iwan Ingman

+

+ I'm a Computer Science student at Cardiff University, with a focus + on Software Development. +

+
+ diff --git a/src/pages/index.astro b/src/pages/index.astro index e3afff5..af26414 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,24 +2,13 @@ import Layout from "@/layouts/main.astro" import BlogPosts from "@/components/BlogPosts.astro" import OpenRing from "@/components/OpenRing.astro" +import HomePageHeader from "@/components/HomePageHeader.astro" ---
- -
-

Iwan Ingman

-

- I'm a Computer Science student at Cardiff University, with a focus - on Software Development. -

-
- - - + - -
-- cgit