diff --git a/public/opendream/sitcontix-placeholder.svg b/public/opendream/sitcontix-placeholder.svg deleted file mode 100644 index eab03cf..0000000 --- a/public/opendream/sitcontix-placeholder.svg +++ /dev/null @@ -1,15 +0,0 @@ - diff --git a/src/components/Button.astro b/src/components/Button.astro index cb2744b..3524b0f 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -78,6 +78,14 @@ const buttonStyle = [ color: var(--site-button-color, var(--black, #1d1d1f)); } + .site-button--outlined.interested { + --site-button-background: #74bf50; + --site-button-color: var(--black, #1d1d1f); + --site-button-border-color: #74bf50; + --site-button-hover-background: #404044; + --site-button-hover-color: var(--white, #fff); + } + .site-button--compact { --site-button-height: 2.25rem; --site-button-icon-size: 1rem; diff --git a/src/components/Popup.astro b/src/components/Popup.astro index 166a017..0f55d35 100644 --- a/src/components/Popup.astro +++ b/src/components/Popup.astro @@ -181,27 +181,7 @@ const { title, background, btnText, hero = true, id = Math.random().toString(36) z-index: 1; text-align: left; } - .variant-opendream .popup-hero { - min-height: 24rem; - height: auto; - padding: 3.5rem 4rem; - display: flex; - flex-direction: column; - justify-content: center; - } - .variant-opendream .popup-hero h2 { - font-size: clamp(1.15rem, 2vw, 1.6rem); - margin-bottom: 1.25rem; - } - .variant-opendream .popup-hero::after { - background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.34)); - } - @media screen and (max-width: 45rem) { - .variant-opendream .popup-hero { - min-height: 30rem; - padding: 4rem 1.5rem 2rem; - } .popup-hero { height: 20rem; padding: 5rem 2rem 2rem; diff --git a/src/components/section/OpenDream.astro b/src/components/section/OpenDream.astro index d7c5d2a..6ee6f8d 100644 --- a/src/components/section/OpenDream.astro +++ b/src/components/section/OpenDream.astro @@ -2,8 +2,9 @@ import Cycle from "./Cycle.astro"; const { t, lang } = Astro.props; import Popup from "@components/Popup.astro"; -import { Check } from "@lucide/astro"; +import { Check, Ticket, Globe, Newspaper, Megaphone, FileChartColumn } from "@lucide/astro"; import Button from "../Button.astro"; +import ItemPrice from "../items/ItemPrice.astro"; import volunteer from "@assets/img/opendream-2026.webp"; interface OpenDreamPlan { @@ -12,21 +13,12 @@ interface OpenDreamPlan { price: string; } -interface PopupPlan { - id: string; - count: string; - description: string; -} +const benefitIcons = { ticket: Ticket, web: Globe, news: Newspaper, social: Megaphone, report: FileChartColumn }; interface PopupBenefit { - icon: string; + icon: keyof typeof benefitIcons; title: string; description: string; - image?: { - src: string; - alt: string; - caption: string; - }; } const colors = ["#47762e", "#426bd1"]; @@ -44,8 +36,18 @@ const cycleText = (await import(`../../i18n/${lang}.json`)).default.cycle;