Skip to content

Commit b713e49

Browse files
committed
Updated video and photo link
1 parent 7aff27e commit b713e49

6 files changed

Lines changed: 37 additions & 19 deletions

File tree

.idea/workspace.xml

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/sections/EventHeader.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,12 @@ const EventHeader = () => {
8484
</p>
8585
</div>
8686
</div>
87-
<PillButton
88-
className="my-6 flex"
89-
href={t('buttonLink')}
90-
label={t('buttonText')}
91-
/>
87+
{/* */}
88+
{/*<PillButton*/}
89+
{/* className="my-6 flex"*/}
90+
{/* href={t('primaryButtonLink')}*/}
91+
{/* label={t('primaryButtonText')}*/}
92+
{/*/>*/}
9293
</div>
9394

9495
{/* Right Image Grid Section */}

src/components/sections/Header.js

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ const Header = () => {
2020
const [isMenuOpen, setIsMenuOpen] = useState(false);
2121
const t = useTranslations('navigation.header');
2222
const { lang } = useParams();
23-
const IconComponent = ICON_REGISTRY.videos;
23+
const PhotosIconComponent = ICON_REGISTRY.photos;
24+
const VideosIconComponent = ICON_REGISTRY.videos;
2425
return (
2526
<header className="sticky top-0 z-50 mt-0 px-3">
2627
<div className="bg-white container mx-auto flex items-center justify-between rounded-b-2xl pt-3 ">
@@ -41,14 +42,30 @@ const Header = () => {
4142
{/* Navigation (Desktop) on the right */}
4243
<Navbar isMobile={false} />
4344
<LanguageSwitcher />
44-
4545
<PillButton
46-
className="hidden lg:flex bg-blue-600 text-blue-100 hover:bg-blue-500 duration-200 transition-all ease-in flex gap-1 items-center"
46+
className="hidden lg:flex bg-blue-600 text-blue-100 hover:bg-blue-500 duration-200 transition-all ease-in gap-1 items-center"
47+
href={t('buttonLink')}
48+
label={t('buttonText')}
49+
>
50+
{IconComponent && (
51+
<PhotosIconComponent
52+
size={22}
53+
strokeWidth={2}
54+
className="font"
55+
/>
56+
)}
57+
</PillButton>
58+
<PillButton
59+
className="hidden lg:flex bg-blue-600 text-blue-100 hover:bg-blue-500 duration-200 transition-all ease-in gap-1 items-center"
4760
href={t('ticketButtonLink')}
4861
label={t('ticketButtonText')}
4962
>
5063
{IconComponent && (
51-
<IconComponent size={22} strokeWidth={2} className="font" />
64+
<VideosIconComponent
65+
size={22}
66+
strokeWidth={2}
67+
className="font"
68+
/>
5269
)}
5370
</PillButton>
5471
</div>

src/locales/en/event.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"location": "Ax.c Hub, 800 Square-Victoria in Montréal",
99
"locationLink": "https://espaceaxc.com/en/",
1010
"imageUrl": "/images/logo/hero.png",
11-
"buttonText": "Videos",
12-
"buttonLink": "https://www.youtube.com/playlist?list=PLUWS5xxsjcINr3JIt-jcVRfr2dg6XK26h"
11+
"primaryButtonText": "Videos",
12+
"primaryButtonLink": "https://www.youtube.com/playlist?list=PLUWS5xxsjcINr3JIt-jcVRfr2dg6XK26h",
13+
"secondaryButtonText": "Videos",
14+
"secondaryButtonLink": "https://www.youtube.com/playlist?list=PLUWS5xxsjcINr3JIt-jcVRfr2dg6XK26h"
1315
}

src/locales/en/navigation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"header": {
3-
"buttonText": "Call for Speakers",
4-
"buttonLink": "https://www.papercall.io/df-mtl-2025",
3+
"buttonText": "Pictures",
4+
"buttonLink": "https://photos.app.goo.gl/MvqDtMU6dLRX2Q8C6",
55
"ticketButtonText": "Videos",
66
"ticketButtonLink": "https://www.youtube.com/playlist?list=PLUWS5xxsjcINr3JIt-jcVRfr2dg6XK26h",
77
"headerNavigation": [

src/locales/fr/navigation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"header": {
3-
"buttonText": "Devenez conférencier·ière !",
4-
"buttonLink": "https://www.papercall.io/df-mtl-2025",
3+
"buttonText": "Les photos",
4+
"buttonLink": "https://photos.app.goo.gl/MvqDtMU6dLRX2Q8C6",
55
"ticketButtonText": "Vidéos",
66
"ticketButtonLink": "https://www.youtube.com/playlist?list=PLUWS5xxsjcINr3JIt-jcVRfr2dg6XK26h",
77
"headerNavigation": [

0 commit comments

Comments
 (0)