Skip to content

Commit 8742629

Browse files
authored
Gallery images: Updated images from the GraphQL conf 2023 (graphql#1574)
1 parent ddf74eb commit 8742629

File tree

10 files changed

+85
-0
lines changed

10 files changed

+85
-0
lines changed

src/components/Conf/Gallery/index.tsx

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
import React from "react"
2+
3+
const GalleryConf = () => {
4+
const images: number[] = [1, 2, 3, 4, 5, 6, 7, 8]
5+
const randomArrayImages: number[] = images.sort(() => Math.random() - 0.5)
6+
7+
return (
8+
<div className="mb-5">
9+
<div className="container px-3 py-6 mx-auto">
10+
<h1 className="text-center text-4xl text-white mb-10 font-bold">
11+
Gallery
12+
</h1>
13+
<h2 className="text-center text-white text-lg mt-2 mb-10">
14+
Full album link will be shared as soon as edited photos are available.
15+
</h2>
16+
<div className="flex flex-wrap md:-m-2 -m-1">
17+
<div className="flex flex-wrap w-1/2">
18+
<div className="md:p-2 p-1 w-1/2 hover:opacity-50 cursor-pointer">
19+
<img
20+
alt="gallery"
21+
className="w-full object-cover h-full object-center block"
22+
src={`/img/conf/Gallery/${randomArrayImages[0]}.jpg`}
23+
/>
24+
</div>
25+
<div className="md:p-2 p-1 w-1/2 hover:opacity-50 cursor-pointer">
26+
<img
27+
alt="gallery"
28+
className="w-full object-cover h-full object-center block"
29+
src={`/img/conf/Gallery/${randomArrayImages[1]}.jpg`}
30+
/>
31+
</div>
32+
<div className="md:p-2 p-1 w-full hover:opacity-50 cursor-pointer">
33+
<img
34+
alt="gallery"
35+
className="w-full h-full object-cover object-center block"
36+
src={`/img/conf/Gallery/${randomArrayImages[2]}.jpg`}
37+
/>
38+
</div>
39+
<div className="md:p-2 p-1 w-1/2 hover:opacity-50 cursor-pointer">
40+
<img
41+
alt="gallery"
42+
className="w-full h-full object-cover object-center block"
43+
src={`/img/conf/Gallery/${randomArrayImages[3]}.jpg`}
44+
/>
45+
</div>
46+
<div className="md:p-2 p-1 w-1/2 hover:opacity-50 cursor-pointer">
47+
<img
48+
alt="gallery"
49+
className="w-full h-full object-cover object-center block"
50+
src={`/img/conf/Gallery/${randomArrayImages[4]}.jpg`}
51+
/>
52+
</div>
53+
</div>
54+
<div className="flex flex-wrap w-1/2 hover:opacity-50 cursor-pointer">
55+
<div className="md:p-2 p-1 w-full">
56+
<img
57+
alt="gallery"
58+
className="w-full h-full object-cover object-center block"
59+
src={`/img/conf/Gallery/${randomArrayImages[5]}.jpg`}
60+
/>
61+
</div>
62+
<div className="md:p-2 p-1 w-1/2 hover:opacity-50 cursor-pointer">
63+
<img
64+
alt="gallery"
65+
className="w-full object-cover h-full object-center block"
66+
src={`/img/conf/Gallery/${randomArrayImages[6]}.jpg`}
67+
/>
68+
</div>
69+
<div className="md:p-2 p-1 w-1/2 hover:opacity-50 cursor-pointer">
70+
<img
71+
alt="gallery"
72+
className="w-full object-cover h-full object-center block"
73+
src={`/img/conf/Gallery/${randomArrayImages[7]}.jpg`}
74+
/>
75+
</div>
76+
</div>
77+
</div>
78+
</div>
79+
</div>
80+
)
81+
}
82+
83+
export default GalleryConf

src/pages/conf/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import ScheduleGlanceConf from "../../components/Conf/Schedule"
99
import SeoConf, { defaults as seoDefaults } from "../../components/Conf/Seo"
1010
import { CalendarIcon, GlobeIcon } from "@radix-ui/react-icons"
1111
import ThanksConf from "../../components/Conf/Thanks"
12+
import GalleryConf from "../../components/Conf/Gallery"
1213

1314
export default () => {
1415
return (
@@ -44,6 +45,7 @@ export default () => {
4445
</div>
4546
</div>
4647
<ThanksConf />
48+
<GalleryConf />
4749
<SpeakersConf />
4850
<ScheduleGlanceConf />
4951
<AboutConf />

static/img/conf/Gallery/1.jpg

1.97 MB
Loading

static/img/conf/Gallery/2.jpg

3 MB
Loading

static/img/conf/Gallery/3.jpg

2.01 MB
Loading

static/img/conf/Gallery/4.jpg

2.32 MB
Loading

static/img/conf/Gallery/5.jpg

2.95 MB
Loading

static/img/conf/Gallery/6.jpg

2.01 MB
Loading

static/img/conf/Gallery/7.jpg

2.8 MB
Loading

static/img/conf/Gallery/8.jpg

2.12 MB
Loading

0 commit comments

Comments
 (0)