File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */ }
Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 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" : [
Original file line number Diff line number Diff line change 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" : [
You can’t perform that action at this time.
0 commit comments