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
124 lines (119 loc) · 3.78 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
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';
import { video } from './Common.module.css';
const IMAGES = [
<StaticImage src="../../assets/soupculture-1.png" alt="" />,
<StaticImage src="../../assets/soupculture-2.png" alt="" />,
<StaticImage src="../../assets/soupculture-3.png" alt="" />,
<StaticImage src="../../assets/soupculture-4.png" alt="" />,
<StaticImage src="../../assets/soupculture-5.png" alt="" />,
<StaticImage src="../../assets/soupculture-6.png" alt="" />,
];
const THUMBS = [
<StaticImage
src="../../assets/soupculture-1.png"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/soupculture-2.png"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/soupculture-3.png"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/soupculture-4.png"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/soupculture-5.png"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
<StaticImage
src="../../assets/soupculture-6.png"
alt=""
width={100}
height={100}
objectFit="cover"
/>,
];
export default function Content() {
const { swiper, setSwiper } = useSwiper();
return (
<section>
<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>
Koncept polievky v poháriku alebo bezodpadový street food
Soupculture prišiel do Bratislavy pred dvoma rokmi. Pri ich
začiatkoch sme stáli aj my. Vytvorili sme úspešnú reklamnú kampaň,
vďaka ktorej sa značka Soupculture dostala medzi relevantnú cieľovú
skupinu. Taktiež sme zapojili do kampane známych influencerov,
vytvorili sme niekoľko súťaží a navrhli dizajn vernostným kartičkám.
Dnes sa spolu so Soupculture tešíme veľkej obľube tejto novej
polievkovej kultúry.
</Paragraph>
<dl>
<Description title="Klient:">Soupculture</Description>
<Description title="Rok:">2021</Description>
<Description title="Úloha:">
reklamná Kampaň, influencer marketing
</Description>
</dl>
</Article>
</Container>
<Container rtl>
<iframe
className={video}
width="1100"
height="500"
src="https://www.youtube.com/embed/EE4NJbuIHX0"
title="YouTube video player"
frameBorder="0"
// eslint-disable-next-line max-len
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowFullScreen
/>
<H1>Promo video</H1>
</Container>
</section>
);
}