@orangesk/cms-templates 1.0.0-beta.0 → 1.0.0-beta.2
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/README.md +15 -1
- package/build/assets/favicon.ico +0 -0
- package/build/assets/form-error.svg +6 -0
- package/build/assets/form-success.svg +5 -0
- package/build/assets/form-waiting.svg +7 -0
- package/build/assets/how-to-secure.png +0 -0
- package/build/assets/market-lokator.png +0 -0
- package/build/assets/mirosoft-project.svg +5 -0
- package/build/assets/power-point.svg +5 -0
- package/build/assets/prima-volba-1.jpg +0 -0
- package/build/assets/prima-volba.png +0 -0
- package/build/assets/project.svg +5 -0
- package/build/assets/soc-ako-sluzba.png +0 -0
- package/build/assets/soc-stats-1.svg +7 -0
- package/build/assets/soc-stats-2.svg +21 -0
- package/build/assets/what-is-that.png +0 -0
- package/build/changelog/index.html +83 -0
- package/build/components/ContactFormB2B/index.html +29 -0
- package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/build/images/cta-device.png +0 -0
- package/build/images/cta-plans.png +0 -0
- package/build/images/cta-renewal.png +0 -0
- package/build/images/device-mobile.png +0 -0
- package/build/images/form-validation-format.png +0 -0
- package/build/images/form-validation-info-structure.png +0 -0
- package/build/images/form-validation-semantics.png +0 -0
- package/build/images/forms-labels-grouping.png +0 -0
- package/build/images/forms-labels-instruction.png +0 -0
- package/build/images/forms-labels-structure.png +0 -0
- package/build/images/hero/example-lg.jpg +0 -0
- package/build/images/hero/example-lg@2x.jpg +0 -0
- package/build/images/hero/example-xl.jpg +0 -0
- package/build/images/hero/example-xl@2x.jpg +0 -0
- package/build/images/hero/example-xxl.jpg +0 -0
- package/build/images/hero/example-xxl@2x.jpg +0 -0
- package/build/images/hero/example.jpg +0 -0
- package/build/images/hero/example@2x.jpg +0 -0
- package/build/images/hero/old-vendor-2x.jpg +0 -0
- package/build/images/hero/old-vendor-lg-2x.jpg +0 -0
- package/build/images/hero/old-vendor-lg.jpg +0 -0
- package/build/images/hero/old-vendor-xl-2x.jpg +0 -0
- package/build/images/hero/old-vendor-xl.jpg +0 -0
- package/build/images/hero/old-vendor-xxl-2x.jpg +0 -0
- package/build/images/hero/old-vendor-xxl.jpg +0 -0
- package/build/images/hero/old-vendor.jpg +0 -0
- package/build/images/hero/photo-2x.jpg +0 -0
- package/build/images/hero/photo-lg-2x.jpg +0 -0
- package/build/images/hero/photo-lg.jpg +0 -0
- package/build/images/hero/photo-xl-2x.jpg +0 -0
- package/build/images/hero/photo-xl.jpg +0 -0
- package/build/images/hero/photo-xxl-2x.jpg +0 -0
- package/build/images/hero/photo-xxl.jpg +0 -0
- package/build/images/hero/photo.jpg +0 -0
- package/build/images/hero/single.png +0 -0
- package/build/images/hero/single@2x.png +0 -0
- package/build/images/hero/vendor-lg.png +0 -0
- package/build/images/hero/vendor-lg@2x.png +0 -0
- package/build/images/hero/vendor-xl.png +0 -0
- package/build/images/hero/vendor-xl@2x.png +0 -0
- package/build/images/hero/vendor-xxl.png +0 -0
- package/build/images/hero/vendor-xxl@2x.png +0 -0
- package/build/images/hero/vendor.png +0 -0
- package/build/images/hero/vendor@2x.png +0 -0
- package/build/images/product-1.svg +10 -0
- package/build/images/product-2.svg +14 -0
- package/build/images/product-3.svg +9 -0
- package/build/images/tone-of-voice.jpg +0 -0
- package/build/index.html +46 -0
- package/build/lib/after-components.css +2 -0
- package/build/lib/after-components.css.map +1 -0
- package/build/lib/after-components.js +3 -0
- package/build/lib/before-components.css +3 -0
- package/build/lib/before-components.css.map +1 -0
- package/build/lib/before-components.js +3 -0
- package/build/lib/breadcrumbs.css +2 -0
- package/build/lib/breadcrumbs.css.map +1 -0
- package/build/lib/breadcrumbs.js +3 -0
- package/build/lib/components.css +2 -0
- package/build/lib/components.css.map +1 -0
- package/build/lib/components.js +3 -0
- package/build/lib/fonts.css +2 -0
- package/build/lib/fonts.css.map +1 -0
- package/build/lib/fonts.js +3 -0
- package/build/lib/footer.css +2 -0
- package/build/lib/footer.css.map +1 -0
- package/build/lib/megamenu.css +2 -0
- package/build/lib/megamenu.css.map +1 -0
- package/build/lib/megamenu.js +2 -0
- package/build/lib/megamenu.js.map +1 -0
- package/build/lib/scripts.css +2 -0
- package/build/lib/scripts.css.map +1 -0
- package/build/lib/scripts.js +10 -0
- package/build/lib/scripts.js.map +1 -0
- package/build/lib/style.css +3 -0
- package/build/lib/style.css.map +1 -0
- package/build/lib/style.js +3 -0
- package/build/lib/tsconfig.tsbuildinfo +1 -0
- package/build/logo.svg +1 -0
- package/build/modules/image-section/README/index.html +54 -0
- package/build/modules/image-section/background-image/index.html +44 -0
- package/build/modules/image-section/half-width-image/index.html +46 -0
- package/build/modules/image-section/third-width-2-image-section/index.html +44 -0
- package/build/modules/image-section/third-width-frame-image-section/index.html +49 -0
- package/build/pages/basic-page-about-the-brand/index.html +44 -0
- package/build/pages/basic-page-gdpr/index.html +44 -0
- package/build/pages/blog-homepage-clovek/index.html +44 -0
- package/build/pages/blog-news-clovek/index.html +44 -0
- package/build/pages/blog-post-clovek/index.html +44 -0
- package/build/pages/device-lp-b2b/index.html +29 -0
- package/build/pages/device-lp-b2c/index.html +29 -0
- package/build/pages/equipment-insurance/index.html +54 -0
- package/build/pages/homepage-b2b/index.html +29 -0
- package/build/pages/homepage-b2c/index.html +29 -0
- package/build/pages/online-security/index.html +53 -0
- package/build/pages/press-and-news-releases/index.html +44 -0
- package/build/pages/press-center/index.html +44 -0
- package/build/pages/press-center-docs-library/index.html +44 -0
- package/build/pages/press-center-general-terms/index.html +67 -0
- package/build/pages/press-center-general-terms copy/index.html +67 -0
- package/build/pages/press-center-informations-for-customers/index.html +44 -0
- package/build/pages/pricelist/index.html +44 -0
- package/build/pages/pricelist-tariff/index.html +44 -0
- package/{src/layouts/base.njk → build/pages/pricelist-tarrif/index.html} +6 -9
- package/build/pages/product-page-b2b-market-locator/index.html +44 -0
- package/build/pages/product-page-b2b-market-locator copy/index.html +44 -0
- package/build/pages/product-page-b2b-microsoft-365/index.html +44 -0
- package/build/pages/product-page-b2b-microsoft-365 copy/index.html +44 -0
- package/build/pages/product-page-b2b-soc-as-a-service/index.html +44 -0
- package/build/pages/product-page-b2c-equipment-insurance/index.html +54 -0
- package/build/pages/product-page-b2c-online-security/index.html +48 -0
- package/build/pages/product-page-b2c-prima-volba/index.html +44 -0
- package/build/pages/product-page-b2c-prima-volba-signpost/index.html +44 -0
- package/build/pages/roaming-b2b/index.html +30 -0
- package/build/pages/roaming-b2c/index.html +30 -0
- package/build/pages/roaming-b2x/index.html +44 -0
- package/build/pages/signpost-insurance/index.html +44 -0
- package/build/pages/signpost-products-and-services/index.html +44 -0
- package/build/readme/index.html +55 -0
- package/build/shame.css +171 -0
- package/build/sprite.svg +1 -0
- package/package.json +5 -2
- package/.prettierrc +0 -9
- package/CHANGELOG.md +0 -36
- package/eleventy.config.js +0 -91
- package/eslint.config.mjs +0 -93
- package/global.d.ts +0 -3
- package/src/changelog.mdx +0 -11
- package/src/components/ActionTile/ActionTile.tsx +0 -25
- package/src/components/ActionTile/ActionTilesSection.tsx +0 -41
- package/src/components/ActionTile/index.ts +0 -2
- package/src/components/ArticleCard/ArticleCard.tsx +0 -130
- package/src/components/ArticleCard/index.ts +0 -1
- package/src/components/ArticleMeta/ArticleMeta.tsx +0 -37
- package/src/components/ArticleMeta/index.ts +0 -1
- package/src/components/ArticleShare/ArticleShare.tsx +0 -87
- package/src/components/ArticleShare/index.ts +0 -1
- package/src/components/AvatarCard/AvatarCard.tsx +0 -30
- package/src/components/AvatarCard/index.ts +0 -1
- package/src/components/FAQ/FAQ.tsx +0 -59
- package/src/components/FAQ/index.ts +0 -1
- package/src/components/FeaturedArticles/FeaturedArticles.tsx +0 -57
- package/src/components/FeaturedArticles/index.ts +0 -1
- package/src/components/FileCard/FileCard.tsx +0 -51
- package/src/components/FileCard/index.ts +0 -1
- package/src/components/FooterContent/FooterContent.tsx +0 -253
- package/src/components/HeroSection/HeroSection.tsx +0 -67
- package/src/components/HeroSection/index.ts +0 -1
- package/src/components/Markdown.tsx +0 -49
- package/src/components/Megamenu/Megamenu.tsx +0 -848
- package/src/components/Megamenu/MegamenuClovek.tsx +0 -222
- package/src/components/Megamenu/index.ts +0 -2
- package/src/components/PageHeading/PageHeadingSimple.tsx +0 -21
- package/src/components/PageHeading/index.ts +0 -1
- package/src/components/ProductImage/ProductImage.tsx +0 -29
- package/src/components/ProductImage/_product-image.scss +0 -45
- package/src/components/ProductImage/index.ts +0 -1
- package/src/components/SectionTitle/SectionTitle.tsx +0 -29
- package/src/components/SectionTitle/index.ts +0 -1
- package/src/components/StoreButtons/StoreButtons.tsx +0 -336
- package/src/components/StoreButtons/_store-buttons.scss +0 -11
- package/src/components/StoreButtons/index.ts +0 -1
- package/src/components/Tags/Tags.tsx +0 -90
- package/src/components/Tags/index.ts +0 -3
- package/src/components/Tiles/Tiles.tsx +0 -56
- package/src/components/Tiles/_tiles.scss +0 -18
- package/src/components/Tiles/index.ts +0 -1
- package/src/components/ToC/ToC.tsx +0 -37
- package/src/components/ToC/_toc.scss +0 -23
- package/src/components/ToC/index.ts +0 -1
- package/src/components/_components.scss +0 -5
- package/src/components/_container.scss +0 -17
- package/src/data/homepage.js +0 -17
- package/src/index.mdx +0 -132
- package/src/layouts/DefaultPage.tsx +0 -29
- package/src/pages/_homepage.scss +0 -24
- package/src/pages/_pages.scss +0 -29
- package/src/pages/basic-page-about-the-brand.mdx +0 -167
- package/src/pages/basic-page-gdpr.mdx +0 -563
- package/src/pages/blog-homepage-clovek.mdx +0 -437
- package/src/pages/blog-news-clovek.mdx +0 -163
- package/src/pages/blog-post-clovek.mdx +0 -322
- package/src/pages/device-lp-b2b.mdx +0 -11
- package/src/pages/device-lp-b2c.mdx +0 -318
- package/src/pages/homepage-b2b.mdx +0 -11
- package/src/pages/homepage-b2c.mdx +0 -463
- package/src/pages/press-and-news-releases.mdx +0 -136
- package/src/pages/press-center-docs-library.mdx +0 -188
- package/src/pages/press-center-general-terms.mdx +0 -208
- package/src/pages/press-center-informations-for-customers.mdx +0 -262
- package/src/pages/pricelist-tariff.mdx +0 -241
- package/src/pages/pricelist.mdx +0 -644
- package/src/pages/product-page-b2b-microsoft-365.mdx +0 -747
- package/src/pages/product-page-b2c-equipment-insurance.mdx +0 -435
- package/src/pages/product-page-b2c-online-security.mdx +0 -285
- package/src/pages/product-page-b2c-prima-volba-signpost.mdx +0 -289
- package/src/pages/product-page-b2c-prima-volba.mdx +0 -425
- package/src/pages/roaming-b2b.mdx +0 -11
- package/src/pages/roaming-b2c.mdx +0 -549
- package/src/pages/signpost-insurance.mdx +0 -126
- package/src/pages/signpost-products-and-services.mdx +0 -206
- package/src/readme.mdx +0 -11
- package/src/shame.scss +0 -19
- package/src/styles/utilities/border.scss +0 -6
- package/src/styles/utilities/index.scss +0 -2
- package/src/styles/utilities/layout.scss +0 -11
- package/tsconfig.json +0 -22
- /package/{src → build}/assets/6-mesiacov-zadarmo.png +0 -0
- /package/{src → build}/assets/Apple_iPhone_16_Pro.png +0 -0
- /package/{src → build}/assets/Gaming_large.png +0 -0
- /package/{src → build}/assets/Gaming_medium.png +0 -0
- /package/{src → build}/assets/apple-phone@desktop.png +0 -0
- /package/{src → build}/assets/apple-phone@mobile.png +0 -0
- /package/{src → build}/assets/apple-phone@tablet.png +0 -0
- /package/{src → build}/assets/avatar-large.png +0 -0
- /package/{src → build}/assets/avatar-support.png +0 -0
- /package/{src → build}/assets/avatar.png +0 -0
- /package/{src → build}/assets/badge-appgallery.svg +0 -0
- /package/{src → build}/assets/badge-appstore.svg +0 -0
- /package/{src → build}/assets/badge-google-play.svg +0 -0
- /package/{src → build}/assets/bez-nastrah.png +0 -0
- /package/{src → build}/assets/blog-post-cover.png +0 -0
- /package/{src → build}/assets/blog-post-image-1.png +0 -0
- /package/{src → build}/assets/blogpost-cover-image-1.png +0 -0
- /package/{src → build}/assets/blogpost-cover-image-2.png +0 -0
- /package/{src → build}/assets/blogpost-cover-image-3.png +0 -0
- /package/{src → build}/assets/blogpost-cover-image-4.png +0 -0
- /package/{src → build}/assets/blogpost-cover-image-5.png +0 -0
- /package/{src → build}/assets/bookings.svg +0 -0
- /package/{src → build}/assets/clovek-blog-hero-exported.png +0 -0
- /package/{src → build}/assets/clovek-blog-hero-xxl.jpg +0 -0
- /package/{src → build}/assets/festivaly-2-mobile-rozcestnik@2x.jpg +0 -0
- /package/{src → build}/assets/iPad_grey.png +0 -0
- /package/{src → build}/assets/iPhone_16_Pro_Web_Banner_desktop.png +0 -0
- /package/{src → build}/assets/iPhone_16_Pro_Web_Banner_tablet.png +0 -0
- /package/{src → build}/assets/ikona-servis--dark.svg +0 -0
- /package/{src → build}/assets/ikona-servis.svg +0 -0
- /package/{src → build}/assets/ikona-vykup--dark.svg +0 -0
- /package/{src → build}/assets/ikona-vykup.svg +0 -0
- /package/{src → build}/assets/ikona-vyssia-pamat--dark.svg +0 -0
- /package/{src → build}/assets/ikona-vyssia-pamat.svg +0 -0
- /package/{src → build}/assets/iphone-17.png +0 -0
- /package/{src → build}/assets/laptop_5euro.png +0 -0
- /package/{src → build}/assets/logo-minimal.svg +0 -0
- /package/{src → build}/assets/love-odporucane-baliky-hero-xxl@2x.png +0 -0
- /package/{src → build}/assets/microsoft-365-computer.png +0 -0
- /package/{src → build}/assets/microsoft-365.png +0 -0
- /package/{src → build}/assets/microsoft-copilot-logo-large.png +0 -0
- /package/{src → build}/assets/microsoft-copilot-logo-small-v2.png +0 -0
- /package/{src → build}/assets/microsoft-copilot-logo-small.png +0 -0
- /package/{src → build}/assets/microsoft-partner-do-hero.png +0 -0
- /package/{src → build}/assets/microsoft-project.svg +0 -0
- /package/{src → build}/assets/microsoft-teams.svg +0 -0
- /package/{src → build}/assets/online-ochrana-b2c.png +0 -0
- /package/{src → build}/assets/online-ochrana.png +0 -0
- /package/{src → build}/assets/people1.png +0 -0
- /package/{src → build}/assets/people2.png +0 -0
- /package/{src → build}/assets/power-bi.svg +0 -0
- /package/{src → build}/assets/predvolba.png +0 -0
- /package/{src/assets/prima-volba.png → build/assets/prima-vobla.png} +0 -0
- /package/{src → build}/assets/prima-volba-why-1.png +0 -0
- /package/{src → build}/assets/prima-volba-why-2.png +0 -0
- /package/{src → build}/assets/prima-volba-why-3.png +0 -0
- /package/{src → build}/assets/recommendation.png +0 -0
- /package/{src → build}/assets/roaming-prima-karta.png +0 -0
- /package/{src → build}/assets/rozcestnik-poistenie--cestovne-poistenie.png +0 -0
- /package/{src → build}/assets/rozcestnik-poistenie--poistenie-faktur.png +0 -0
- /package/{src → build}/assets/rozcestnik-poistenie--poistenie-urazov.png +0 -0
- /package/{src → build}/assets/rozcestnik-poistenie--telefonov.png +0 -0
- /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--internet.png +0 -0
- /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--navzajom-zadarmo.png +0 -0
- /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--telefony-a-zariadenia.png +0 -0
- /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--transfer.png +0 -0
- /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--tv.png +0 -0
- /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--volania.png +0 -0
- /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--vyhodne-balicky.png +0 -0
- /package/{src → build}/assets/rozcestnik-produkty-a-sluzby--vyhody.png +0 -0
- /package/{src → build}/assets/samsung-galaxy-flip-7-1.png +0 -0
- /package/{src → build}/assets/samsung-galaxy-fold-7--large.png +0 -0
- /package/{src → build}/assets/samsung-galaxy-fold-7-1.png +0 -0
- /package/{src → build}/assets/samsung-watch-banner.png +0 -0
- /package/{src → build}/assets/sharepoint.svg +0 -0
- /package/{src → build}/assets/three-phones-revert.png +0 -0
- /package/{src → build}/assets/three-phones-rotated-desktop.png +0 -0
- /package/{src → build}/assets/three-phones-rotated-mobile.png +0 -0
- /package/{src → build}/assets/three-phones-rotated-tablet.png +0 -0
- /package/{src → build}/assets/three-phones.png +0 -0
- /package/{src → build}/assets/uae.svg +0 -0
- /package/{src → build}/assets/visio.svg +0 -0
- /package/{src → build}/assets/volte.png +0 -0
- /package/{src → build}/assets/worker.png +0 -0
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Section,
|
|
3
|
-
Grid,
|
|
4
|
-
GridCol,
|
|
5
|
-
Accordion,
|
|
6
|
-
AccordionItem,
|
|
7
|
-
Button,
|
|
8
|
-
} from "@orangesk/orange-design-system";
|
|
9
|
-
import React from "react";
|
|
10
|
-
|
|
11
|
-
export const FAQ = () => {
|
|
12
|
-
return (
|
|
13
|
-
// @ts-expect-error TODO fix id types in ODS2
|
|
14
|
-
<Section spacing="default" id="najcastejsie-otazky">
|
|
15
|
-
<Grid>
|
|
16
|
-
<GridCol size={{ xs: 12, lg: 4 }}>
|
|
17
|
-
<h2 className="h2 thin mb-large">{"Najčastejšie otázky"}</h2>
|
|
18
|
-
<Button href="#contact" className="mb-large" size="large">
|
|
19
|
-
{"Potrebujem pomoc"}
|
|
20
|
-
</Button>
|
|
21
|
-
</GridCol>
|
|
22
|
-
<GridCol size={{ xs: 12, lg: 8 }}>
|
|
23
|
-
<Accordion className="mb-none">
|
|
24
|
-
<AccordionItem
|
|
25
|
-
title="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
26
|
-
id="faq-1"
|
|
27
|
-
>
|
|
28
|
-
<p>{`Quis anim fugiat aute labore exercitation proident ipsum adipisicing eiusmod do et. Eu eu magna nulla est voluptate ipsum ea exercitation deserunt do adipisicing ipsum labore. Minim cillum dolor est quis occaecat in occaecat commodo anim et laborum labore officia.`}</p>
|
|
29
|
-
</AccordionItem>
|
|
30
|
-
<AccordionItem
|
|
31
|
-
title="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
32
|
-
id="faq-2"
|
|
33
|
-
>
|
|
34
|
-
<p>{`Quis anim fugiat aute labore exercitation proident ipsum adipisicing eiusmod do et. Eu eu magna nulla est voluptate ipsum ea exercitation deserunt do adipisicing ipsum labore. Minim cillum dolor est quis occaecat in occaecat commodo anim et laborum labore officia.`}</p>
|
|
35
|
-
</AccordionItem>
|
|
36
|
-
<AccordionItem
|
|
37
|
-
title="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
38
|
-
id="faq-3"
|
|
39
|
-
>
|
|
40
|
-
<p>{`Quis anim fugiat aute labore exercitation proident ipsum adipisicing eiusmod do et. Eu eu magna nulla est voluptate ipsum ea exercitation deserunt do adipisicing ipsum labore. Minim cillum dolor est quis occaecat in occaecat commodo anim et laborum labore officia.`}</p>
|
|
41
|
-
</AccordionItem>
|
|
42
|
-
<AccordionItem
|
|
43
|
-
title="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
44
|
-
id="faq-4"
|
|
45
|
-
>
|
|
46
|
-
<p>{`Quis anim fugiat aute labore exercitation proident ipsum adipisicing eiusmod do et. Eu eu magna nulla est voluptate ipsum ea exercitation deserunt do adipisicing ipsum labore. Minim cillum dolor est quis occaecat in occaecat commodo anim et laborum labore officia.`}</p>
|
|
47
|
-
</AccordionItem>
|
|
48
|
-
<AccordionItem
|
|
49
|
-
title="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
50
|
-
id="faq-5"
|
|
51
|
-
>
|
|
52
|
-
<p>{`Quis anim fugiat aute labore exercitation proident ipsum adipisicing eiusmod do et. Eu eu magna nulla est voluptate ipsum ea exercitation deserunt do adipisicing ipsum labore. Minim cillum dolor est quis occaecat in occaecat commodo anim et laborum labore officia.`}</p>
|
|
53
|
-
</AccordionItem>
|
|
54
|
-
</Accordion>
|
|
55
|
-
</GridCol>
|
|
56
|
-
</Grid>
|
|
57
|
-
</Section>
|
|
58
|
-
);
|
|
59
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FAQ } from "./FAQ";
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Section, Carousel } from "@orangesk/orange-design-system";
|
|
3
|
-
import { ArticleCard } from "../ArticleCard";
|
|
4
|
-
import { SectionTitle } from "../SectionTitle";
|
|
5
|
-
|
|
6
|
-
export const FeaturedArticles = () => (
|
|
7
|
-
<Section color="surface-subtle" spacing="default">
|
|
8
|
-
<SectionTitle
|
|
9
|
-
title="Články, ktoré by vás mohli zaujať"
|
|
10
|
-
linkText="Všetko z blogu"
|
|
11
|
-
/>
|
|
12
|
-
<Carousel
|
|
13
|
-
id="carousel-insurance-application"
|
|
14
|
-
data-swiper-options='{"slidesPerView":1.2,"breakpoints":{"768":{"slidesPerView":2.5},"1024":{"slidesPerView":4}}}'
|
|
15
|
-
items={[
|
|
16
|
-
<ArticleCard
|
|
17
|
-
className="mb-small"
|
|
18
|
-
tagline="Tagline"
|
|
19
|
-
title="Nezabúdajme, že za každým profilom je skutočný človek"
|
|
20
|
-
tag="Lifetech"
|
|
21
|
-
titleTag="h3"
|
|
22
|
-
src="/assets/blogpost-cover-image-2.png"
|
|
23
|
-
alt="Image alt"
|
|
24
|
-
/>,
|
|
25
|
-
<ArticleCard
|
|
26
|
-
className="mb-small"
|
|
27
|
-
tagline="Tagline"
|
|
28
|
-
title="6 technologických inovácií pre pohodový festival s rodinou"
|
|
29
|
-
tag="Lifetech"
|
|
30
|
-
titleTag="h3"
|
|
31
|
-
src="/assets/blogpost-cover-image-5.png"
|
|
32
|
-
alt="Image alt"
|
|
33
|
-
/>,
|
|
34
|
-
<ArticleCard
|
|
35
|
-
className="mb-small"
|
|
36
|
-
tagline="Tagline"
|
|
37
|
-
title="Rozmýšľate, kam so starým mobilom?"
|
|
38
|
-
tag="Lifetech"
|
|
39
|
-
titleTag="h3"
|
|
40
|
-
src="/assets/blogpost-cover-image-4.png"
|
|
41
|
-
alt="Image alt"
|
|
42
|
-
/>,
|
|
43
|
-
<ArticleCard
|
|
44
|
-
className="mb-small"
|
|
45
|
-
tagline="Tagline"
|
|
46
|
-
title="Rozhovor s Michalom Kaščákom"
|
|
47
|
-
tag="Lifetech"
|
|
48
|
-
titleTag="h3"
|
|
49
|
-
src="/assets/blogpost-cover-image-3.png"
|
|
50
|
-
alt="Image alt"
|
|
51
|
-
/>,
|
|
52
|
-
]}
|
|
53
|
-
showScrollbar={true}
|
|
54
|
-
bleedRight
|
|
55
|
-
/>
|
|
56
|
-
</Section>
|
|
57
|
-
);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FeaturedArticles } from "./FeaturedArticles";
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
BlockAction,
|
|
5
|
-
Card,
|
|
6
|
-
CardSection,
|
|
7
|
-
Bar,
|
|
8
|
-
BarItem,
|
|
9
|
-
Pill,
|
|
10
|
-
Icon,
|
|
11
|
-
BlockActionControl,
|
|
12
|
-
} from "@orangesk/orange-design-system";
|
|
13
|
-
|
|
14
|
-
type FileCardProps = {
|
|
15
|
-
title?: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
className?: string;
|
|
18
|
-
icon?: string;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export const FileCard = ({
|
|
22
|
-
title = `Informácie pre spotrebiteľa pred uzatvorením poistnej
|
|
23
|
-
zmluvy na diaľku platné od 19.4.2023`,
|
|
24
|
-
description = "PDF 95 kB",
|
|
25
|
-
className,
|
|
26
|
-
icon = "download",
|
|
27
|
-
}: FileCardProps) => {
|
|
28
|
-
return (
|
|
29
|
-
<BlockAction>
|
|
30
|
-
<Card color="background-primary" className={`mb-small ${className}`}>
|
|
31
|
-
<CardSection space="small">
|
|
32
|
-
<Bar>
|
|
33
|
-
<BarItem>
|
|
34
|
-
<Pill color="surface-primary" size="xxlarge">
|
|
35
|
-
<Icon name={icon} size="large" />
|
|
36
|
-
</Pill>
|
|
37
|
-
</BarItem>
|
|
38
|
-
<BarItem isFilling>
|
|
39
|
-
<BlockActionControl>
|
|
40
|
-
<a href="#" className="bold">
|
|
41
|
-
{title}
|
|
42
|
-
</a>
|
|
43
|
-
</BlockActionControl>
|
|
44
|
-
<p>{description}</p>
|
|
45
|
-
</BarItem>
|
|
46
|
-
</Bar>
|
|
47
|
-
</CardSection>
|
|
48
|
-
</Card>
|
|
49
|
-
</BlockAction>
|
|
50
|
-
);
|
|
51
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FileCard } from "./FileCard";
|
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
|
|
4
|
-
export type FooterContentProps = {
|
|
5
|
-
isDark?: boolean;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const FooterContent = ({ isDark }: FooterContentProps) => (
|
|
9
|
-
<footer
|
|
10
|
-
className={clsx("footer", {
|
|
11
|
-
"is-dark": isDark
|
|
12
|
-
})}
|
|
13
|
-
>
|
|
14
|
-
<div className="footer__container">
|
|
15
|
-
<a
|
|
16
|
-
href="https://www.orange.sk/"
|
|
17
|
-
aria-label="Odkaz na úvodnú stránku"
|
|
18
|
-
className="footer__logo"
|
|
19
|
-
>
|
|
20
|
-
<svg
|
|
21
|
-
width="48"
|
|
22
|
-
height="48"
|
|
23
|
-
viewBox="0 0 48 48"
|
|
24
|
-
fill="none"
|
|
25
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
26
|
-
>
|
|
27
|
-
<path d="M48 0H0V48H48V0Z" fill="black"></path>
|
|
28
|
-
<path
|
|
29
|
-
fillRule="evenodd"
|
|
30
|
-
clipRule="evenodd"
|
|
31
|
-
d="M48 48H0V0H48V48Z"
|
|
32
|
-
fill="#FF7900"
|
|
33
|
-
></path>
|
|
34
|
-
<path
|
|
35
|
-
d="M5.9078 44.1298C4.1702 44.1298 2.60156 43.0229 2.60156 40.6047C2.60156 38.1855 4.16924 37.0796 5.9078 37.0796C7.6454 37.0796 9.21116 38.1865 9.21116 40.6047C9.21116 43.0229 7.64636 44.1298 5.9078 44.1298ZM5.9078 38.5657C4.59356 38.5657 4.35356 39.7494 4.35356 40.6047C4.35356 41.4591 4.59356 42.6457 5.9078 42.6457C7.22204 42.6457 7.46204 41.4601 7.46204 40.6047C7.46204 39.7503 7.22204 38.5657 5.9078 38.5657Z"
|
|
36
|
-
fill="white"
|
|
37
|
-
></path>
|
|
38
|
-
<path
|
|
39
|
-
fillRule="evenodd"
|
|
40
|
-
clipRule="evenodd"
|
|
41
|
-
d="M10.418 37.2559H12.0912V38.0412C12.41 37.6179 13.1952 37.1196 13.9316 37.1196C14.0016 37.1196 14.088 37.1196 14.16 37.1283V38.7795H14.0736C13.3095 38.7795 12.4733 38.8985 12.2026 39.4927V43.9356H10.418V37.2559Z"
|
|
42
|
-
fill="white"
|
|
43
|
-
></path>
|
|
44
|
-
<path
|
|
45
|
-
d="M18.831 43.3547C18.1777 43.7913 17.4087 44.0223 16.623 44.0181C15.375 44.0181 14.6367 43.1887 14.6367 42.0751C14.6367 40.5794 16.0114 39.7903 18.8444 39.4706V39.0981C18.8444 38.6133 18.4767 38.3291 17.7961 38.3291C17.1164 38.3291 16.5634 38.5989 16.165 39.0971L14.9794 38.4223C15.6015 37.5506 16.55 37.1147 17.8239 37.1147C19.5673 37.1147 20.5455 37.8703 20.5455 39.0981C20.5455 39.0981 20.5436 43.9269 20.5455 43.9394H18.9865L18.831 43.3547ZM16.3686 41.9474C16.3686 42.3967 16.6498 42.8162 17.1606 42.8162C17.7126 42.8162 18.2511 42.5877 18.7887 42.1125V40.5304C17.1471 40.733 16.3686 41.1573 16.3686 41.9474Z"
|
|
46
|
-
fill="white"
|
|
47
|
-
></path>
|
|
48
|
-
<path
|
|
49
|
-
fillRule="evenodd"
|
|
50
|
-
clipRule="evenodd"
|
|
51
|
-
d="M21.9336 37.4342L23.3899 37.2336L23.5512 38.0256C24.371 37.4246 25.0229 37.1059 25.8437 37.1059C27.2184 37.1059 27.9288 37.8355 27.9288 39.2793V43.9296H26.1691V39.5846C26.1691 38.7667 25.9579 38.399 25.3214 38.399C24.7973 38.399 24.2731 38.6361 23.6741 39.1392V43.9296H21.9336V37.4342Z"
|
|
52
|
-
fill="white"
|
|
53
|
-
></path>
|
|
54
|
-
<path
|
|
55
|
-
d="M32.2317 42.5003C33.5642 42.4907 33.6784 41.1323 33.6784 40.2491C33.6784 39.2008 33.1677 38.355 32.2192 38.355C31.5885 38.355 30.8819 38.8158 30.8819 40.3221C30.8819 41.1438 30.9405 42.5118 32.2317 42.5003ZM35.3671 37.2328V43.5582C35.3671 44.6718 35.2787 46.515 32.0983 46.5314C30.785 46.541 29.5658 46.013 29.3239 44.8677L31.0567 44.5874C31.1296 44.9166 31.3322 45.2421 32.3152 45.2421C33.2263 45.2421 33.664 44.8072 33.664 43.7637V42.9851L33.641 42.9611C33.3616 43.4622 32.9373 43.9355 31.9168 43.9355C30.3578 43.9355 29.1328 42.8546 29.1328 40.5966C29.1328 38.3627 30.3981 37.1118 31.817 37.109C33.1514 37.107 33.6429 37.7147 33.76 38.0334L33.736 38.0315L33.8829 37.2328H35.3671ZM39.5709 44.0584C37.6029 44.0584 36.4279 42.7912 36.4279 40.5928C36.4279 38.3704 37.6163 37.1051 39.5431 37.1051C41.4698 37.1051 42.616 38.3339 42.616 40.5045C42.616 40.6216 42.6016 40.7349 42.6016 40.8501H38.1539C38.1664 42.1173 38.6925 42.7557 39.7274 42.7557C40.3907 42.7557 40.8314 42.4869 41.2442 41.9003L42.5306 42.6136C41.9642 43.5611 40.9427 44.0584 39.5709 44.0584ZM40.8899 39.7096C40.8899 38.8178 40.3773 38.2917 39.5431 38.2917C38.7482 38.2917 38.2519 38.8062 38.1827 39.7106L40.8899 39.7096ZM45.6256 34.7214L44.9776 36.3966L44.3191 34.7214H43.7546V36.9294H44.1203V35.0872H44.1299L44.8547 36.9304H45.088L45.808 35.0872H45.8195V36.9304H46.1824V34.7224L45.6256 34.7214ZM41.56 34.7214V35.0152H42.2503V36.9304H42.6151V35.0152H43.3072V34.7214H41.56Z"
|
|
56
|
-
fill="white"
|
|
57
|
-
></path>
|
|
58
|
-
</svg>
|
|
59
|
-
</a>
|
|
60
|
-
<div className="footer__grid">
|
|
61
|
-
<div>
|
|
62
|
-
<h5 className="footer__title">Eshop</h5>
|
|
63
|
-
<ul className="footer__list">
|
|
64
|
-
<li className="mb-small">
|
|
65
|
-
<a href="https://www.orange.sk/eshop/telefony">Telefóny</a>
|
|
66
|
-
</li>
|
|
67
|
-
<li className="mb-small">
|
|
68
|
-
<a href="https://www.orange.sk/eshop/prenos-cisla">
|
|
69
|
-
Prenos císla
|
|
70
|
-
</a>
|
|
71
|
-
</li>
|
|
72
|
-
<li className="mb-small">
|
|
73
|
-
<a href="https://www.orange.sk/eshop/akciove-ponuky">
|
|
74
|
-
Akciové ponuky v e-shope
|
|
75
|
-
</a>
|
|
76
|
-
</li>
|
|
77
|
-
<li className="mb-small">
|
|
78
|
-
<a href="https://www.orange.sk/eshop/sledovanie-objednavky">
|
|
79
|
-
Sledovanie objednávky
|
|
80
|
-
</a>
|
|
81
|
-
</li>
|
|
82
|
-
<li className="mb-small">
|
|
83
|
-
<a href="https://www.orange.sk/eshop/ponuka-love">Ponuka Love</a>
|
|
84
|
-
</li>
|
|
85
|
-
<li className="mb-small">
|
|
86
|
-
<a href="https://www.orange.sk/eshop/pevny-internet">
|
|
87
|
-
Pevny internet
|
|
88
|
-
</a>
|
|
89
|
-
</li>
|
|
90
|
-
<li className="mb-small">
|
|
91
|
-
<a href="https://www.orange.sk/eshop/orange-tv">Orange TV</a>
|
|
92
|
-
</li>
|
|
93
|
-
<li className="mb-small">
|
|
94
|
-
<a href="https://www.orange.sk/eshop/predajna-brozura">
|
|
95
|
-
Predajná brozúra
|
|
96
|
-
</a>
|
|
97
|
-
</li>
|
|
98
|
-
</ul>
|
|
99
|
-
</div>
|
|
100
|
-
<div>
|
|
101
|
-
<h5 className="footer__title">Služby</h5>
|
|
102
|
-
<ul className="footer__list">
|
|
103
|
-
<li className="mb-small">
|
|
104
|
-
<a href="https://www.orange.sk/sluzby/porovnanie-pausalov">
|
|
105
|
-
Porovnanie paušálov
|
|
106
|
-
</a>
|
|
107
|
-
</li>
|
|
108
|
-
<li className="mb-small">
|
|
109
|
-
<a href="https://www.orange.sk/sluzby/mobilny-internet">
|
|
110
|
-
Mobilný internet
|
|
111
|
-
</a>
|
|
112
|
-
</li>
|
|
113
|
-
<li className="mb-small">
|
|
114
|
-
<a href="https://www.orange.sk/sluzby/pevny-internet">
|
|
115
|
-
Pevný internet
|
|
116
|
-
</a>
|
|
117
|
-
</li>
|
|
118
|
-
<li className="mb-small">
|
|
119
|
-
<a href="https://www.orange.sk/sluzby/televizia">Televízia</a>
|
|
120
|
-
</li>
|
|
121
|
-
<li className="mb-small">
|
|
122
|
-
<a href="https://www.orange.sk/sluzby/prima-volba">Prima Voľba</a>
|
|
123
|
-
</li>
|
|
124
|
-
<li className="mb-small">
|
|
125
|
-
<a href="https://www.orange.sk/sluzby/roaming">Roaming</a>
|
|
126
|
-
</li>
|
|
127
|
-
<li className="mb-small">
|
|
128
|
-
<a href="https://www.orange.sk/sluzby/doplnkove-sluzby">
|
|
129
|
-
Ostatné doplnkové služby
|
|
130
|
-
</a>
|
|
131
|
-
</li>
|
|
132
|
-
<li className="mb-small">
|
|
133
|
-
<a href="https://www.orange.sk/sluzby/moj-orange">Môj Orange</a>
|
|
134
|
-
</li>
|
|
135
|
-
</ul>
|
|
136
|
-
</div>
|
|
137
|
-
<div>
|
|
138
|
-
<h5 className="footer__title">Pomoc a podpora</h5>
|
|
139
|
-
<ul className="footer__list">
|
|
140
|
-
<li className="mb-small">
|
|
141
|
-
<a href="https://www.orange.sk/podpora/cennik">Cenník</a>
|
|
142
|
-
</li>
|
|
143
|
-
<li className="mb-small">
|
|
144
|
-
<a href="https://www.orange.sk/podpora/expertlinka">
|
|
145
|
-
Expertlinka
|
|
146
|
-
</a>
|
|
147
|
-
</li>
|
|
148
|
-
<li className="mb-small">
|
|
149
|
-
<a href="https://www.orange.sk/podpora/dobitie-kreditu">
|
|
150
|
-
Dobitie kreditu
|
|
151
|
-
</a>
|
|
152
|
-
</li>
|
|
153
|
-
<li className="mb-small">
|
|
154
|
-
<a href="https://www.orange.sk/podpora/reklamacie">
|
|
155
|
-
Reklamácie a riešenie sporov
|
|
156
|
-
</a>
|
|
157
|
-
</li>
|
|
158
|
-
<li className="mb-small">
|
|
159
|
-
<a href="https://www.orange.sk/podpora/zarucny-list">
|
|
160
|
-
Elektronický záručný list
|
|
161
|
-
</a>
|
|
162
|
-
</li>
|
|
163
|
-
<li className="mb-small">
|
|
164
|
-
<a href="https://www.orange.sk/podpora/gdpr">Nariadenie GDPR</a>
|
|
165
|
-
</li>
|
|
166
|
-
<li className="mb-small">
|
|
167
|
-
<a href="https://www.orange.sk/podpora/telemarketing">
|
|
168
|
-
Telemarketing
|
|
169
|
-
</a>
|
|
170
|
-
</li>
|
|
171
|
-
<li className="mb-small">
|
|
172
|
-
<a href="https://www.orange.sk/podpora/mapa-pokrytia">
|
|
173
|
-
Mapa pokrytia
|
|
174
|
-
</a>
|
|
175
|
-
</li>
|
|
176
|
-
</ul>
|
|
177
|
-
</div>
|
|
178
|
-
<div>
|
|
179
|
-
<h5 className="footer__title">O nás</h5>
|
|
180
|
-
<ul className="footer__list">
|
|
181
|
-
<li className="mb-small">
|
|
182
|
-
<a href="https://www.orange.sk/sluzby/kariera">Kariéra</a>
|
|
183
|
-
</li>
|
|
184
|
-
<li className="mb-small">
|
|
185
|
-
<a href="https://www.orange.sk/sluzby/tlacove-spravy">
|
|
186
|
-
Tlačové správy
|
|
187
|
-
</a>
|
|
188
|
-
</li>
|
|
189
|
-
<li className="mb-small">
|
|
190
|
-
<a href="https://www.orange.sk/sluzby/predajne">Predajne</a>
|
|
191
|
-
</li>
|
|
192
|
-
<li className="mb-small">
|
|
193
|
-
<a href="https://www.orange.sk/sluzby/zodpovednost">
|
|
194
|
-
Spoločenská zodpovednosť
|
|
195
|
-
</a>
|
|
196
|
-
</li>
|
|
197
|
-
<li className="mb-small">
|
|
198
|
-
<a href="https://www.orange.sk/sluzby/bez-nastrah-online">
|
|
199
|
-
Bez nástrah online
|
|
200
|
-
</a>
|
|
201
|
-
</li>
|
|
202
|
-
<li className="mb-small">
|
|
203
|
-
<a href="https://www.orange.sk/sluzby/nadacia-orange">
|
|
204
|
-
Nadácia Orange
|
|
205
|
-
</a>
|
|
206
|
-
</li>
|
|
207
|
-
<li className="mb-small">
|
|
208
|
-
<a href="https://www.orange.sk/sluzby/pre-developerov">
|
|
209
|
-
Orange pre developerov
|
|
210
|
-
</a>
|
|
211
|
-
</li>
|
|
212
|
-
<li className="mb-small">
|
|
213
|
-
<a href="https://www.orange.sk/sluzby/pre-stavebnikov">
|
|
214
|
-
Informácie pre stavebníkov
|
|
215
|
-
</a>
|
|
216
|
-
</li>
|
|
217
|
-
</ul>
|
|
218
|
-
</div>
|
|
219
|
-
</div>
|
|
220
|
-
<hr />
|
|
221
|
-
<p>Sledujte nás</p>
|
|
222
|
-
<hr />
|
|
223
|
-
<div className="footer__bottom">
|
|
224
|
-
<ul className="footer__list footer__list--inline">
|
|
225
|
-
<li className="mr-small">
|
|
226
|
-
<a href="https://www.orange.sk/kontakt">Kontakt</a>
|
|
227
|
-
</li>
|
|
228
|
-
<li className="mr-small">
|
|
229
|
-
<a href="https://www.orange.sk/nastavenia-cookies">
|
|
230
|
-
Nastavenia cookies
|
|
231
|
-
</a>
|
|
232
|
-
</li>
|
|
233
|
-
<li className="mr-small">
|
|
234
|
-
<a href="https://www.orange.sk/sprava-osobnych-udajov">
|
|
235
|
-
Správa osobných údajov
|
|
236
|
-
</a>
|
|
237
|
-
</li>
|
|
238
|
-
<li className="mr-small">
|
|
239
|
-
<a href="https://www.orange.sk/vseobecne-podmienky">
|
|
240
|
-
Všeobecné podmienky
|
|
241
|
-
</a>
|
|
242
|
-
</li>
|
|
243
|
-
<li className="mr-small">
|
|
244
|
-
<a href="https://www.orange.sk/informacie-pre-uzivatelov">
|
|
245
|
-
Informácie pre koncových užívateľov
|
|
246
|
-
</a>
|
|
247
|
-
</li>
|
|
248
|
-
</ul>
|
|
249
|
-
<span className="footer__bottom-copyright">© 1997 - 2025 Orange</span>
|
|
250
|
-
</div>
|
|
251
|
-
</div>
|
|
252
|
-
</footer>
|
|
253
|
-
);
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
import { PromoBanner, Section } from "@orangesk/orange-design-system";
|
|
4
|
-
import { ArticleMeta } from "../ArticleMeta";
|
|
5
|
-
import { AvatarCard } from "../AvatarCard/AvatarCard";
|
|
6
|
-
import clsx from "clsx";
|
|
7
|
-
|
|
8
|
-
type HeroSectionProps = {
|
|
9
|
-
src?: string;
|
|
10
|
-
alt?: string;
|
|
11
|
-
subtitle: string;
|
|
12
|
-
title: React.ReactNode;
|
|
13
|
-
description: string;
|
|
14
|
-
readingTime?: string;
|
|
15
|
-
date?: string;
|
|
16
|
-
isReverse?: boolean;
|
|
17
|
-
avatarSrc?: string;
|
|
18
|
-
avatarName?: string;
|
|
19
|
-
avatarRole?: string;
|
|
20
|
-
className?: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export const HeroSection = ({
|
|
24
|
-
isReverse = false,
|
|
25
|
-
src,
|
|
26
|
-
alt,
|
|
27
|
-
subtitle,
|
|
28
|
-
title = (
|
|
29
|
-
<>
|
|
30
|
-
Kľúč k udržateľnej
|
|
31
|
-
<br />
|
|
32
|
-
budúcnosti
|
|
33
|
-
</>
|
|
34
|
-
),
|
|
35
|
-
description,
|
|
36
|
-
readingTime,
|
|
37
|
-
date,
|
|
38
|
-
className,
|
|
39
|
-
avatarSrc,
|
|
40
|
-
avatarName,
|
|
41
|
-
avatarRole,
|
|
42
|
-
}: HeroSectionProps) => (
|
|
43
|
-
<Section className={clsx(className)} spacing="default">
|
|
44
|
-
<PromoBanner image={src} variant={isReverse ? "reverse" : undefined}>
|
|
45
|
-
<p className="mb-xsmall">{subtitle}</p>
|
|
46
|
-
<h1 className="h1 thin mb-small">{title}</h1>
|
|
47
|
-
<p>{description}</p>
|
|
48
|
-
{avatarSrc && avatarName && avatarRole && (
|
|
49
|
-
<AvatarCard
|
|
50
|
-
src={avatarSrc}
|
|
51
|
-
name={avatarName}
|
|
52
|
-
role={avatarRole}
|
|
53
|
-
className="order-2-md"
|
|
54
|
-
/>
|
|
55
|
-
)}
|
|
56
|
-
{readingTime && date && (
|
|
57
|
-
<ArticleMeta
|
|
58
|
-
readingTime={readingTime}
|
|
59
|
-
date={date}
|
|
60
|
-
className={clsx("order-1-md", {
|
|
61
|
-
"mb-none": !avatarSrc && !avatarName && !avatarRole,
|
|
62
|
-
})}
|
|
63
|
-
/>
|
|
64
|
-
)}
|
|
65
|
-
</PromoBanner>
|
|
66
|
-
</Section>
|
|
67
|
-
);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { HeroSection } from "./HeroSection";
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import Markdown from "markdown-to-jsx";
|
|
3
|
-
import { Link } from "@orangesk/orange-design-system";
|
|
4
|
-
|
|
5
|
-
export const markdownOptions = {
|
|
6
|
-
wrapper: React.Fragment,
|
|
7
|
-
forceWrapper: true,
|
|
8
|
-
overrides: {
|
|
9
|
-
a: {
|
|
10
|
-
component: Link,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
namedCodesToUnicode: {
|
|
14
|
-
hash: "\u0023",
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
interface MarkdownElementProps {
|
|
19
|
-
options?: typeof markdownOptions;
|
|
20
|
-
autoP?: boolean;
|
|
21
|
-
children: ReactNode;
|
|
22
|
-
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const MarkdownElement: React.FC<MarkdownElementProps> = ({
|
|
27
|
-
options,
|
|
28
|
-
autoP,
|
|
29
|
-
children,
|
|
30
|
-
...props
|
|
31
|
-
}) =>
|
|
32
|
-
React.createElement(
|
|
33
|
-
Markdown,
|
|
34
|
-
// @ts-expect-error Unknown error
|
|
35
|
-
{
|
|
36
|
-
options: {
|
|
37
|
-
...markdownOptions,
|
|
38
|
-
...options,
|
|
39
|
-
},
|
|
40
|
-
...props,
|
|
41
|
-
},
|
|
42
|
-
autoP
|
|
43
|
-
? `
|
|
44
|
-
${children}
|
|
45
|
-
`
|
|
46
|
-
: children,
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
export default MarkdownElement;
|