diff --git a/public/sponsors/voyageage.png b/public/sponsors/voyageage.png new file mode 100644 index 0000000..375e553 Binary files /dev/null and b/public/sponsors/voyageage.png differ diff --git a/src/components/SiteFooter.astro b/src/components/SiteFooter.astro index 691990d..989dfd1 100644 --- a/src/components/SiteFooter.astro +++ b/src/components/SiteFooter.astro @@ -1,5 +1,6 @@ --- -import { getLang, t, localePath, sponsorHref } from "~/i18n"; +import { getLang, t, localePath } from "~/i18n"; +import { sponsors } from "~/i18n/pages/sponsors"; import TwMark from "./TwMark.astro"; import Bi from "./Bi.astro"; @@ -29,7 +30,9 @@ const link = (path: string) => ({ href: localePath(lang, path), "data-localize":

- + {sponsors.map((s) => ( + {s.name} · + ))}

diff --git a/src/components/pages/LitePage.astro b/src/components/pages/LitePage.astro index f2b46d6..4ba847f 100644 --- a/src/components/pages/LitePage.astro +++ b/src/components/pages/LitePage.astro @@ -13,7 +13,8 @@ import TwMark from "~/components/TwMark.astro"; import Base from "~/layouts/Base.astro"; import SiteHeader from "~/components/SiteHeader.astro"; import SiteFooter from "~/components/SiteFooter.astro"; -import { getLang, localePath, sponsorHref, t } from "~/i18n"; +import { getLang, localePath, t } from "~/i18n"; +import { sponsors } from "~/i18n/pages/sponsors"; import { liteCopy } from "~/i18n/pages/lite"; import { formatSize, getLatestLiteRelease } from "~/lib/github"; import { liteLd } from "~/lib/structured-data"; @@ -158,7 +159,15 @@ const archLabel = { x64: "x64", arm64: "ARM64" } as const; {c.hero.ctaSecondary} - +