Skip to content

Commit 8a70f1f

Browse files
committed
feat: remove 2025 princing
1 parent b1af1c0 commit 8a70f1f

1 file changed

Lines changed: 23 additions & 67 deletions

File tree

pwa/app/(con)/[locale]/con/2025/components/HomePage.tsx

Lines changed: 23 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -87,55 +87,6 @@ const HomePage = ({ speakers, partners, images }: HomePageProps) => {
8787
) : null}
8888
</div>
8989
</Section>
90-
{currentEdition === "2025" && (
91-
<Section
92-
className="relative py-10 before:bg-grey before:h-[calc(100%-500px)] before:absolute before:left-0 before:bottom-0 before:w-full after:bg-wave2 after:w-[1300px] after:h-[800px] after:absolute after:top-24 after:left-1/2 after:bg-top after:bg-contain after:opacity-50 after:bg-no-repeat after:-translate-x-1/2 after:rotate-6"
93-
section="pricing"
94-
>
95-
<div className="container relative z-10">
96-
<SectionTitle dark>
97-
<Translate translationKey="pricing.title" />
98-
</SectionTitle>
99-
<div className="max-w-4xl mx-auto flex flex-row flex-wrap justify-center">
100-
{prices.map((price) => (
101-
<PricingCard key={price.id} price={price} />
102-
))}
103-
<div className="w-full self-center max-w-md mt-10 | lg:pl-10 lg:mt-0 lg:w-1/3">
104-
<div className="p-5 dotted-corner flex flex-col items-center text-center bg-blue bg-blue-gradient shadow-md border-blue-dark border-4">
105-
<span className="font-bold text-white leading-tight font-title uppercase lined-center lined-white relative">
106-
{t("pricing.student")}
107-
</span>
108-
<div className="mt-2 text-blue-black/80 font-semibold">
109-
<Translate translationKey="pricing.free_ticket" />
110-
</div>
111-
<Button
112-
size="small"
113-
square
114-
className="white mt-2 mb-5"
115-
to="mailto:events@les-tilleuls.coop"
116-
>
117-
{t("contact_us")}
118-
</Button>
119-
<small className="text-xs text-blue-black/50 font-bold">
120-
*{t("pricing.certificate_needed")}
121-
</small>
122-
</div>
123-
</div>
124-
</div>
125-
</div>
126-
</Section>
127-
)}
128-
<Venue
129-
subtitle={t("2025.venue.subtitle")}
130-
tip_title={t("2025.venue.tip_title")}
131-
tip={t("2025.venue.tip", {
132-
tip_link: (
133-
<a className="link" href="https://www.hotelsdelille.com/">
134-
{t("2025.venue.tip_link")}
135-
</a>
136-
),
137-
})}
138-
/>
13990
<Section
14091
section="lastYear"
14192
className=" z-10 relative pb-10 overflow-y-clip"
@@ -168,18 +119,31 @@ const HomePage = ({ speakers, partners, images }: HomePageProps) => {
168119
></iframe>
169120
</div>
170121
</Section>
122+
<Venue
123+
subtitle={t("2025.venue.subtitle")}
124+
tip_title={t("2025.venue.tip_title")}
125+
tip={t("2025.venue.tip", {
126+
tip_link: (
127+
<a className="link" href="https://www.hotelsdelille.com/">
128+
{t("2025.venue.tip_link")}
129+
</a>
130+
),
131+
})}
132+
/>
171133
<Section
172134
section="missing"
173-
className="relative bg-grey z-10 text-center overflow-y-clip"
135+
className="relative z-10 text-center overflow-y-clip pt-4"
174136
>
175137
<div className="container text-center">
176-
<SectionTitle>
138+
<SectionTitle dark>
177139
<Translate
178140
translationKey="missing_conferences.title"
179141
translationParams={{ edition: "2024" }}
180142
/>
181143
</SectionTitle>
182-
<SectionSubTitle>{t("missing_conferences.subtitle")}</SectionSubTitle>
144+
<SectionSubTitle dark>
145+
{t("missing_conferences.subtitle")}
146+
</SectionSubTitle>
183147
<Button
184148
className="mx-auto mb-10"
185149
external
@@ -189,23 +153,15 @@ const HomePage = ({ speakers, partners, images }: HomePageProps) => {
189153
</Button>
190154
</div>
191155
</Section>
192-
<Section section="sponsorship" className="py-8">
156+
<Section
157+
section="partners"
158+
className="bg-white text-center relative z-10 pb-40 pt-20"
159+
>
193160
<div className="container text-center">
194-
<SectionTitle dark>
195-
<Translate translationKey="sponsorship.title" />
196-
</SectionTitle>
197-
<LookingSponsorCard />
198-
</div>
199-
<div
200-
id="partners"
201-
className="bg-white text-center relative z-10 pt-40 pb-40"
202-
>
203-
<div className="container text-center">
204-
<div className="lined-center lined-blue font-bold uppercase text-2xl text-blue font-title">
205-
<Translate translationKey="partners.title" />
206-
</div>
207-
<Partners data={partners} edition="2025" />
161+
<div className="lined-center lined-blue font-bold uppercase text-2xl text-blue font-title">
162+
<Translate translationKey="partners.title" />
208163
</div>
164+
<Partners data={partners} edition="2025" />
209165
</div>
210166
</Section>
211167
</>

0 commit comments

Comments
 (0)