diff --git a/src/assets/sponsors/bloomberg-black.svg b/src/assets/sponsors/bloomberg-black.svg new file mode 100644 index 0000000..ece717b --- /dev/null +++ b/src/assets/sponsors/bloomberg-black.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + diff --git a/src/assets/sponsors/bloomberg-white.svg b/src/assets/sponsors/bloomberg-white.svg new file mode 100644 index 0000000..2126e1e --- /dev/null +++ b/src/assets/sponsors/bloomberg-white.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + diff --git a/src/components/Sponsors.astro b/src/components/Sponsors.astro index 1d8430a..536ebe6 100644 --- a/src/components/Sponsors.astro +++ b/src/components/Sponsors.astro @@ -1,7 +1,7 @@ --- import { Image } from "astro:assets"; -import { sponsors } from "~/data/index"; +import { sponsorsBySlug } from "~/data/index"; import BodyText from "./BodyText.astro"; import FullSection from "./FullSection.astro"; @@ -10,14 +10,14 @@ import HeadingFlanked from "./HeadingFlanked.astro"; Sponsors - + The support of our generous sponsors help make SquiggleConf possible. They have our sincere appreciation and thanks.
{ - sponsors.map((sponsor) => ( + Object.values(sponsorsBySlug).map((sponsor) => ( - - diff --git a/src/pages/ad/speaker/[slug].astro b/src/pages/ad/speaker/[slug].astro index 51a8697..0cab534 100644 --- a/src/pages/ad/speaker/[slug].astro +++ b/src/pages/ad/speaker/[slug].astro @@ -35,10 +35,10 @@ const talks = Object.values(talksBySlug).filter((talk) => {talks.map((talk) =>

{talk.title}

)}
- +
- +
diff --git a/src/pages/ad/inngest.astro b/src/pages/ad/sponsor/[slug].astro similarity index 69% rename from src/pages/ad/inngest.astro rename to src/pages/ad/sponsor/[slug].astro index 6a8cd60..779fc0b 100644 --- a/src/pages/ad/inngest.astro +++ b/src/pages/ad/sponsor/[slug].astro @@ -2,15 +2,23 @@ import "@fontsource-variable/josefin-sans"; import "@fontsource/urbanist"; -import inngest from "~/assets/sponsors/inngest.svg"; +import "~/layouts/base.css"; +import "~/layouts/normalize.css"; + import AdContents from "~/components/AdContents.astro"; import AdImage from "~/components/AdImage.astro"; import AdTitleAndSubtitle from "~/components/AdTitleAndSubtitle.astro"; import DeepBlueSea from "~/components/DeepBlueSea.astro"; import Head from "~/components/Head.astro"; +import { sponsorsBySlug } from "~/data"; -import "~/layouts/base.css"; -import "~/layouts/normalize.css"; +export function getStaticPaths() { + return Object.keys(sponsorsBySlug).map((slug) => ({ + params: { slug: slug as keyof typeof sponsorsBySlug }, + })); +} + +const sponsor = sponsorsBySlug[Astro.params.slug]; --- @@ -21,10 +29,10 @@ import "~/layouts/normalize.css"; - +