From ca6f0de553fce8cc93cbe737e4a3340cfd2d8fb9 Mon Sep 17 00:00:00 2001 From: Nathan Cummins Date: Wed, 17 Dec 2025 09:17:36 +1030 Subject: [PATCH] Remove recognition page, adjust section on index --- src/assets/menu-primary.ts | 1 - src/components/AwardCard.astro | 20 +++++++------- src/{pages => drafts}/recognition.astro | 0 src/pages/index.astro | 35 +++++++------------------ 4 files changed, 19 insertions(+), 37 deletions(-) rename src/{pages => drafts}/recognition.astro (100%) diff --git a/src/assets/menu-primary.ts b/src/assets/menu-primary.ts index e88de80..95edd97 100644 --- a/src/assets/menu-primary.ts +++ b/src/assets/menu-primary.ts @@ -7,7 +7,6 @@ const links: Link[] = [ { href: "/", label: "Home" }, { href: "/about/", label: "About" }, { href: "/projects/", label: "Projects" }, - { href: "/recognition/", label: "Recognition" }, { href: "/contact/", label: "Contact" } ]; diff --git a/src/components/AwardCard.astro b/src/components/AwardCard.astro index 393fbee..8ca880e 100644 --- a/src/components/AwardCard.astro +++ b/src/components/AwardCard.astro @@ -13,18 +13,16 @@ const { award } = Astro.props as Props; const { Content } = await render(award); --- -
-
-
-
{award.data.title}
-
- {award.data.giver} ({award.data.date.getFullYear()}) -
+
+
+
{award.data.title}
+
+ {award.data.giver} ({award.data.date.getFullYear()})
-
-
- -
+
+
+
+
diff --git a/src/pages/recognition.astro b/src/drafts/recognition.astro similarity index 100% rename from src/pages/recognition.astro rename to src/drafts/recognition.astro diff --git a/src/pages/index.astro b/src/pages/index.astro index aa8e479..276fd29 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -174,33 +174,18 @@ const tracks = (
Recognition -
+ I am very grateful to have been recognised and awarded for my work. +
- I am very grateful to have been recognised and awarded for my - work. - - Click here for more information - -
-
-
- { - awardsDoubled.map((award) => { - return ; - }) - } -
+ { + awardsDoubled.map((award) => { + return ; + }) + }