From 778490bed89bea1ba171b7e606d89c740506e806 Mon Sep 17 00:00:00 2001 From: Nathan Cummins Date: Thu, 14 Aug 2025 11:11:10 +0930 Subject: [PATCH] Better slugs, improvements to projects, some fixes --- projects/awoken.mdx | 1 + projects/barbecue.mdx | 1 + projects/down-to-earth.mdx | 1 + projects/dungeons-and-dining-tables.mdx | 1 + projects/ella.mdx | 1 + projects/frontier-quest.mdx | 1 + projects/lucies-potager.mdx | 1 + projects/meowing-point.mdx | 1 + projects/music-with-motion-down-under.mdx | 1 + projects/pixelated-symphonies.mdx | 1 + projects/rocs-odyssey.mdx | 1 + projects/scooter.mdx | 1 + projects/submerged-hidden-depths.mdx | 1 + projects/the-lion-and-the-mouse.mdx | 1 + projects/tohu.mdx | 1 + src/components/MDX/CodeSnippet.astro | 63 +++---------------- src/components/MDX/H5.astro | 2 +- src/components/MDX/H6.astro | 2 +- src/components/MDX/IMG.astro | 10 +++ src/components/Navbar.astro | 31 ++++++--- src/components/ProjectCard.astro | 4 +- src/content.config.ts | 1 + src/lib/utils.ts | 27 ++++++++ .../{[slug].astro => [...slug].astro} | 11 +++- src/styles/global.css | 37 +++++++++++ 25 files changed, 134 insertions(+), 69 deletions(-) create mode 100644 src/components/MDX/IMG.astro rename src/pages/projects/{[slug].astro => [...slug].astro} (91%) diff --git a/projects/awoken.mdx b/projects/awoken.mdx index ae3865e..afc854d 100644 --- a/projects/awoken.mdx +++ b/projects/awoken.mdx @@ -3,6 +3,7 @@ title: Awoken role: Principal Orchestrator type: Feature Film date: 2019-07-01 +slug: awoken description: A young medical student attempts to cure her brother from a terminal sleep illness, called fatal familial insomnia, where you are unable to sleep until you die. On her quest to help him, a more sinister reason for his condition is revealed. images: { diff --git a/projects/barbecue.mdx b/projects/barbecue.mdx index 2b68c1f..afedca1 100644 --- a/projects/barbecue.mdx +++ b/projects/barbecue.mdx @@ -3,6 +3,7 @@ title: Barbecue role: Additional Orchestration type: Feature Film date: 2017-07-01 +slug: barbecue description: The rituals, stories and traditions surrounding the process of cooking meat over an open flame are shared by numerous cultures around the world. images: { diff --git a/projects/down-to-earth.mdx b/projects/down-to-earth.mdx index 81f130f..2891fc9 100644 --- a/projects/down-to-earth.mdx +++ b/projects/down-to-earth.mdx @@ -3,6 +3,7 @@ title: Down To Earth role: Composer type: Short Film date: 2020-07-01 +slug: down-to-earth description: Three young misfits venture into the Australian outback to find what they believe is a meteorite that has crash landed near their country town, only to discover it's something far more mysterious. images: { diff --git a/projects/dungeons-and-dining-tables.mdx b/projects/dungeons-and-dining-tables.mdx index 2a30cb5..bae657e 100644 --- a/projects/dungeons-and-dining-tables.mdx +++ b/projects/dungeons-and-dining-tables.mdx @@ -3,6 +3,7 @@ title: Dungeons and Dining Tables role: Composer and Sound Designer type: Video Game date: 2026-07-01 +slug: dungeons-and-dining-tables ongoing: true description: "Delve dungeons to collect rare furniture, take that furniture back to your home to decorate and the cosier your house is, the higher your stats! 🪑🏡⚔️ Go forth and drive the grumpiness from the land: Your perfect home is just a dungeon away! Oh, and you play as an Axolotl 🥳" frontPage: { "order": 1 } diff --git a/projects/ella.mdx b/projects/ella.mdx index e23a055..f57a93f 100644 --- a/projects/ella.mdx +++ b/projects/ella.mdx @@ -3,6 +3,7 @@ title: Ella role: Composer type: Short Film date: 2013-07-01 +slug: ella description: When Ella learns that her sister Gracie is sick, Ella must turn to the stars to help heal her sister. images: { diff --git a/projects/frontier-quest.mdx b/projects/frontier-quest.mdx index fd34ba1..abec4fb 100644 --- a/projects/frontier-quest.mdx +++ b/projects/frontier-quest.mdx @@ -3,6 +3,7 @@ title: Frontier Quest role: Composer and Sound Designer type: Video Game date: 2021-02-01 +slug: frontier-quest description: Rebuild a frontier town and become acquainted with its community in puzzle-RPG Frontier Quest! Explore the frontier, collect materials and defeat monsters with the right equipment in order to restore the town and uncover the secrets of the frontier. images: { diff --git a/projects/lucies-potager.mdx b/projects/lucies-potager.mdx index 6b8a091..cab9315 100644 --- a/projects/lucies-potager.mdx +++ b/projects/lucies-potager.mdx @@ -3,6 +3,7 @@ title: Lucie's Potager role: Composer and Sound Designer type: Video Game date: 2023-02-01 +slug: lucies-potager description: Farm and sell exotic plants with Lucie in this shopkeeping RPG! images: { diff --git a/projects/meowing-point.mdx b/projects/meowing-point.mdx index b56781a..1f1eacb 100644 --- a/projects/meowing-point.mdx +++ b/projects/meowing-point.mdx @@ -3,6 +3,7 @@ title: Meowing Point role: Additional Music type: Video Game date: 2023-10-01 +slug: meowing-point description: Point and meow. 3D hidden cat game. These creatures have been turned into stone. Find and save them all. images: { diff --git a/projects/music-with-motion-down-under.mdx b/projects/music-with-motion-down-under.mdx index bf2beaf..15ed8e5 100644 --- a/projects/music-with-motion-down-under.mdx +++ b/projects/music-with-motion-down-under.mdx @@ -3,6 +3,7 @@ title: "Music With Motion: Down Under" role: Conductor / Artistic Director type: Concert date: 2025-11-15 +slug: music-with-motion-down-under description: "Music With Motion: Down Under is a dynamic celebration of Australia's video game soundtracks—performed live by a full wind orchestra and synchronised in real time with stunning visuals on the big screen. Premiering all-new orchestrations created especially for this event by award-winning Artistic Director Dr Nathan Cummins, the performance showcases music from games developed across the country, including several from right here in South Australia. Many of these games have never had their music performed live, and you'll be among the very first to hear it." frontPage: { "order": 2 } images: diff --git a/projects/pixelated-symphonies.mdx b/projects/pixelated-symphonies.mdx index 0569272..ff79d30 100644 --- a/projects/pixelated-symphonies.mdx +++ b/projects/pixelated-symphonies.mdx @@ -3,6 +3,7 @@ title: Pixelated Symphonies role: Conductor / Artistic Director type: Concert date: 2025-03-09 +slug: pixelated-symphonies description: "Experience the magic of these legendary symphonic video game soundtracks like never before! Join [the Adelaide Wind Orchestra] for an unforgettable concert of musical enchantment as video game industry insider and composer Dr Nathan Cummins and AWO take you on a wild ride through this iconic music. From the epic adventures of Super Mario to the heartwarming melodies of The Legend of Zelda, immerse yourself and be swept away by the brilliance of Australia's leading symphonic wind orchestra." frontPage: { "order": 3 } images: diff --git a/projects/rocs-odyssey.mdx b/projects/rocs-odyssey.mdx index 35cc0b4..d183c6c 100644 --- a/projects/rocs-odyssey.mdx +++ b/projects/rocs-odyssey.mdx @@ -3,6 +3,7 @@ title: Roc's Odyssey role: Composer and Sound Designer type: Video Game date: 2025-02-21 +slug: rocs-odyssey description: Explore vast landscapes and get lost in a beautiful yet dangerous world in Roc's Odyssey. Filled with intense combat, strange allies, platforming, enemies, treasures, secrets, upgrades, friendships and lore this hand drawn action adventure will have you hooked! frontPage: { "order": 4 } images: diff --git a/projects/scooter.mdx b/projects/scooter.mdx index f1c1d9e..816b0ff 100644 --- a/projects/scooter.mdx +++ b/projects/scooter.mdx @@ -3,6 +3,7 @@ title: Scooter role: Composer type: Short Film date: 2022-02-21 +slug: scooter description: An eccentric senior citizen who would like to visit his daughter one last time sets him off on an epic 250km journey from the outback to the city on his trusty scooter. images: { diff --git a/projects/submerged-hidden-depths.mdx b/projects/submerged-hidden-depths.mdx index 18783de..762c616 100644 --- a/projects/submerged-hidden-depths.mdx +++ b/projects/submerged-hidden-depths.mdx @@ -3,6 +3,7 @@ title: "Submerged: Hidden Depths" role: Music Transcription & Preparation type: Video Game date: 2020-10-22 +slug: submerged-hidden-depths description: Boat, climb, interact and explore in the beautiful ruins of a sunken world. images: { diff --git a/projects/the-lion-and-the-mouse.mdx b/projects/the-lion-and-the-mouse.mdx index 2709b8b..ba54ca4 100644 --- a/projects/the-lion-and-the-mouse.mdx +++ b/projects/the-lion-and-the-mouse.mdx @@ -3,6 +3,7 @@ title: The Lion and the Mouse role: Composer type: Concert Music date: 2024-10-12 +slug: the-lion-and-the-mouse description: "A piece for narrator and orchestra (or wind orchestra) that aims to teach children about music and the instruments of the orchestra. Experience the beloved Aesop fable come to life, through wind instruments and storytelling designed to inspire the imagination of children and families." frontPage: { "order": 5 } images: diff --git a/projects/tohu.mdx b/projects/tohu.mdx index d1e22f7..337a464 100644 --- a/projects/tohu.mdx +++ b/projects/tohu.mdx @@ -3,6 +3,7 @@ title: TOHU role: Brass Arrangement (Junkle), Orchestration (Circus) type: Video Game date: 2021-10-22 +slug: tohu description: Experience a brand new adventure game set amongst a world of weird and wonderful fish planets. Explore beautiful environments, solve intricate puzzles and discover the truth about a mysterious little girl and her mechanical alter-ego, Cubus. images: { diff --git a/src/components/MDX/CodeSnippet.astro b/src/components/MDX/CodeSnippet.astro index 8c866bc..c221bbb 100644 --- a/src/components/MDX/CodeSnippet.astro +++ b/src/components/MDX/CodeSnippet.astro @@ -23,19 +23,23 @@ const languageIcons: Record = { const languageIcon = languageIcons[props["data-language"]]; const title = meta.title; + +const copyID = Math.random().toString(36); ---
{ title && (
-
+
{languageIcon && }

{title}

- +
@@ -44,8 +48,7 @@ const title = meta.title;
- - -