@orangesk/cms-templates 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc +9 -0
- package/CHANGELOG.md +36 -0
- package/README.md +3 -0
- package/eleventy.config.js +91 -0
- package/eslint.config.mjs +93 -0
- package/global.d.ts +3 -0
- package/package.json +55 -0
- package/src/assets/6-mesiacov-zadarmo.png +0 -0
- package/src/assets/Apple_iPhone_16_Pro.png +0 -0
- package/src/assets/Gaming_large.png +0 -0
- package/src/assets/Gaming_medium.png +0 -0
- package/src/assets/apple-phone@desktop.png +0 -0
- package/src/assets/apple-phone@mobile.png +0 -0
- package/src/assets/apple-phone@tablet.png +0 -0
- package/src/assets/avatar-large.png +0 -0
- package/src/assets/avatar-support.png +0 -0
- package/src/assets/avatar.png +0 -0
- package/src/assets/badge-appgallery.svg +30 -0
- package/src/assets/badge-appstore.svg +22 -0
- package/src/assets/badge-google-play.svg +59 -0
- package/src/assets/bez-nastrah.png +0 -0
- package/src/assets/blog-post-cover.png +0 -0
- package/src/assets/blog-post-image-1.png +0 -0
- package/src/assets/blogpost-cover-image-1.png +0 -0
- package/src/assets/blogpost-cover-image-2.png +0 -0
- package/src/assets/blogpost-cover-image-3.png +0 -0
- package/src/assets/blogpost-cover-image-4.png +0 -0
- package/src/assets/blogpost-cover-image-5.png +0 -0
- package/src/assets/bookings.svg +5 -0
- package/src/assets/clovek-blog-hero-exported.png +0 -0
- package/src/assets/clovek-blog-hero-xxl.jpg +0 -0
- package/src/assets/festivaly-2-mobile-rozcestnik@2x.jpg +0 -0
- package/src/assets/iPad_grey.png +0 -0
- package/src/assets/iPhone_16_Pro_Web_Banner_desktop.png +0 -0
- package/src/assets/iPhone_16_Pro_Web_Banner_tablet.png +0 -0
- package/src/assets/ikona-servis--dark.svg +4 -0
- package/src/assets/ikona-servis.svg +5 -0
- package/src/assets/ikona-vykup--dark.svg +3 -0
- package/src/assets/ikona-vykup.svg +4 -0
- package/src/assets/ikona-vyssia-pamat--dark.svg +15 -0
- package/src/assets/ikona-vyssia-pamat.svg +16 -0
- package/src/assets/iphone-17.png +0 -0
- package/src/assets/laptop_5euro.png +0 -0
- package/src/assets/logo-minimal.svg +4 -0
- package/src/assets/love-odporucane-baliky-hero-xxl@2x.png +0 -0
- package/src/assets/microsoft-365-computer.png +0 -0
- package/src/assets/microsoft-365.png +0 -0
- package/src/assets/microsoft-copilot-logo-large.png +0 -0
- package/src/assets/microsoft-copilot-logo-small-v2.png +0 -0
- package/src/assets/microsoft-copilot-logo-small.png +0 -0
- package/src/assets/microsoft-partner-do-hero.png +0 -0
- package/src/assets/microsoft-project.svg +5 -0
- package/src/assets/microsoft-teams.svg +7 -0
- package/src/assets/online-ochrana-b2c.png +0 -0
- package/src/assets/online-ochrana.png +0 -0
- package/src/assets/people1.png +0 -0
- package/src/assets/people2.png +0 -0
- package/src/assets/power-bi.svg +7 -0
- package/src/assets/predvolba.png +0 -0
- package/src/assets/prima-volba-why-1.png +0 -0
- package/src/assets/prima-volba-why-2.png +0 -0
- package/src/assets/prima-volba-why-3.png +0 -0
- package/src/assets/prima-volba.png +0 -0
- package/src/assets/recommendation.png +0 -0
- package/src/assets/roaming-prima-karta.png +0 -0
- package/src/assets/rozcestnik-poistenie--cestovne-poistenie.png +0 -0
- package/src/assets/rozcestnik-poistenie--poistenie-faktur.png +0 -0
- package/src/assets/rozcestnik-poistenie--poistenie-urazov.png +0 -0
- package/src/assets/rozcestnik-poistenie--telefonov.png +0 -0
- package/src/assets/rozcestnik-produkty-a-sluzby--internet.png +0 -0
- package/src/assets/rozcestnik-produkty-a-sluzby--navzajom-zadarmo.png +0 -0
- package/src/assets/rozcestnik-produkty-a-sluzby--telefony-a-zariadenia.png +0 -0
- package/src/assets/rozcestnik-produkty-a-sluzby--transfer.png +0 -0
- package/src/assets/rozcestnik-produkty-a-sluzby--tv.png +0 -0
- package/src/assets/rozcestnik-produkty-a-sluzby--volania.png +0 -0
- package/src/assets/rozcestnik-produkty-a-sluzby--vyhodne-balicky.png +0 -0
- package/src/assets/rozcestnik-produkty-a-sluzby--vyhody.png +0 -0
- package/src/assets/samsung-galaxy-flip-7-1.png +0 -0
- package/src/assets/samsung-galaxy-fold-7--large.png +0 -0
- package/src/assets/samsung-galaxy-fold-7-1.png +0 -0
- package/src/assets/samsung-watch-banner.png +0 -0
- package/src/assets/sharepoint.svg +18 -0
- package/src/assets/three-phones-revert.png +0 -0
- package/src/assets/three-phones-rotated-desktop.png +0 -0
- package/src/assets/three-phones-rotated-mobile.png +0 -0
- package/src/assets/three-phones-rotated-tablet.png +0 -0
- package/src/assets/three-phones.png +0 -0
- package/src/assets/uae.svg +13 -0
- package/src/assets/visio.svg +4 -0
- package/src/assets/volte.png +0 -0
- package/src/assets/worker.png +0 -0
- package/src/changelog.mdx +11 -0
- package/src/components/ActionTile/ActionTile.tsx +25 -0
- package/src/components/ActionTile/ActionTilesSection.tsx +41 -0
- package/src/components/ActionTile/index.ts +2 -0
- package/src/components/ArticleCard/ArticleCard.tsx +130 -0
- package/src/components/ArticleCard/index.ts +1 -0
- package/src/components/ArticleMeta/ArticleMeta.tsx +37 -0
- package/src/components/ArticleMeta/index.ts +1 -0
- package/src/components/ArticleShare/ArticleShare.tsx +87 -0
- package/src/components/ArticleShare/index.ts +1 -0
- package/src/components/AvatarCard/AvatarCard.tsx +30 -0
- package/src/components/AvatarCard/index.ts +1 -0
- package/src/components/FAQ/FAQ.tsx +59 -0
- package/src/components/FAQ/index.ts +1 -0
- package/src/components/FeaturedArticles/FeaturedArticles.tsx +57 -0
- package/src/components/FeaturedArticles/index.ts +1 -0
- package/src/components/FileCard/FileCard.tsx +51 -0
- package/src/components/FileCard/index.ts +1 -0
- package/src/components/FooterContent/FooterContent.tsx +253 -0
- package/src/components/HeroSection/HeroSection.tsx +67 -0
- package/src/components/HeroSection/index.ts +1 -0
- package/src/components/Markdown.tsx +49 -0
- package/src/components/Megamenu/Megamenu.tsx +848 -0
- package/src/components/Megamenu/MegamenuClovek.tsx +222 -0
- package/src/components/Megamenu/index.ts +2 -0
- package/src/components/PageHeading/PageHeadingSimple.tsx +21 -0
- package/src/components/PageHeading/index.ts +1 -0
- package/src/components/ProductImage/ProductImage.tsx +29 -0
- package/src/components/ProductImage/_product-image.scss +45 -0
- package/src/components/ProductImage/index.ts +1 -0
- package/src/components/SectionTitle/SectionTitle.tsx +29 -0
- package/src/components/SectionTitle/index.ts +1 -0
- package/src/components/StoreButtons/StoreButtons.tsx +336 -0
- package/src/components/StoreButtons/_store-buttons.scss +11 -0
- package/src/components/StoreButtons/index.ts +1 -0
- package/src/components/Tags/Tags.tsx +90 -0
- package/src/components/Tags/index.ts +3 -0
- package/src/components/Tiles/Tiles.tsx +56 -0
- package/src/components/Tiles/_tiles.scss +18 -0
- package/src/components/Tiles/index.ts +1 -0
- package/src/components/ToC/ToC.tsx +37 -0
- package/src/components/ToC/_toc.scss +23 -0
- package/src/components/ToC/index.ts +1 -0
- package/src/components/_components.scss +5 -0
- package/src/components/_container.scss +17 -0
- package/src/data/homepage.js +17 -0
- package/src/index.mdx +132 -0
- package/src/layouts/DefaultPage.tsx +29 -0
- package/src/layouts/base.njk +47 -0
- package/src/pages/_homepage.scss +24 -0
- package/src/pages/_pages.scss +29 -0
- package/src/pages/basic-page-about-the-brand.mdx +167 -0
- package/src/pages/basic-page-gdpr.mdx +563 -0
- package/src/pages/blog-homepage-clovek.mdx +437 -0
- package/src/pages/blog-news-clovek.mdx +163 -0
- package/src/pages/blog-post-clovek.mdx +322 -0
- package/src/pages/device-lp-b2b.mdx +11 -0
- package/src/pages/device-lp-b2c.mdx +318 -0
- package/src/pages/homepage-b2b.mdx +11 -0
- package/src/pages/homepage-b2c.mdx +463 -0
- package/src/pages/press-and-news-releases.mdx +136 -0
- package/src/pages/press-center-docs-library.mdx +188 -0
- package/src/pages/press-center-general-terms.mdx +208 -0
- package/src/pages/press-center-informations-for-customers.mdx +262 -0
- package/src/pages/pricelist-tariff.mdx +241 -0
- package/src/pages/pricelist.mdx +644 -0
- package/src/pages/product-page-b2b-microsoft-365.mdx +747 -0
- package/src/pages/product-page-b2c-equipment-insurance.mdx +435 -0
- package/src/pages/product-page-b2c-online-security.mdx +285 -0
- package/src/pages/product-page-b2c-prima-volba-signpost.mdx +289 -0
- package/src/pages/product-page-b2c-prima-volba.mdx +425 -0
- package/src/pages/roaming-b2b.mdx +11 -0
- package/src/pages/roaming-b2c.mdx +549 -0
- package/src/pages/signpost-insurance.mdx +126 -0
- package/src/pages/signpost-products-and-services.mdx +206 -0
- package/src/readme.mdx +11 -0
- package/src/shame.scss +19 -0
- package/src/styles/utilities/border.scss +6 -0
- package/src/styles/utilities/index.scss +2 -0
- package/src/styles/utilities/layout.scss +11 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
|
|
4
|
+
export const MegamenuClovek = ({ isDark }: { isDark?: boolean }) => {
|
|
5
|
+
return (
|
|
6
|
+
<header>
|
|
7
|
+
<nav
|
|
8
|
+
className={clsx("megamenu is-sticky", { "is-dark": isDark })}
|
|
9
|
+
data-megamenu=""
|
|
10
|
+
aria-label="Hlavné menu"
|
|
11
|
+
>
|
|
12
|
+
<div className="megamenu__main">
|
|
13
|
+
<div className="megamenu__container">
|
|
14
|
+
<h2 id="menu-title" className="sr-only">
|
|
15
|
+
Hlavné menu
|
|
16
|
+
</h2>
|
|
17
|
+
<ul className="megamenu__nav" aria-labelledby="menu-title">
|
|
18
|
+
<li className="megamenu__nav-item megamenu__nav-item--main">
|
|
19
|
+
<a
|
|
20
|
+
href="#"
|
|
21
|
+
className="megamenu__nav-logo"
|
|
22
|
+
aria-label="Domovská stránka"
|
|
23
|
+
>
|
|
24
|
+
<svg
|
|
25
|
+
viewBox="0 0 40 40"
|
|
26
|
+
fill="none"
|
|
27
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
28
|
+
aria-hidden="true"
|
|
29
|
+
>
|
|
30
|
+
<path d="M40 0H0V40H40V0Z" fill="#FF7900" />
|
|
31
|
+
<path
|
|
32
|
+
d="M34.2897 28.57H5.71973V34.28H34.2897V28.57Z"
|
|
33
|
+
fill="white"
|
|
34
|
+
/>
|
|
35
|
+
</svg>
|
|
36
|
+
<span>Človek</span>
|
|
37
|
+
</a>
|
|
38
|
+
</li>
|
|
39
|
+
<li className="megamenu__nav-item megamenu__nav-item--main megamenu--hide-md-down">
|
|
40
|
+
<a href="#" className="megamenu__nav-link">
|
|
41
|
+
Naspať na Orange
|
|
42
|
+
</a>
|
|
43
|
+
</li>
|
|
44
|
+
<li className="megamenu__nav-spacer" aria-hidden="true" />
|
|
45
|
+
<li className="megamenu__nav-item megamenu--hide-md-down">
|
|
46
|
+
<button
|
|
47
|
+
type="button"
|
|
48
|
+
className="megamenu__nav-button"
|
|
49
|
+
aria-label="Vyhľadávanie"
|
|
50
|
+
aria-controls="megamenu-search"
|
|
51
|
+
aria-expanded="false"
|
|
52
|
+
aria-haspopup="true"
|
|
53
|
+
>
|
|
54
|
+
<svg
|
|
55
|
+
className="megamenu-icon"
|
|
56
|
+
aria-hidden="true"
|
|
57
|
+
width={24}
|
|
58
|
+
height={24}
|
|
59
|
+
>
|
|
60
|
+
<use
|
|
61
|
+
className="megamenu-icon__use megamenu-icon__use--light"
|
|
62
|
+
xlinkHref="/sprite.svg#search"
|
|
63
|
+
/>
|
|
64
|
+
<use
|
|
65
|
+
className="megamenu-icon__use megamenu-icon__use--dark"
|
|
66
|
+
xlinkHref="/sprite.svg#search"
|
|
67
|
+
/>
|
|
68
|
+
</svg>
|
|
69
|
+
</button>
|
|
70
|
+
<div className="megamenu__nav-dropdown" id="megamenu-search">
|
|
71
|
+
<div className="megamenu__container">
|
|
72
|
+
<input
|
|
73
|
+
className="megamenu__input megamenu__input--search-icon-with-placeholder"
|
|
74
|
+
id="search-1"
|
|
75
|
+
type="text"
|
|
76
|
+
placeholder="Search"
|
|
77
|
+
name="search-1"
|
|
78
|
+
/>
|
|
79
|
+
<ul className="megamenu__subnav">
|
|
80
|
+
<li className="megamenu__subnav-item">
|
|
81
|
+
<a href="#">apple</a>
|
|
82
|
+
</li>
|
|
83
|
+
<li className="megamenu__subnav-item">
|
|
84
|
+
<a href="#">apple hodinky</a>
|
|
85
|
+
</li>
|
|
86
|
+
<li className="megamenu__subnav-item">
|
|
87
|
+
<a href="#">apple iphone</a>
|
|
88
|
+
</li>
|
|
89
|
+
<li className="megamenu__subnav-item">
|
|
90
|
+
<a href="#">apple 16</a>
|
|
91
|
+
</li>
|
|
92
|
+
<li className="megamenu__subnav-item">
|
|
93
|
+
<a href="#">apple pro</a>
|
|
94
|
+
</li>
|
|
95
|
+
<li className="megamenu__subnav-item">
|
|
96
|
+
<a href="#">apple watch</a>
|
|
97
|
+
</li>
|
|
98
|
+
</ul>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</li>
|
|
102
|
+
<li className="megamenu__nav-item">
|
|
103
|
+
<a href="#" className="megamenu__nav-link">
|
|
104
|
+
<svg
|
|
105
|
+
className="megamenu-icon megamenu__nav-icon"
|
|
106
|
+
aria-hidden="true"
|
|
107
|
+
width={24}
|
|
108
|
+
height={24}
|
|
109
|
+
>
|
|
110
|
+
<use
|
|
111
|
+
className="megamenu-icon__use megamenu-icon__use--light"
|
|
112
|
+
xlinkHref="/sprite.svg#user"
|
|
113
|
+
/>
|
|
114
|
+
<use
|
|
115
|
+
className="megamenu-icon__use megamenu-icon__use--dark"
|
|
116
|
+
xlinkHref="/sprite.svg#user"
|
|
117
|
+
/>
|
|
118
|
+
</svg>
|
|
119
|
+
Môj Orange
|
|
120
|
+
</a>
|
|
121
|
+
</li>
|
|
122
|
+
<li className="megamenu__nav-item megamenu--hide-lg-up">
|
|
123
|
+
<button
|
|
124
|
+
type="button"
|
|
125
|
+
className="megamenu__nav-button"
|
|
126
|
+
aria-label="Otvoriť menu"
|
|
127
|
+
aria-haspopup="true"
|
|
128
|
+
aria-expanded="false"
|
|
129
|
+
>
|
|
130
|
+
<svg
|
|
131
|
+
className="megamenu-icon"
|
|
132
|
+
aria-hidden="true"
|
|
133
|
+
width={24}
|
|
134
|
+
height={24}
|
|
135
|
+
>
|
|
136
|
+
<use
|
|
137
|
+
className="megamenu-icon__use megamenu-icon__use--light"
|
|
138
|
+
xlinkHref="/sprite.svg#menu"
|
|
139
|
+
/>
|
|
140
|
+
<use
|
|
141
|
+
className="megamenu-icon__use megamenu-icon__use--dark"
|
|
142
|
+
xlinkHref="/sprite.svg#menu"
|
|
143
|
+
/>
|
|
144
|
+
</svg>
|
|
145
|
+
</button>
|
|
146
|
+
</li>
|
|
147
|
+
</ul>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
<div
|
|
151
|
+
className="megamenu__mobile"
|
|
152
|
+
role="dialog"
|
|
153
|
+
aria-modal="true"
|
|
154
|
+
aria-labelledby="mobile-menu-title"
|
|
155
|
+
>
|
|
156
|
+
<h2 id="mobile-menu-title" className="sr-only">
|
|
157
|
+
Hlavné menu
|
|
158
|
+
</h2>
|
|
159
|
+
<button
|
|
160
|
+
aria-label="Zatvoriť menu"
|
|
161
|
+
className="megamenu__mobile-overlay"
|
|
162
|
+
type="button"
|
|
163
|
+
/>
|
|
164
|
+
<div className="megamenu__mobile-wrapper">
|
|
165
|
+
<div className="megamenu__mobile-header">
|
|
166
|
+
<div className="megamenu__container">
|
|
167
|
+
<ul className="megamenu__nav megamenu__nav--space-small">
|
|
168
|
+
<li className="megamenu__nav-spacer" aria-hidden="true" />
|
|
169
|
+
<li className="megamenu__nav-item">
|
|
170
|
+
<button
|
|
171
|
+
type="button"
|
|
172
|
+
data-megamenu-close-button="true"
|
|
173
|
+
className="megamenu__nav-button"
|
|
174
|
+
aria-label="Zatvoriť menu"
|
|
175
|
+
>
|
|
176
|
+
<svg
|
|
177
|
+
className="megamenu-icon"
|
|
178
|
+
aria-hidden="true"
|
|
179
|
+
width={20}
|
|
180
|
+
height={20}
|
|
181
|
+
>
|
|
182
|
+
<use
|
|
183
|
+
className="megamenu-icon__use megamenu-icon__use--light"
|
|
184
|
+
xlinkHref="/sprite.svg#close"
|
|
185
|
+
/>
|
|
186
|
+
<use
|
|
187
|
+
className="megamenu-icon__use megamenu-icon__use--dark"
|
|
188
|
+
xlinkHref="/sprite.svg#close"
|
|
189
|
+
/>
|
|
190
|
+
</svg>
|
|
191
|
+
</button>
|
|
192
|
+
</li>
|
|
193
|
+
</ul>
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
<div className="megamenu__mobile-body">
|
|
197
|
+
<div className="megamenu__container">
|
|
198
|
+
<ul className="megamenu__accordion">
|
|
199
|
+
<li className="megamenu__accordion-item">
|
|
200
|
+
<div className="megamenu__accordion-header">
|
|
201
|
+
<a href="#" className="megamenu__accordion-button">
|
|
202
|
+
<span className="megamenu__accordion-title">
|
|
203
|
+
Naspať na Orange
|
|
204
|
+
</span>
|
|
205
|
+
</a>
|
|
206
|
+
</div>
|
|
207
|
+
</li>
|
|
208
|
+
</ul>
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
<button
|
|
214
|
+
aria-label="Zatvoriť dropdown menu"
|
|
215
|
+
className="megamenu__overlay"
|
|
216
|
+
type="button"
|
|
217
|
+
/>
|
|
218
|
+
</nav>
|
|
219
|
+
<div className="megamenu-spacer--small" aria-hidden="true" />
|
|
220
|
+
</header>
|
|
221
|
+
);
|
|
222
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import { Section } from "@orangesk/orange-design-system";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
|
|
6
|
+
type PageHeadingSimpleProps = {
|
|
7
|
+
title: string;
|
|
8
|
+
children?: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export const PageHeadingSimple = ({
|
|
12
|
+
title,
|
|
13
|
+
children,
|
|
14
|
+
}: PageHeadingSimpleProps) => {
|
|
15
|
+
return (
|
|
16
|
+
<Section>
|
|
17
|
+
<h1 className={clsx("h1 thin", { mb: children })}>{title}</h1>
|
|
18
|
+
{children}
|
|
19
|
+
</Section>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageHeadingSimple } from "./PageHeadingSimple";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Image } from "@orangesk/orange-design-system";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
|
|
5
|
+
type colors = "nickel" | "black" | "cerulean-blue" | "permanent-geranium-lake";
|
|
6
|
+
|
|
7
|
+
type ProductImageProps = {
|
|
8
|
+
src: string;
|
|
9
|
+
dots?: colors[];
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export const ProductImage = ({ src, dots }: ProductImageProps) => {
|
|
13
|
+
return (
|
|
14
|
+
<div className="product-image">
|
|
15
|
+
<Image src={src} className="mb" alt="Samsung Galaxy Fold 7" />
|
|
16
|
+
<div className="product-image__dots">
|
|
17
|
+
{dots?.map((color) => (
|
|
18
|
+
<span
|
|
19
|
+
key={color}
|
|
20
|
+
className={clsx(
|
|
21
|
+
"product-image__dot",
|
|
22
|
+
`product-image__dot--${color}`,
|
|
23
|
+
)}
|
|
24
|
+
/>
|
|
25
|
+
))}
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use "@orangesk/orange-design-system/src/styles/tools/convert";
|
|
2
|
+
@use "@orangesk/orange-design-system/src/styles/tokens/breakpoint";
|
|
3
|
+
|
|
4
|
+
@layer components {
|
|
5
|
+
.product-image {
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
&__dots {
|
|
9
|
+
position: absolute;
|
|
10
|
+
top: 50%;
|
|
11
|
+
transform: translateY(-50%);
|
|
12
|
+
right: convert.to-rem(40px);
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
gap: convert.to-rem(10px);
|
|
16
|
+
|
|
17
|
+
@include breakpoint.get("lg", "down") {
|
|
18
|
+
right: convert.to-rem(20px);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__dot {
|
|
23
|
+
width: convert.to-rem(24px);
|
|
24
|
+
height: convert.to-rem(24px);
|
|
25
|
+
border-radius: 50%;
|
|
26
|
+
border: 1px solid var(--color-border-subtle);
|
|
27
|
+
|
|
28
|
+
&--nickel {
|
|
29
|
+
background-color: #727272;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&--black {
|
|
33
|
+
background-color: #000000;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&--cerulean-blue {
|
|
37
|
+
background-color: #3a5fb9;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&--permanent-geranium-lake {
|
|
41
|
+
background-color: #ec3526;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProductImage } from "./ProductImage";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Bar, BarItem, Link, Icon } from "@orangesk/orange-design-system";
|
|
3
|
+
|
|
4
|
+
type SectionTitleProps = {
|
|
5
|
+
title?: string;
|
|
6
|
+
linkText?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const SectionTitle = ({ title, linkText, className }: SectionTitleProps) => {
|
|
11
|
+
return (
|
|
12
|
+
<Bar align="center" className={className}>
|
|
13
|
+
<BarItem isFilling>
|
|
14
|
+
<h2 className="thin h2">{title}</h2>
|
|
15
|
+
</BarItem>
|
|
16
|
+
<BarItem className="hide show-md">
|
|
17
|
+
<Link href="#" className="bold hide show-md flex">
|
|
18
|
+
{linkText}
|
|
19
|
+
<Icon
|
|
20
|
+
name="chevron-right"
|
|
21
|
+
aria-hidden={true}
|
|
22
|
+
size="large"
|
|
23
|
+
className="link__icon-right"
|
|
24
|
+
/>
|
|
25
|
+
</Link>
|
|
26
|
+
</BarItem>
|
|
27
|
+
</Bar>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SectionTitle } from "./SectionTitle";
|