Update photo gallery and add new blog articles
Adjusts the aspect ratio of the photo gallery widget from 9/16 to video (16:9) to match the MediumCard component, and adds two new articles to the seed data: "Oberkrainer goes royal!" and "70 Jahre Oberkrainer Musik". Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 456494af-2140-4610-8bd4-1afb0d471d05 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/drGbo1a Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -110,12 +110,12 @@ function SingleImageCarousel({
|
||||
onMouseEnter={() => setPaused(true)}
|
||||
onMouseLeave={() => setPaused(false)}
|
||||
>
|
||||
<div className="relative w-full overflow-hidden rounded-b-lg aspect-[9/16]">
|
||||
<div className="relative w-full overflow-hidden rounded-b-lg aspect-video">
|
||||
<img
|
||||
src={images[index].large || images[index].thumb}
|
||||
alt={images[index].fileName}
|
||||
className="absolute inset-0 w-full h-full object-cover transition-opacity duration-500"
|
||||
style={{ objectPosition: "center 25%" }}
|
||||
style={{ objectPosition: "center 30%" }}
|
||||
loading="lazy"
|
||||
data-testid="img-gallery-current"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user