From 6132ebae45b018623fa3df9605ad41093c9aa981 Mon Sep 17 00:00:00 2001 From: Nathan Cummins Date: Thu, 22 Jan 2026 10:36:19 +1030 Subject: [PATCH] Add sheet music page, some slight changes --- src/assets/menu-primary.ts | 1 + src/components/MDX/H1.astro | 6 ++- src/components/MDX/H2.astro | 6 ++- src/components/MDX/LI.astro | 7 +++- src/pages/about.astro | 25 +++++------ src/pages/sheet-music.astro | 82 +++++++++++++++++++++++++++++++++++++ 6 files changed, 111 insertions(+), 16 deletions(-) create mode 100644 src/pages/sheet-music.astro diff --git a/src/assets/menu-primary.ts b/src/assets/menu-primary.ts index 95edd97..ddda82b 100644 --- a/src/assets/menu-primary.ts +++ b/src/assets/menu-primary.ts @@ -7,6 +7,7 @@ const links: Link[] = [ { href: "/", label: "Home" }, { href: "/about/", label: "About" }, { href: "/projects/", label: "Projects" }, + { href: "/sheet-music/", label: "Sheet Music" }, { href: "/contact/", label: "Contact" } ]; diff --git a/src/components/MDX/H1.astro b/src/components/MDX/H1.astro index 920e14a..c6f3632 100644 --- a/src/components/MDX/H1.astro +++ b/src/components/MDX/H1.astro @@ -1 +1,5 @@ -

+--- +const { class: className, ...attrs } = Astro.props; +--- + +

diff --git a/src/components/MDX/H2.astro b/src/components/MDX/H2.astro index 4f74d0f..edf8cc5 100644 --- a/src/components/MDX/H2.astro +++ b/src/components/MDX/H2.astro @@ -1 +1,5 @@ -

+--- +const { class: className, ...attrs } = Astro.props; +--- + +

diff --git a/src/components/MDX/LI.astro b/src/components/MDX/LI.astro index e5f7bd7..1c6856b 100644 --- a/src/components/MDX/LI.astro +++ b/src/components/MDX/LI.astro @@ -1,2 +1,5 @@ - +
  • + +
  • diff --git a/src/pages/about.astro b/src/pages/about.astro index cbc5e80..4c8e138 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -3,6 +3,7 @@ import aboutImage from "@assets/img/about.jpg"; import conductingImage from "@assets/img/about/nathan-cummins-composer-orchestrator-conductor-conducting-1.jpg"; import generalImage from "@assets/img/about/nathan-cummins-composer-orchestrator-conductor-general-1.png"; import H2 from "@components/MDX/H2.astro"; +import LI from "@components/MDX/LI.astro"; import Paragraph from "@components/Paragraph.astro"; import SectionTitle from "@components/SectionTitle.astro"; import TextLink from "@components/TextLink.astro"; @@ -64,8 +65,8 @@ import { Image } from "astro:assets"; video games is recognised for its distinctive voice and adaptability. Recent projects include: -