Skip to content

Commit 5a3f091

Browse files
authored
Merge pull request #8 from AndroidMontreal/feat/sponsor-updates
Feat/sponsor updates
2 parents 924dd34 + 5c5e2bc commit 5a3f091

8 files changed

Lines changed: 51 additions & 7 deletions

File tree

Lines changed: 1 addition & 0 deletions
Loading

public/assets/images/sponsors/partner_mathieu_chevalier.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/home/home-landing.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export function HomeLanding({ copy }: HomeLandingProps) {
6363
<SponsorsTiers
6464
tiers={copy.sponsors.tiers}
6565
ctaLabel={copy.sponsors.cta.label}
66+
ctaLink={copy.sponsors.cta.link}
6667
/>
6768
</section>
6869
</main>

src/components/sponsors/sponsors-tiers.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use client';
22

33
import Image from 'next/image';
4+
import { Link } from '@/i18n/navigation'; // Import Link from next-intl
45

56
type SponsorTier = {
67
title: string;
@@ -16,9 +17,10 @@ type SponsorTier = {
1617
type SponsorsTiersProps = {
1718
tiers: SponsorTier[];
1819
ctaLabel: string;
20+
ctaLink: string; // Added ctaLink prop
1921
};
2022

21-
export function SponsorsTiers({ tiers, ctaLabel }: SponsorsTiersProps) {
23+
export function SponsorsTiers({ tiers, ctaLabel, ctaLink }: SponsorsTiersProps) {
2224
return (
2325
<div className="space-y-14">
2426
{tiers.map((tier) => (
@@ -62,9 +64,14 @@ export function SponsorsTiers({ tiers, ctaLabel }: SponsorsTiersProps) {
6264
))}
6365

6466
<div className="pt-2">
65-
<div className="inline-flex items-center border border-white/25 px-5 py-3 font-mono-tech text-xs uppercase tracking-[0.2em] text-white transition-colors hover:border-google-blue hover:text-google-blue">
67+
<Link
68+
href={ctaLink} // Use ctaLink as href
69+
target="_blank"
70+
rel="noopener noreferrer"
71+
className="inline-flex items-center border border-white/25 px-5 py-3 font-mono-tech text-xs uppercase tracking-[0.2em] text-white transition-colors hover:border-google-blue hover:text-google-blue"
72+
>
6673
{ctaLabel}
67-
</div>
74+
</Link>
6875
</div>
6976
</div>
7077
);

src/messages/en/footer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"title": "Quick Links",
1616
"links": [
1717
{ "label": "Call for Speakers", "href": "#" },
18-
{ "label": "Sponsorship Deck", "href": "#", "isExternal": true },
18+
{ "label": "Sponsorship Deck", "href": "https://drive.google.com/file/d/1mTHtVZud3uGPgcGaVNlpCoIJe86ngtCS/view?usp=drive_link", "isExternal": true },
1919
{ "label": "Code of Conduct", "href": "/code-of-conduct" }
2020
]
2121
},

src/messages/en/sponsors.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"line2": "Building Together"
77
},
88
"cta": "Become a Sponsor",
9-
"cta_link": "https://forms.gle/xDCZe4ZuP98YoCAJ9"
9+
"cta_link": "https://drive.google.com/file/d/1mTHtVZud3uGPgcGaVNlpCoIJe86ngtCS/view?usp=drive_link"
1010
},
1111
"tiers": [
1212
{
@@ -44,6 +44,23 @@
4444
"link": "https://manifesto.transitapp.com/fr/jobs"
4545
}
4646
]
47+
},
48+
{
49+
"title": "Partner Sponsor",
50+
"subtitle": "Community partners helping us make DevFest 2026 a success.",
51+
"badge": "Partner",
52+
"items": [
53+
{
54+
"name": "Google",
55+
"logo": "/assets/images/sponsors/partner_google.svg",
56+
"link": "https://gdg.community.dev/"
57+
},
58+
{
59+
"name": "Mathieu Chevalier",
60+
"logo": "/assets/images/sponsors/partner_mathieu_chevalier.svg",
61+
"link": "https://www.mathieuchevalier.com/"
62+
}
63+
]
4764
}
4865
]
4966
}

src/messages/fr/footer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"title": "Liens Rapides",
1616
"links": [
1717
{ "label": "Appel aux conférenciers", "href": "#" },
18-
{ "label": "Plan de commandite", "href": "#", "isExternal": true },
18+
{ "label": "Plan de commandite", "href": "https://drive.google.com/file/d/1LQ6gV2mIf6CKYhXm1PJuiH3H-EQ1GbKM/view?usp=drive_link", "isExternal": true },
1919
{ "label": "Code de Conduite", "href": "/code-of-conduct" }
2020
]
2121
},

src/messages/fr/sponsors.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"line2": "Construisons ensemble"
77
},
88
"cta": "Devenir Sponsor",
9-
"cta_link": "https://forms.gle/xDCZe4ZuP98YoCAJ9"
9+
"cta_link": "https://drive.google.com/file/d/1LQ6gV2mIf6CKYhXm1PJuiH3H-EQ1GbKM/view?usp=drive_link"
1010
},
1111
"tiers": [
1212
{
@@ -44,6 +44,23 @@
4444
"link": "https://manifesto.transitapp.com/fr/jobs"
4545
}
4646
]
47+
},
48+
{
49+
"title": "Sponsor Partenaire",
50+
"subtitle": "Des partenaires communautaires qui nous aident à faire de DevFest 2026 un succès.",
51+
"badge": "Partenaire",
52+
"items": [
53+
{
54+
"name": "Google",
55+
"logo": "/assets/images/sponsors/partner_google.svg",
56+
"link": "https://gdg.community.dev/"
57+
},
58+
{
59+
"name": "Mathieu Chevalier",
60+
"logo": "/assets/images/sponsors/partner_mathieu_chevalier.svg",
61+
"link": "https://www.mathieuchevalier.com/"
62+
}
63+
]
4764
}
4865
]
4966
}

0 commit comments

Comments
 (0)