Skip to content

Commit 0ecfca6

Browse files
ubermanuigordanchenko
authored andcommitted
feat: add alternative texts to some images in dev mode
1 parent b15d2ae commit 0ecfca6

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

dev/slides.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,21 @@ function imageLink(asset: string, size: number) {
55
}
66

77
export const slides = [
8-
{ asset: "image01.0800ee93.3840x5760", description: "Puppy in sunglasses" },
9-
{ asset: "image02.645bc7e4.3840x5070", description: "Miami beach" },
10-
{ asset: "image03.13c5eeb7.3840x5120", description: "Flamingo" },
8+
{
9+
asset: "image01.0800ee93.3840x5760",
10+
alt: "A small black and tan dog wearing oversized black sunglasses, posing confidently against a yellow background",
11+
description: "Puppy in sunglasses",
12+
},
13+
{
14+
asset: "image02.645bc7e4.3840x5070",
15+
alt: "A vibrant pastel lifeguard tower on Miami Beach, painted in shades of pink, purple, and orange, with a green flag and a plane flying overhead",
16+
description: "Miami beach",
17+
},
18+
{
19+
asset: "image03.13c5eeb7.3840x5120",
20+
alt: "A bright pink inflatable flamingo floating in clear turquoise ocean water under a sunny, cloudless sky",
21+
description: "Flamingo",
22+
},
1123
{ asset: "image04.2d71a97f.3840x2546" },
1224
{ asset: "image05.c6ce32ab.3840x5760" },
1325
{ asset: "image06.74d5e191.3840x2553" },

0 commit comments

Comments
 (0)