@@ -14,7 +14,11 @@ const imagesArray = [
14
14
id : crypto . randomUUID ( ) ,
15
15
alt : "Image2's alt text" ,
16
16
caption : "Image2's description" ,
17
- src : "https://cdn.pixabay.com/photo/2023/05/21/11/45/flowers-8008392_1280.jpg" ,
17
+ src : "https://images.unsplash.com/photo-1526047932273-341f2a7631f9?q=80&w=2400" ,
18
+ gridSrc :
19
+ "https://images.unsplash.com/photo-1526047932273-341f2a7631f9?q=80&w=1920" ,
20
+ thumbSrc :
21
+ "https://images.unsplash.com/photo-1526047932273-341f2a7631f9?q=80&w=640" ,
18
22
} ,
19
23
{
20
24
id : crypto . randomUUID ( ) ,
@@ -32,7 +36,11 @@ const imagesArray = [
32
36
id : crypto . randomUUID ( ) ,
33
37
alt : "Image5's alt text" ,
34
38
caption : "Image5's description" ,
35
- src : "https://cdn.pixabay.com/photo/2023/05/09/17/20/flowers-7982037_1280.jpg" ,
39
+ src : "https://images.unsplash.com/photo-1519016871193-d90e3a64d0f5?q=80&w=1974" ,
40
+ gridSrc :
41
+ "https://images.unsplash.com/photo-1519016871193-d90e3a64d0f5?q=80&w=1494" ,
42
+ thumbSrc :
43
+ "https://images.unsplash.com/photo-1519016871193-d90e3a64d0f5?q=80&w=214" ,
36
44
} ,
37
45
{
38
46
id : crypto . randomUUID ( ) ,
@@ -44,48 +52,56 @@ const imagesArray = [
44
52
id : crypto . randomUUID ( ) ,
45
53
alt : "Image7's alt text" ,
46
54
src : "https://cdn.pixabay.com/photo/2023/05/25/22/07/river-8018379_1280.jpg" ,
47
- smallSrc :
55
+ thumbSrc :
48
56
"https://cdn.pixabay.com/photo/2023/05/25/22/07/river-8018379_640.jpg" ,
49
57
} ,
50
58
{
51
59
id : crypto . randomUUID ( ) ,
52
60
alt : "Image8's alt text" ,
53
61
src : "https://cdn.pixabay.com/photo/2023/05/21/11/45/flowers-8008392_1280.jpg" ,
54
- smallSrc :
62
+ thumbSrc :
55
63
"https://cdn.pixabay.com/photo/2023/05/21/11/45/flowers-8008392_640.jpg" ,
56
64
} ,
57
65
{
58
66
id : crypto . randomUUID ( ) ,
59
67
alt : "Image9's alt text" ,
60
68
caption : "Image9's description" ,
61
69
src : "https://cdn.pixabay.com/photo/2020/09/14/15/10/birch-tree-5571242_1280.png" ,
62
- smallSrc :
70
+ thumbSrc :
63
71
"https://cdn.pixabay.com/photo/2020/09/14/15/10/birch-tree-5571242_640.png" ,
64
72
} ,
65
73
{
66
74
id : crypto . randomUUID ( ) ,
67
75
alt : "Image10's alt text" ,
68
76
caption : "Image10's description" ,
69
- src : "https://cdn.pixabay.com/photo/2021/05/06/16/13/children-6233868_1280.png" ,
70
- smallSrc :
71
- "https://cdn.pixabay.com/photo/2021/05/06/16/13/children-6233868_640.png" ,
77
+ src : "https://images.unsplash.com/photo-1549490349-8643362247b5?q=80&w=1974" ,
78
+ gridSrc :
79
+ "https://images.unsplash.com/photo-1549490349-8643362247b5?q=80&w=1494" ,
80
+ thumbSrc :
81
+ "https://images.unsplash.com/photo-1549490349-8643362247b5?q=80&w=214" ,
72
82
} ,
73
83
{
74
84
id : crypto . randomUUID ( ) ,
75
85
alt : "Image11's alt text" ,
76
86
caption : "Image11's description" ,
77
87
src : "https://cdn.pixabay.com/photo/2023/05/09/17/20/flowers-7982037_1280.jpg" ,
78
- smallSrc :
88
+ thumbSrc :
79
89
"https://cdn.pixabay.com/photo/2023/05/09/17/20/flowers-7982037_640.jpg" ,
80
90
} ,
81
91
{
82
92
id : crypto . randomUUID ( ) ,
83
93
alt : "Image12's alt text" ,
84
94
caption : "Image12's description" ,
85
95
src : "https://cdn.pixabay.com/photo/2023/04/17/00/06/vietnam-7931381_1280.jpg" ,
86
- smallSrc :
96
+ thumbSrc :
87
97
"https://cdn.pixabay.com/photo/2023/04/17/00/06/vietnam-7931381_640.jpg" ,
88
98
} ,
99
+ {
100
+ id : crypto . randomUUID ( ) ,
101
+ alt : "13's alt text" ,
102
+ caption : "Image13's description" ,
103
+ src : "https://cdn.pixabay.com/photo/2023/09/29/12/38/winter-8283735_640.jpg" ,
104
+ } ,
89
105
] ;
90
106
91
107
test ( "image gallery renders correctly" , ( ) => {
0 commit comments