diff --git a/.astro/settings.json b/.astro/settings.json deleted file mode 100644 index 9701803..0000000 --- a/.astro/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "_variables": { - "lastUpdateCheck": 1732906326898 - } -} diff --git a/src/components/AdNewsletterRich.astro b/src/components/AdNewsletterRich.astro index 7152c68..58a41d5 100644 --- a/src/components/AdNewsletterRich.astro +++ b/src/components/AdNewsletterRich.astro @@ -17,7 +17,7 @@ import Heading from "./Heading.astro"; Email Address - + - + diff --git a/src/components/AdRegistration.astro b/src/components/AdRegistration.astro index 49dc7e3..50a766b 100644 --- a/src/components/AdRegistration.astro +++ b/src/components/AdRegistration.astro @@ -1,4 +1,5 @@ --- +import { links } from "~/data/links"; import Button from "./Button.astro"; import ContentArea from "./ContentArea.astro"; import Heading from "./Heading.astro"; @@ -6,5 +7,7 @@ import Heading from "./Heading.astro"; Registration is open! - + diff --git a/src/components/AdTicketsThin.astro b/src/components/AdTicketsThin.astro index 2ea2a1b..e7899f2 100644 --- a/src/components/AdTicketsThin.astro +++ b/src/components/AdTicketsThin.astro @@ -3,6 +3,7 @@ import tripleSquiggly from "~/assets/design/triple-squiggly.svg"; import Button from "./Button.astro"; import ContentArea from "./ContentArea.astro"; +import { links } from "~/data/links"; ---
@@ -12,8 +13,12 @@ import ContentArea from "./ContentArea.astro"; > - Get extra early bird tickets now!
diff --git a/src/components/Button.astro b/src/components/Button.astro index 8a3585b..4ac54fa 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -1,14 +1,23 @@ --- -interface Props { +import { HTMLTag, Polymorphic } from "astro/types"; + +type Props = Polymorphic<{ + as: Tag; class?: string; size?: "normal" | "large"; variant: "accent" | "light"; -} +}>; -const { class: className, size = "normal", variant, ...rest } = Astro.props; +const { + as: As, + class: className, + size = "normal", + variant, + ...rest +} = Astro.props; --- - + diff --git a/src/pages/code-of-conduct.astro b/src/pages/code-of-conduct.astro index 1d4bdc9..0cb0f42 100644 --- a/src/pages/code-of-conduct.astro +++ b/src/pages/code-of-conduct.astro @@ -55,8 +55,8 @@ import PageLayout from "~/layouts/PageLayout.astro"; This Code of Conduct adapted from plone.org/foundation/materials/foundation-resolutions/code-of-conduct.