diff options
| author | IwanIDev <iwan@iwani.dev> | 2026-03-27 15:19:33 +0000 |
|---|---|---|
| committer | IwanIDev <iwan@iwani.dev> | 2026-03-27 15:19:33 +0000 |
| commit | 0a00baeefb231db6e6908d921b272acd5079c2fb (patch) | |
| tree | fbe7964b5150082f46410b0100892db45b09715f /src/pages/index.astro | |
| parent | 8b74051bf58f48cbdd1c80e9b130e51b0702a725 (diff) | |
refactor: move home page header into a seperate component
Diffstat (limited to 'src/pages/index.astro')
| -rw-r--r-- | src/pages/index.astro | 15 |
1 files changed, 2 insertions, 13 deletions
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" --- <Layout title="Iwan Ingman's Blog"> <main class="mx-auto flex w-full max-w-3xl flex-col gap-8 p-4 md:p-6"> - <!-- Title --> - <div class="flex flex-col items-center px-4"> - <h1 class="text-4xl font-bold text-center mt-10">Iwan Ingman</h1> - <p class="text-lg text-center text-muted-foreground mt-4"> - I'm a Computer Science student at Cardiff University, with a focus - on Software Development. - </p> - </div> - - <!-- Content --> - <!-- List Astro posts --> + <HomePageHeader /> <BlogPosts /> - - <!-- Render openring output --> <OpenRing /> </main> </Layout> |
