File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
frontend/src/components/Event Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { previousEvents } from '../.. /../public/data/events' ;
2+ import { previousEvents } from '@ /../public/data/events' ;
33
44const EventGallery = ( ) => {
5-
65 return (
7- < div className = "flex flex-wrap px-14 py-10 mb-14 gap-16 justify-center my-10" >
6+ < div className = "flex flex-wrap mb-14 gap-8 justify-center my-10" >
87 { previousEvents . map ( ( event , index ) => {
98 return (
109 < div key = { index } >
11- < div className = "w-full h-40 text-center" >
12- < a href = { event . link } target = "_blank" rel = "noopener noreferrer" className = "relative block w-full h-64 group transition-opacity duration-3000" >
10+ < div className = "w-full h-48 text-center" >
11+ < a href = { event . link } target = "_blank" rel = "noopener noreferrer" className = "relative block w-full h-48 group transition-opacity duration-3000" >
1312 < img
1413 src = { event . image }
1514 alt = { event . title }
16- className = "w-full h-40 object-contain"
15+ className = "w-full h-48 object-contain"
1716 />
18- < div className = "w-full h-40 absolute inset-0 bg-black bg-opacity-60 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center" >
17+ < div className = "w-full h-48 absolute inset-0 bg-black bg-opacity-60 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center" >
1918 < div className = "text-white text-center p-4" >
2019 < h2 className = "font-extrabold text-xl mb-2" > { event . title } </ h2 >
2120 < h3 className = "font-bold text-lg" > { event . location } </ h3 >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const Event = () => {
1111 </ div >
1212 < div className = "flex items-center" >
1313 < div className = "flex flex-col text-center" >
14- < p className = "text-center text-3xl " >
14+ < p className = "text-center text-2xl " >
1515 We run a wide-variety of events for fun, learning new skills and careers. For full
1616 listings, check out our { ' ' }
1717 < a
You can’t perform that action at this time.
0 commit comments