diff --git a/src/components/Footer.astro b/src/components/Footer.astro index f32ed4a..8c59304 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -2,6 +2,8 @@ import { site } from "../data/site"; import { socials } from "../data/socials"; const year = 2026; // build-stamped; bump via the build, not a runtime Date() +const linkedinHref = socials.find((s) => s.label === "LinkedIn")?.href; +const emailHref = socials.find((s) => s.label === "Email")?.href; --- @@ -59,6 +78,19 @@ const year = 2026; // build-stamped; bump via the build, not a runtime Date() color: var(--text-faint); margin-top: 0.25rem; } + .footer__contact { + font-size: var(--step--1); + color: var(--text-faint); + margin-top: 0.4rem; + } + .footer__contact a { + color: var(--text-dim); + text-decoration: underline; + text-underline-offset: 2px; + } + .footer__contact a:hover { + color: var(--accent); + } .footer__links { display: flex; gap: var(--space-4); @@ -74,6 +106,15 @@ const year = 2026; // build-stamped; bump via the build, not a runtime Date() font-size: 0.72rem; color: var(--text-faint); display: flex; + flex-wrap: wrap; gap: 0.5rem; } + .footer__base a { + color: var(--text-dim); + text-decoration: underline; + text-underline-offset: 2px; + } + .footer__base a:hover { + color: var(--accent); + } diff --git a/src/data/site.ts b/src/data/site.ts index 6fe4b88..b35b378 100644 --- a/src/data/site.ts +++ b/src/data/site.ts @@ -28,6 +28,12 @@ export const site = { email: "jonnywright2011@live.com.au", ogImage: "/og.png", locale: "en", + // Content license for blog posts + pages. Edit here to relicense site-wide. + license: { + name: "CC BY-NC-SA 4.0", + label: "Creative Commons Attribution-NonCommercial-ShareAlike 4.0", + url: "https://creativecommons.org/licenses/by-nc-sa/4.0/", + }, } as const; export type Site = typeof site;