This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Content.tsx
205 lines (201 loc) · 5.22 KB
/
Content.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
import { StaticImage } from 'gatsby-plugin-image';
import React from 'react';
import { SwiperSlide } from 'swiper/react';
import Article from '../text/article/Article';
import Description from '../text/article/Description';
import H1 from '../text/article/H1';
import Paragraph from '../text/article/Paragraph';
import Container from '../ui/layout/Container';
import MainSwiper from '../ui/swiper/MainSwiper';
import ThumbSwiper from '../ui/swiper/ThumbSwiper';
import useSwiper from '../ui/swiper/use-swiper';
const IMAGES = [
<StaticImage src="../../assets/quest-bar-1.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-2.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-3.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-4.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-5.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-6.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-7.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-8.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-9.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-10.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-11.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-12.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-13.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-14.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-15.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-16.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-17.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-18.jpeg" alt="" />,
<StaticImage src="../../assets/quest-bar-19.jpeg" alt="" />,
];
const THUMBS = [
<StaticImage
src="../../assets/quest-bar-1.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-2.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-3.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-4.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-5.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-6.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-7.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-8.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-9.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-10.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-11.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-12.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-13.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-14.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-15.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-16.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-17.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-18.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/quest-bar-19.jpeg"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
];
export default function Content() {
const { swiper, setSwiper } = useSwiper();
return (
<Container>
<MainSwiper swiper={swiper}>
{IMAGES.map((image, key) => (
// eslint-disable-next-line react/no-array-index-key
<SwiperSlide key={key}>{image}</SwiperSlide>
))}
</MainSwiper>
<Article>
<ThumbSwiper setSwiper={setSwiper}>
{THUMBS.map((image, key) => (
// eslint-disable-next-line react/no-array-index-key
<SwiperSlide key={key}>{image}</SwiperSlide>
))}
</ThumbSwiper>
<H1>O projekte</H1>
<Paragraph>
Vytvára sa komunita milovníkov anime, hráčov a geekov. Od fanúšikov
pre fanúšikov. Quest bar je jedinečný anime-herný bar v trnave, ktorý
si zaslúžil nový brand.
</Paragraph>
<dl>
<Description title="Klient:">Quest Bar</Description>
<Description title="Rok:">2021</Description>
<Description title="Úloha:">
branding, graphic design, social newtorks management
</Description>
</dl>
</Article>
</Container>
);
}