File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,22 +123,21 @@ export default function EventCarousel({ items }: EventCarouselProps) {
123123 href = { `/events/${ event . id } ` }
124124 key = { event . id }
125125 ref = { index === 0 ? firstItemRef : undefined }
126- className = "w-full flex-shrink-0 md:w-[calc((100%-80px)/3)]"
126+ className = "group block w-full flex-shrink-0 overflow-hidden rounded-xl md:w-[calc((100%-80px)/3)]"
127127 >
128128 < div className = "relative aspect-[16/9] w-full overflow-hidden rounded-lg" >
129129 < Image
130130 src = { event . coverImage }
131131 alt = { event . name }
132132 fill
133- className = "object-cover"
133+ className = "object-cover transition-transform duration-300 group-hover:scale-105 "
134134 />
135135 </ div >
136136
137137 < h3 className = "mb-2 mt-4 font-jersey10 text-2xl text-white" >
138138 { event . name }
139139 </ h3 >
140140
141- { /* Needs proper processing and laying out */ }
142141 < p className = "mb-4 text-sm text-primary" >
143142 { formatEventDateDisplay ( event . date ) }
144143 </ p >
You can’t perform that action at this time.
0 commit comments