diff --git a/astro.config.mjs b/astro.config.mjs index d2da723..e9d149b 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -24,7 +24,7 @@ export default defineConfig({ icon({ iconDir: "src/assets/icons", include: { - lucide: ["info", "sun-medium", "moon", "search", "rss"], + lucide: ["info", "hammer", "sun-medium", "moon", "search", "rss"], }, svgoOptions: { plugins: [ diff --git a/cypress/e2e/footer.cy.js b/cypress/e2e/footer.cy.js index 56846cf..0a587d7 100644 --- a/cypress/e2e/footer.cy.js +++ b/cypress/e2e/footer.cy.js @@ -24,7 +24,7 @@ describe("Footer", () => { }); it("last updated date displays", () => { - cy.getByData("updated").should("contain.text", "🛠️ Updated"); + cy.getByData("updated").should("contain.text", "Updated"); }); it("theme toggles", () => { diff --git a/public/voice/about.mp3 b/public/voice/about.mp3 index 21d8e43..f68f673 100644 Binary files a/public/voice/about.mp3 and b/public/voice/about.mp3 differ diff --git a/public/voice/colophon.mp3 b/public/voice/colophon.mp3 new file mode 100644 index 0000000..a516202 Binary files /dev/null and b/public/voice/colophon.mp3 differ diff --git a/public/voice/index.mp3 b/public/voice/index.mp3 index 7fe9420..2b21301 100644 Binary files a/public/voice/index.mp3 and b/public/voice/index.mp3 differ diff --git a/public/voice/services.mp3 b/public/voice/services.mp3 index 7b921d1..e72f079 100644 Binary files a/public/voice/services.mp3 and b/public/voice/services.mp3 differ diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 5cfd694..18ba7d7 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -13,7 +13,7 @@ import Updated from "./Updated.astro"; Colophon page

@@ -21,7 +21,10 @@ import Updated from "./Updated.astro";
My email - + My LinkedIn - + My X or Twitter - + My GitHub - + My RSS feed - +
diff --git a/src/components/PlayVoice.astro b/src/components/PlayVoice.astro index bdbb4eb..68122ca 100644 --- a/src/components/PlayVoice.astro +++ b/src/components/PlayVoice.astro @@ -51,7 +51,7 @@ const { id } = Astro.props; const id = this.dataset.id; - audio.src = `/voice/${id === "/" ? "index" : id?.slice(1)}.mp3`; + audio.src = `/voice/${id}.mp3`; const button = document.querySelector("button#play-voice"); diff --git a/src/components/Updated.astro b/src/components/Updated.astro index d164a73..0f914b6 100644 --- a/src/components/Updated.astro +++ b/src/components/Updated.astro @@ -1,24 +1,13 @@ --- +import { Icon } from "astro-icon/components"; + const lastUpdated = new Date(); --- 🛠️ + > +