rk-designsystem 1.3.0 → 1.3.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 +14 -7
- package/dist/assets/images/ChevronLeftIcon.js +31 -0
- package/dist/assets/images/ChevronRightIcon.js +31 -0
- package/dist/components/Alert/index.js +16 -0
- package/dist/components/Avatar/index.js +9 -0
- package/dist/components/Badge/index.js +11 -0
- package/dist/components/Breadcrumbs/index.js +9 -0
- package/dist/components/Button/index.js +11 -0
- package/dist/components/Card/index.js +8 -0
- package/dist/components/Carousel/index.js +379 -0
- package/dist/components/Carousel/styles.module.css.js +38 -0
- package/dist/components/Checkbox/index.js +10 -0
- package/dist/components/Chip/index.js +6 -0
- package/dist/components/DateInput/index.js +258 -0
- package/dist/components/DateInput/styles.module.css.js +20 -0
- package/dist/components/DatePicker/index.js +360 -0
- package/dist/components/DatePicker/styles.module.css.js +30 -0
- package/dist/components/Details/index.js +6 -0
- package/dist/components/Dialog/index.js +6 -0
- package/dist/components/Divider/index.js +6 -0
- package/dist/components/Donor/index.js +382 -0
- package/dist/components/Donor/styles.module.css.js +42 -0
- package/dist/components/Dropdown/index.js +12 -0
- package/dist/components/ErrorSummary/index.js +6 -0
- package/dist/components/Field/index.js +10 -0
- package/dist/components/Fieldset/index.js +6 -0
- package/dist/components/Footer/index.js +722 -0
- package/dist/components/Footer/styles.module.css.js +138 -0
- package/dist/components/GraphicElement/index.js +317 -0
- package/dist/components/GraphicElement/styles.module.css.js +16 -0
- package/dist/components/Header/index.js +677 -0
- package/dist/components/Header/styles.module.css.js +114 -0
- package/dist/components/Heading/index.js +9 -0
- package/dist/components/Input/index.js +7 -0
- package/dist/components/Label/index.js +9 -0
- package/dist/components/Link/index.js +6 -0
- package/dist/components/List/index.js +6 -0
- package/dist/components/Pagination/index.js +11 -0
- package/dist/components/Paragraph/index.js +11 -0
- package/dist/components/Popover/index.js +6 -0
- package/dist/components/Radio/index.js +7 -0
- package/dist/components/Search/index.js +10 -0
- package/dist/components/Select/index.js +6 -0
- package/dist/components/SkeletonLoader/index.js +6 -0
- package/dist/components/SkipLink/index.js +6 -0
- package/dist/components/SpinnerLoader/index.js +6 -0
- package/dist/components/Suggestion/index.js +7 -0
- package/dist/components/Switch/index.js +6 -0
- package/dist/components/Table/index.js +6 -0
- package/dist/components/Tabs/index.js +6 -0
- package/dist/components/Tag/index.js +14 -0
- package/dist/components/Textarea/index.js +6 -0
- package/dist/components/Textfield/index.js +6 -0
- package/dist/components/ToggleGroup/index.js +6 -0
- package/dist/components/Tooltip/index.js +6 -0
- package/dist/components/ValidationMessage/index.js +9 -0
- package/dist/context/LanguageContext.js +91 -0
- package/dist/index.d.ts +170 -147
- package/dist/index.js +118 -0
- package/dist/rk-designsystem.css +1 -1
- package/dist/{componentlibrary.es.js → translations/index.js} +267 -3904
- package/dist/utils/search-index.js +106 -0
- package/package.json +21 -35
- package/dist/componentlibrary.umd.js +0 -1266
|
@@ -0,0 +1,722 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as i, jsx as t, Fragment as ie } from "react/jsx-runtime";
|
|
3
|
+
import B from "react";
|
|
4
|
+
import e from "./styles.module.css.js";
|
|
5
|
+
import { Link as c } from "../Link/index.js";
|
|
6
|
+
import { Button as ne } from "../Button/index.js";
|
|
7
|
+
import { Input as le } from "../Input/index.js";
|
|
8
|
+
import { GraphicElement as u } from "../GraphicElement/index.js";
|
|
9
|
+
import { useLanguageOptional as se } from "../../context/LanguageContext.js";
|
|
10
|
+
const xe = ({
|
|
11
|
+
"data-color": h = "neutral",
|
|
12
|
+
variant: a = "default",
|
|
13
|
+
colorScheme: D,
|
|
14
|
+
columns: v,
|
|
15
|
+
showGraphicElements: m = !1,
|
|
16
|
+
newsletterDescription: I = "Tekst om rødekors som kan være rundt 2 linjebrudd i lengde.",
|
|
17
|
+
newsletterPlaceholder: X = "Input tekst",
|
|
18
|
+
newsletterButtonText: E = "Meld deg på",
|
|
19
|
+
newsletterConsentText: F,
|
|
20
|
+
onNewsletterSubmit: C,
|
|
21
|
+
hideNewsletter: K = !1,
|
|
22
|
+
shortcutsLinks: O,
|
|
23
|
+
linksLinks: G,
|
|
24
|
+
shortcutsTitle: M,
|
|
25
|
+
linksTitle: P,
|
|
26
|
+
visitingAddress: w = ["Hausmannsgate 7 (Korsegården)", "0186 Oslo"],
|
|
27
|
+
organizationNumber: N = "XXX XXX XXX",
|
|
28
|
+
email: b = "post@redcross.no",
|
|
29
|
+
showPrimaryLogo: z = !0,
|
|
30
|
+
primaryLogoSrc: d,
|
|
31
|
+
primaryLogoAlt: k = "Røde Kors Logo",
|
|
32
|
+
whiteSectionSlot: f,
|
|
33
|
+
socialLinks: T = [],
|
|
34
|
+
contactPersons: R = [],
|
|
35
|
+
legalLinks: g = [],
|
|
36
|
+
socialLinksTitle: H,
|
|
37
|
+
contactPersonsTitle: S
|
|
38
|
+
} = {}) => {
|
|
39
|
+
const $ = (/* @__PURE__ */ new Date()).getFullYear(), { t: W } = se(), L = h === "primary" ? "primary-color-red" : h === "additional" ? "additional-color-ocean" : h, [V, Y] = B.useState(""), l = (n, s) => {
|
|
40
|
+
const r = W(n);
|
|
41
|
+
return r === n ? s : r;
|
|
42
|
+
};
|
|
43
|
+
B.useEffect(() => {
|
|
44
|
+
const n = "rk-footer-inline-styles";
|
|
45
|
+
if (typeof document > "u" || document.getElementById(n)) return;
|
|
46
|
+
const s = re(e), r = document.createElement("style");
|
|
47
|
+
r.id = n, r.textContent = s, document.head.prepend(r);
|
|
48
|
+
}, []);
|
|
49
|
+
const A = (n) => {
|
|
50
|
+
n.preventDefault(), C == null || C(V);
|
|
51
|
+
}, y = () => /* @__PURE__ */ i(
|
|
52
|
+
"svg",
|
|
53
|
+
{
|
|
54
|
+
width: "170",
|
|
55
|
+
height: "119",
|
|
56
|
+
viewBox: "24 0 170 119",
|
|
57
|
+
fill: "none",
|
|
58
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
59
|
+
"aria-hidden": !0,
|
|
60
|
+
focusable: "false",
|
|
61
|
+
className: e.redCrossLogo,
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ t("path", { d: "M76.1036 48.1397C77.8925 47.8781 79.6984 47.7525 81.5061 47.7639C84.1713 47.7639 86.0396 48.1669 87.3182 49.1857C87.8735 49.639 88.3149 50.2176 88.6067 50.8744C88.8984 51.5312 89.0323 52.2479 88.9974 52.9665C88.9839 53.9451 88.6724 54.896 88.1049 55.691C87.5373 56.4861 86.7411 57.087 85.8235 57.4129V57.4944C87.0796 58.006 87.7684 59.2104 88.2231 60.8722C88.7813 62.9097 89.3441 65.2688 89.6907 65.9661H85.5309C85.2382 65.4544 84.7835 63.9829 84.2793 61.7597C83.7751 59.5365 83.0097 58.8527 81.344 58.8527H80.1284V65.9661H76.1036V48.1397ZM80.1284 55.9141H81.7312C83.7526 55.9141 84.9546 54.8954 84.9546 53.3151C84.9546 51.6534 83.8336 50.8202 81.9698 50.7931C81.3532 50.7814 80.7368 50.8268 80.1284 50.9289V55.9141Z", fill: "#1E1E1E" }),
|
|
64
|
+
/* @__PURE__ */ t("path", { d: "M97.8528 52.5633C98.9439 52.5351 100.026 52.7744 101.004 53.2606L102.256 51.4087L103.669 52.4003L102.467 54.2115C103.188 54.8589 103.758 55.6585 104.137 56.5531C104.515 57.4478 104.692 58.4154 104.655 59.3869C104.655 64.0506 101.243 66.2738 97.8573 66.2738C96.7852 66.2984 95.7234 66.059 94.7644 65.5765L93.4543 67.4556L92.1037 66.387L93.2787 64.6438C91.8651 63.4892 91.0277 61.7233 91.0277 59.414C91.0277 55.2891 93.7965 52.5543 97.8213 52.5543L97.8528 52.5633ZM99.2934 55.9411C98.8798 55.6237 98.3731 55.4533 97.8528 55.4566C95.7458 55.4566 94.949 57.5757 94.949 59.4005C94.9265 60.126 95.0909 60.845 95.4262 61.4878L95.4802 61.515L99.2934 55.9411ZM96.4932 62.8552C96.8653 63.1843 97.3486 63.3576 97.8438 63.3397C99.6446 63.3397 100.748 61.7821 100.748 59.4774C100.76 58.7777 100.625 58.0833 100.351 57.4399L100.27 57.4127L96.4932 62.8552Z", fill: "#1E1E1E" }),
|
|
65
|
+
/* @__PURE__ */ t("path", { d: "M119.76 46.9351V62.0537C119.76 63.5253 119.814 65.0829 119.868 65.9659H116.266L116.077 64.037H116.01C115.593 64.7375 114.998 65.3131 114.285 65.7041C113.573 66.095 112.769 66.287 111.958 66.2602C108.865 66.2602 106.384 63.6068 106.384 59.5317C106.384 55.1079 109.085 52.5632 112.237 52.5632C113.835 52.5632 115.087 53.1247 115.676 54.0393H115.726V46.9351H119.76ZM115.708 58.4088C115.708 58.1914 115.681 57.8971 115.658 57.6843C115.556 57.1295 115.266 56.6274 114.838 56.2627C114.41 55.8981 113.869 55.6933 113.308 55.683C111.467 55.683 110.508 57.3447 110.508 59.4094C110.508 61.6327 111.602 63.0318 113.281 63.0318C113.838 63.0337 114.378 62.8389 114.807 62.4814C115.235 62.1239 115.526 61.6264 115.627 61.0757C115.702 60.7676 115.737 60.451 115.73 60.1339L115.708 58.4088Z", fill: "#1E1E1E" }),
|
|
66
|
+
/* @__PURE__ */ t("path", { d: "M126.13 60.6869C126.265 62.3758 127.931 63.1772 129.808 63.1772C131.029 63.1934 132.245 63.013 133.41 62.6429L133.946 65.4049C132.438 65.9752 130.838 66.2562 129.227 66.2335C124.802 66.2335 122.272 63.6345 122.272 59.5322C122.272 56.2088 124.325 52.5366 128.854 52.5366C133.063 52.5366 134.666 55.8329 134.666 59.0794C134.666 59.6271 134.62 60.1738 134.531 60.714L126.13 60.6869ZM130.902 57.8977C130.902 56.9061 130.475 55.2443 128.611 55.2443C126.904 55.2443 126.211 56.8246 126.103 57.8977H130.902Z", fill: "#1E1E1E" }),
|
|
67
|
+
/* @__PURE__ */ t("path", { d: "M142.603 47.8994H146.623V55.8866H146.7C147.1 55.1893 147.501 54.5283 147.929 53.9034L151.981 47.8994H156.978L151.035 55.5969L157.297 65.9703H152.57L148.172 58.1687L146.623 60.0704V65.9567H142.598L142.603 47.8994Z", fill: "#1E1E1E" }),
|
|
68
|
+
/* @__PURE__ */ t("path", { d: "M164.294 66.2599C160.485 66.2599 157.541 63.7424 157.541 59.5043C157.541 55.2662 160.309 52.563 164.496 52.563C168.494 52.563 171.159 55.325 171.159 59.2643C171.159 64.0639 167.774 66.2599 164.307 66.2599H164.294ZM164.375 63.3394C165.946 63.3394 166.959 61.7592 166.959 59.4001C166.959 57.4395 166.216 55.4563 164.375 55.4563C162.43 55.4563 161.709 57.4667 161.709 59.4001C161.709 61.6641 162.641 63.3394 164.348 63.3394H164.375Z", fill: "#1E1E1E" }),
|
|
69
|
+
/* @__PURE__ */ t("path", { d: "M173.676 57.1727C173.676 55.2438 173.622 54.0031 173.568 52.8576H177.062L177.197 55.271H177.3C177.535 54.507 178 53.8353 178.63 53.3486C179.261 52.8619 180.026 52.5843 180.821 52.5542C181.105 52.5425 181.391 52.5607 181.672 52.6086V56.4392C181.303 56.3736 180.93 56.3387 180.555 56.335C179.06 56.335 178.048 57.1365 177.782 58.3997C177.726 58.6983 177.699 59.0015 177.701 59.3053V65.9659H173.649L173.676 57.1727Z", fill: "#1E1E1E" }),
|
|
70
|
+
/* @__PURE__ */ t("path", { d: "M183.752 62.4023C184.824 62.9936 186.018 63.3283 187.241 63.3803C188.47 63.3803 188.974 62.9275 188.974 62.28C188.974 61.6325 188.573 61.2613 187.056 60.7768C184.355 59.8712 183.351 58.3951 183.351 56.8375C183.351 54.3969 185.404 52.5496 188.654 52.5496C189.92 52.5283 191.175 52.7848 192.332 53.3012L191.612 56.1357C190.741 55.6712 189.775 55.4155 188.789 55.3886C187.803 55.3886 187.241 55.787 187.241 56.4571C187.241 57.1273 187.749 57.4216 189.348 57.9604C191.828 58.8162 192.868 60.0795 192.891 62.0084C192.891 64.4444 190.973 66.2691 187.241 66.2691C185.784 66.2951 184.341 65.974 183.031 65.3318L183.752 62.4023Z", fill: "#1E1E1E" }),
|
|
71
|
+
/* @__PURE__ */ t("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
|
|
72
|
+
/* @__PURE__ */ t("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
), x = [
|
|
76
|
+
{ label: l("footer.shortcutsLinks.services", "Tilbudene"), href: "#" },
|
|
77
|
+
{ label: l("footer.shortcutsLinks.volunteer", "Bli frivillig"), href: "#" },
|
|
78
|
+
{ label: l("footer.shortcutsLinks.ourWork", "Vårt arbeid"), href: "#" },
|
|
79
|
+
{ label: l("footer.shortcutsLinks.about", "Om Røde Kors"), href: "#" },
|
|
80
|
+
{ label: l("footer.shortcutsLinks.support", "Støtt arbeidet"), href: "#" },
|
|
81
|
+
{ label: l("footer.shortcutsLinks.contact", "Kontakt oss"), href: "#" }
|
|
82
|
+
], j = [
|
|
83
|
+
{ label: l("footer.legal.privacy", "Personvern"), href: "#" },
|
|
84
|
+
{ label: l("footer.legal.press", "For presse"), href: "#" },
|
|
85
|
+
{ label: l("footer.legal.procurement", "Regler for innkjøp"), href: "#" },
|
|
86
|
+
{ label: l("footer.legal.whistleblowing", "Varsling/Misconduct"), href: "#" }
|
|
87
|
+
], q = /* @__PURE__ */ i(ie, { children: [
|
|
88
|
+
'Ved å trykke "',
|
|
89
|
+
E,
|
|
90
|
+
'" samtykker du til å motta nyhetsbrev.',
|
|
91
|
+
/* @__PURE__ */ t("br", {}),
|
|
92
|
+
"Du kan når som helst ",
|
|
93
|
+
/* @__PURE__ */ t(c, { href: "#", children: "melde deg av" }),
|
|
94
|
+
" nyhetsbrevet uten kostnad."
|
|
95
|
+
] }), J = O || x, Q = G || j, U = () => /* @__PURE__ */ i("div", { className: e.socialLinksSection, children: [
|
|
96
|
+
H && /* @__PURE__ */ t("h3", { className: e.socialLinksTitle, children: H }),
|
|
97
|
+
/* @__PURE__ */ t("ul", { className: e.socialLinksList, children: T.map((n, s) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ i(c, { href: n.href, className: e.socialLink, children: [
|
|
98
|
+
/* @__PURE__ */ t("span", { className: e.socialLinkIcon, children: n.icon }),
|
|
99
|
+
n.label
|
|
100
|
+
] }) }, s)) })
|
|
101
|
+
] }), _ = ({ person: n }) => /* @__PURE__ */ i("div", { className: e.contactPersonCard, children: [
|
|
102
|
+
/* @__PURE__ */ t("p", { className: e.contactPersonName, children: n.name }),
|
|
103
|
+
/* @__PURE__ */ t("p", { className: e.contactPersonRole, children: n.role }),
|
|
104
|
+
/* @__PURE__ */ i("div", { className: e.contactPersonDetails, children: [
|
|
105
|
+
/* @__PURE__ */ i("p", { className: e.contactPersonEmail, children: [
|
|
106
|
+
/* @__PURE__ */ i("span", { className: e.contactPersonLabel, children: [
|
|
107
|
+
l("footer.contact.email", "E-post"),
|
|
108
|
+
":"
|
|
109
|
+
] }),
|
|
110
|
+
" ",
|
|
111
|
+
/* @__PURE__ */ t(c, { href: `mailto:${n.email}`, children: n.email })
|
|
112
|
+
] }),
|
|
113
|
+
n.phone && /* @__PURE__ */ i("p", { className: e.contactPersonPhone, children: [
|
|
114
|
+
/* @__PURE__ */ i("span", { className: e.contactPersonLabel, children: [
|
|
115
|
+
l("footer.contact.phone", "Telefon"),
|
|
116
|
+
":"
|
|
117
|
+
] }),
|
|
118
|
+
" ",
|
|
119
|
+
n.phone
|
|
120
|
+
] }),
|
|
121
|
+
n.address && /* @__PURE__ */ t("p", { className: e.contactPersonAddress, children: n.address })
|
|
122
|
+
] })
|
|
123
|
+
] }), ee = () => /* @__PURE__ */ i("div", { className: e.contactPersonsSection, children: [
|
|
124
|
+
S && /* @__PURE__ */ t("h3", { className: e.contactPersonsTitle, children: S }),
|
|
125
|
+
/* @__PURE__ */ t("div", { className: e.contactPersonsGrid, children: R.map((n, s) => /* @__PURE__ */ t(_, { person: n }, s)) })
|
|
126
|
+
] }), te = () => /* @__PURE__ */ t("ul", { className: e.legalLinksRow, children: g.map((n, s) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: n.href, className: e.legalLink, children: n.label }) }, s)) });
|
|
127
|
+
if (a === "columns") {
|
|
128
|
+
const n = [
|
|
129
|
+
{
|
|
130
|
+
title: l("footer.contact.title", "Kontakt"),
|
|
131
|
+
links: x
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
title: l("footer.bidra", "Bidra"),
|
|
135
|
+
links: x
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
title: l("footer.shortcuts", "Snarveier"),
|
|
139
|
+
links: x
|
|
140
|
+
}
|
|
141
|
+
], s = v && v.length > 0 ? v : n, r = g.length > 0 ? g : j;
|
|
142
|
+
return /* @__PURE__ */ i("footer", { className: e.footer, "data-color": L, "data-color-scheme": D, children: [
|
|
143
|
+
/* @__PURE__ */ t("div", { className: e.dpMain, children: /* @__PURE__ */ i("div", { className: e.dpContainer, children: [
|
|
144
|
+
/* @__PURE__ */ t("div", { className: e.dpColumns, children: s.map((o, p) => /* @__PURE__ */ i("nav", { className: e.dpColumn, "aria-label": o.title, children: [
|
|
145
|
+
/* @__PURE__ */ t("h3", { className: e.dpColTitle, children: o.title }),
|
|
146
|
+
/* @__PURE__ */ t("ul", { className: e.dpList, children: o.links.map((Z, ae) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: Z.href, className: e.dpLink, children: Z.label }) }, ae)) })
|
|
147
|
+
] }, p)) }),
|
|
148
|
+
/* @__PURE__ */ t("hr", { className: e.dpDivider }),
|
|
149
|
+
/* @__PURE__ */ i("div", { className: e.dpMeta, children: [
|
|
150
|
+
/* @__PURE__ */ i("div", { className: e.dpMetaCol, children: [
|
|
151
|
+
/* @__PURE__ */ t("h4", { className: e.dpMetaTitle, children: l("footer.contact.visitingAddress", "Besøksadresse") }),
|
|
152
|
+
w.map((o, p) => /* @__PURE__ */ t("p", { className: e.dpMetaText, children: o }, p))
|
|
153
|
+
] }),
|
|
154
|
+
/* @__PURE__ */ i("div", { className: e.dpMetaCol, children: [
|
|
155
|
+
/* @__PURE__ */ t("h4", { className: e.dpMetaTitle, children: l("footer.contact.organizationNumber", "Organisasjonsnummer") }),
|
|
156
|
+
/* @__PURE__ */ t("p", { className: e.dpMetaText, children: N })
|
|
157
|
+
] }),
|
|
158
|
+
/* @__PURE__ */ i("div", { className: e.dpMetaCol, children: [
|
|
159
|
+
/* @__PURE__ */ t("h4", { className: e.dpMetaTitle, children: l("footer.contact.email", "E-post") }),
|
|
160
|
+
/* @__PURE__ */ t("p", { className: e.dpMetaText, children: b })
|
|
161
|
+
] })
|
|
162
|
+
] }),
|
|
163
|
+
/* @__PURE__ */ t("hr", { className: e.dpDivider }),
|
|
164
|
+
/* @__PURE__ */ i("div", { className: e.dpBottom, children: [
|
|
165
|
+
/* @__PURE__ */ t("ul", { className: e.dpLegal, children: r.map((o, p) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: o.href, className: e.dpLegalLink, children: o.label }) }, p)) }),
|
|
166
|
+
/* @__PURE__ */ i("p", { className: e.dpCopyright, children: [
|
|
167
|
+
"© ",
|
|
168
|
+
$,
|
|
169
|
+
" ",
|
|
170
|
+
l("footer.copyright", "Røde Kors")
|
|
171
|
+
] })
|
|
172
|
+
] })
|
|
173
|
+
] }) }),
|
|
174
|
+
z && /* @__PURE__ */ t("div", { className: e.whiteSection, "data-color-scheme": "light", children: /* @__PURE__ */ t("div", { className: e.whiteContainer, children: /* @__PURE__ */ t("div", { className: e.whiteContent, children: d ? /* @__PURE__ */ t(
|
|
175
|
+
"img",
|
|
176
|
+
{
|
|
177
|
+
src: d,
|
|
178
|
+
alt: k,
|
|
179
|
+
className: e.logo,
|
|
180
|
+
loading: "lazy"
|
|
181
|
+
}
|
|
182
|
+
) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(y, {}) }) }) }) })
|
|
183
|
+
] });
|
|
184
|
+
}
|
|
185
|
+
return a === "contact" ? /* @__PURE__ */ i("footer", { className: e.footer, "data-color": L, children: [
|
|
186
|
+
/* @__PURE__ */ t("div", { className: e.mainSection, children: /* @__PURE__ */ i("div", { className: e.mainContainer, children: [
|
|
187
|
+
m && /* @__PURE__ */ t("div", { className: e.graphicElementTopRight, children: /* @__PURE__ */ t(u, { shape: "angle", position: "top-right", size: "md", "aria-hidden": !0 }) }),
|
|
188
|
+
/* @__PURE__ */ i("div", { className: e.contentRowContact, children: [
|
|
189
|
+
T.length > 0 && /* @__PURE__ */ t(U, {}),
|
|
190
|
+
R.length > 0 && /* @__PURE__ */ t(ee, {})
|
|
191
|
+
] }),
|
|
192
|
+
/* @__PURE__ */ t("div", { className: e.divider }),
|
|
193
|
+
/* @__PURE__ */ i("div", { className: e.contactSection, children: [
|
|
194
|
+
/* @__PURE__ */ i("div", { className: e.contactColumn, children: [
|
|
195
|
+
/* @__PURE__ */ t("h4", { className: e.contactTitle, children: l("footer.contact.visitingAddress", "Besøks adresse") }),
|
|
196
|
+
/* @__PURE__ */ t("div", { className: e.contactContent, children: w.map((n, s) => /* @__PURE__ */ t("p", { children: n }, s)) })
|
|
197
|
+
] }),
|
|
198
|
+
/* @__PURE__ */ i("div", { className: e.contactColumn, children: [
|
|
199
|
+
/* @__PURE__ */ t("h4", { className: e.contactTitle, children: l("footer.contact.organizationNumber", "Organisasjonsnummer") }),
|
|
200
|
+
/* @__PURE__ */ t("p", { className: e.contactContent, children: N })
|
|
201
|
+
] }),
|
|
202
|
+
/* @__PURE__ */ i("div", { className: e.contactColumn, children: [
|
|
203
|
+
/* @__PURE__ */ t("h4", { className: e.contactTitle, children: l("footer.contact.email", "E-post") }),
|
|
204
|
+
/* @__PURE__ */ t("p", { className: e.contactContent, children: b })
|
|
205
|
+
] })
|
|
206
|
+
] }),
|
|
207
|
+
/* @__PURE__ */ t("div", { className: e.divider }),
|
|
208
|
+
/* @__PURE__ */ i("div", { className: e.bottomRowContact, children: [
|
|
209
|
+
g.length > 0 && /* @__PURE__ */ t(te, {}),
|
|
210
|
+
/* @__PURE__ */ i("p", { className: e.copyrightText, children: [
|
|
211
|
+
"© ",
|
|
212
|
+
$,
|
|
213
|
+
" ",
|
|
214
|
+
l("footer.copyright", "Rødekors")
|
|
215
|
+
] })
|
|
216
|
+
] }),
|
|
217
|
+
m && /* @__PURE__ */ t("div", { className: e.graphicElementBottomLeft, children: /* @__PURE__ */ t(u, { shape: "angle", position: "bottom-left", size: "md", "aria-hidden": !0 }) })
|
|
218
|
+
] }) }),
|
|
219
|
+
/* @__PURE__ */ t("div", { className: e.whiteSection, children: /* @__PURE__ */ t("div", { className: e.whiteContainer, children: /* @__PURE__ */ i("div", { className: e.whiteContent, children: [
|
|
220
|
+
z && (d ? /* @__PURE__ */ t(
|
|
221
|
+
"img",
|
|
222
|
+
{
|
|
223
|
+
src: d,
|
|
224
|
+
alt: k,
|
|
225
|
+
className: e.logo,
|
|
226
|
+
loading: "lazy"
|
|
227
|
+
}
|
|
228
|
+
) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(y, {}) })),
|
|
229
|
+
f && /* @__PURE__ */ t("div", { className: e.slotLarge, children: f })
|
|
230
|
+
] }) }) })
|
|
231
|
+
] }) : /* @__PURE__ */ i("footer", { className: e.footer, "data-color": L, children: [
|
|
232
|
+
/* @__PURE__ */ t("div", { className: e.mainSection, children: /* @__PURE__ */ i("div", { className: e.mainContainer, children: [
|
|
233
|
+
m && /* @__PURE__ */ t("div", { className: e.graphicElementTopRight, children: /* @__PURE__ */ t(u, { shape: "angle", position: "top-right", size: "md", "aria-hidden": !0 }) }),
|
|
234
|
+
/* @__PURE__ */ i("div", { className: e.contentRow, children: [
|
|
235
|
+
!K && /* @__PURE__ */ i("div", { className: e.newsletterSection, children: [
|
|
236
|
+
/* @__PURE__ */ t("p", { className: e.newsletterDescription, children: I }),
|
|
237
|
+
/* @__PURE__ */ t("form", { className: e.newsletterForm, onSubmit: A, children: /* @__PURE__ */ i("div", { className: e.newsletterInputGroup, children: [
|
|
238
|
+
/* @__PURE__ */ t(
|
|
239
|
+
le,
|
|
240
|
+
{
|
|
241
|
+
type: "email",
|
|
242
|
+
placeholder: X,
|
|
243
|
+
value: V,
|
|
244
|
+
onChange: (n) => Y(n.target.value),
|
|
245
|
+
className: e.newsletterInput
|
|
246
|
+
}
|
|
247
|
+
),
|
|
248
|
+
/* @__PURE__ */ t(ne, { type: "submit", variant: "primary", "data-color": "neutral", children: E })
|
|
249
|
+
] }) }),
|
|
250
|
+
/* @__PURE__ */ t("p", { className: e.consentText, children: F || q })
|
|
251
|
+
] }),
|
|
252
|
+
/* @__PURE__ */ i("div", { className: e.linksSection, children: [
|
|
253
|
+
/* @__PURE__ */ i("nav", { className: e.linksColumn, "aria-label": M || l("footer.shortcuts", "Snarveier"), children: [
|
|
254
|
+
/* @__PURE__ */ t("h3", { className: e.linksTitle, children: M || l("footer.shortcuts", "Snarveier") }),
|
|
255
|
+
/* @__PURE__ */ t("ul", { className: e.linksList, children: J.map((n, s) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: n.href, className: e.footerLink, children: n.label }) }, s)) })
|
|
256
|
+
] }),
|
|
257
|
+
/* @__PURE__ */ i("nav", { className: e.linksColumn, "aria-label": P || l("footer.links", "Lenker"), children: [
|
|
258
|
+
/* @__PURE__ */ t("h3", { className: e.linksTitle, children: P || l("footer.links", "Lenker") }),
|
|
259
|
+
/* @__PURE__ */ t("ul", { className: e.linksList, children: Q.map((n, s) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: n.href, className: e.footerLink, children: n.label }) }, s)) })
|
|
260
|
+
] })
|
|
261
|
+
] })
|
|
262
|
+
] }),
|
|
263
|
+
/* @__PURE__ */ t("div", { className: e.divider }),
|
|
264
|
+
/* @__PURE__ */ i("div", { className: e.contactSection, children: [
|
|
265
|
+
/* @__PURE__ */ i("div", { className: e.contactColumn, children: [
|
|
266
|
+
/* @__PURE__ */ t("h4", { className: e.contactTitle, children: l("footer.contact.visitingAddress", "Besøks adresse") }),
|
|
267
|
+
/* @__PURE__ */ t("div", { className: e.contactContent, children: w.map((n, s) => /* @__PURE__ */ t("p", { children: n }, s)) })
|
|
268
|
+
] }),
|
|
269
|
+
/* @__PURE__ */ i("div", { className: e.contactColumn, children: [
|
|
270
|
+
/* @__PURE__ */ t("h4", { className: e.contactTitle, children: l("footer.contact.organizationNumber", "Organisasjonsnummer") }),
|
|
271
|
+
/* @__PURE__ */ t("p", { className: e.contactContent, children: N })
|
|
272
|
+
] }),
|
|
273
|
+
/* @__PURE__ */ i("div", { className: e.contactColumn, children: [
|
|
274
|
+
/* @__PURE__ */ t("h4", { className: e.contactTitle, children: l("footer.contact.email", "E-post") }),
|
|
275
|
+
/* @__PURE__ */ t("p", { className: e.contactContent, children: b })
|
|
276
|
+
] })
|
|
277
|
+
] }),
|
|
278
|
+
/* @__PURE__ */ t("div", { className: e.divider }),
|
|
279
|
+
/* @__PURE__ */ t("div", { className: e.copyrightSection, children: /* @__PURE__ */ i("p", { className: e.copyrightText, children: [
|
|
280
|
+
"© ",
|
|
281
|
+
$,
|
|
282
|
+
" ",
|
|
283
|
+
l("footer.copyright", "Rødekors")
|
|
284
|
+
] }) }),
|
|
285
|
+
m && /* @__PURE__ */ t("div", { className: e.graphicElementBottomLeft, children: /* @__PURE__ */ t(u, { shape: "angle", position: "bottom-left", size: "md", "aria-hidden": !0 }) })
|
|
286
|
+
] }) }),
|
|
287
|
+
/* @__PURE__ */ t("div", { className: e.whiteSection, children: /* @__PURE__ */ t("div", { className: e.whiteContainer, children: /* @__PURE__ */ i("div", { className: e.whiteContent, children: [
|
|
288
|
+
z && (d ? /* @__PURE__ */ t(
|
|
289
|
+
"img",
|
|
290
|
+
{
|
|
291
|
+
src: d,
|
|
292
|
+
alt: k,
|
|
293
|
+
className: e.logo,
|
|
294
|
+
loading: "lazy"
|
|
295
|
+
}
|
|
296
|
+
) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(y, {}) })),
|
|
297
|
+
f && /* @__PURE__ */ t("div", { className: e.slotLarge, children: f })
|
|
298
|
+
] }) }) })
|
|
299
|
+
] });
|
|
300
|
+
};
|
|
301
|
+
function re(h) {
|
|
302
|
+
const a = h;
|
|
303
|
+
return `
|
|
304
|
+
.${a.footer} {
|
|
305
|
+
margin-top: auto;
|
|
306
|
+
width: 100%;
|
|
307
|
+
}
|
|
308
|
+
.${a.mainSection} {
|
|
309
|
+
background-color: var(--ds-color-neutral-background-default, #ffffff);
|
|
310
|
+
width: 100%;
|
|
311
|
+
}
|
|
312
|
+
.${a.footer}[data-color] .${a.mainSection} {
|
|
313
|
+
background-color: var(--ds-color-background-tinted, #f5f5f5);
|
|
314
|
+
}
|
|
315
|
+
.${a.mainContainer} {
|
|
316
|
+
position: relative;
|
|
317
|
+
width: 100%;
|
|
318
|
+
max-width: 1440px;
|
|
319
|
+
margin: 0 auto;
|
|
320
|
+
padding: var(--ds-size-30, 120px) 175px;
|
|
321
|
+
box-sizing: border-box;
|
|
322
|
+
}
|
|
323
|
+
.${a.graphicElementTopRight} {
|
|
324
|
+
display: flex;
|
|
325
|
+
justify-content: flex-end;
|
|
326
|
+
width: 100%;
|
|
327
|
+
margin-bottom: var(--ds-size-6, 24px);
|
|
328
|
+
}
|
|
329
|
+
.${a.graphicElementBottomLeft} {
|
|
330
|
+
display: flex;
|
|
331
|
+
justify-content: flex-start;
|
|
332
|
+
width: 100%;
|
|
333
|
+
margin-top: var(--ds-size-6, 24px);
|
|
334
|
+
}
|
|
335
|
+
.${a.contentRow} {
|
|
336
|
+
display: flex;
|
|
337
|
+
justify-content: space-between;
|
|
338
|
+
align-items: flex-start;
|
|
339
|
+
gap: var(--ds-size-12, 48px);
|
|
340
|
+
padding: var(--ds-size-8, 32px) 0;
|
|
341
|
+
flex-wrap: wrap;
|
|
342
|
+
}
|
|
343
|
+
.${a.newsletterSection} {
|
|
344
|
+
display: flex;
|
|
345
|
+
flex-direction: column;
|
|
346
|
+
gap: var(--ds-size-6, 24px);
|
|
347
|
+
max-width: 440px;
|
|
348
|
+
}
|
|
349
|
+
.${a.newsletterDescription} {
|
|
350
|
+
font-size: var(--ds-font-size-5, 21px);
|
|
351
|
+
font-weight: var(--ds-font-weight-regular);
|
|
352
|
+
line-height: 1.5;
|
|
353
|
+
letter-spacing: 0.105px;
|
|
354
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
355
|
+
margin: 0;
|
|
356
|
+
}
|
|
357
|
+
.${a.newsletterForm} {
|
|
358
|
+
display: flex;
|
|
359
|
+
flex-direction: column;
|
|
360
|
+
gap: var(--ds-size-6, 24px);
|
|
361
|
+
}
|
|
362
|
+
.${a.newsletterInputGroup} {
|
|
363
|
+
display: flex;
|
|
364
|
+
gap: var(--ds-size-2, 8px);
|
|
365
|
+
align-items: flex-end;
|
|
366
|
+
}
|
|
367
|
+
.${a.newsletterInput} {
|
|
368
|
+
flex: 1;
|
|
369
|
+
min-width: 200px;
|
|
370
|
+
}
|
|
371
|
+
.${a.consentText} {
|
|
372
|
+
font-size: var(--ds-font-size-3, 16px);
|
|
373
|
+
font-weight: var(--ds-font-weight-regular);
|
|
374
|
+
line-height: 1.3;
|
|
375
|
+
letter-spacing: 0.04px;
|
|
376
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
377
|
+
margin: 0;
|
|
378
|
+
}
|
|
379
|
+
.${a.linksSection} {
|
|
380
|
+
display: flex;
|
|
381
|
+
gap: var(--ds-size-12, 48px);
|
|
382
|
+
flex-wrap: wrap;
|
|
383
|
+
}
|
|
384
|
+
.${a.linksColumn} {
|
|
385
|
+
display: flex;
|
|
386
|
+
flex-direction: column;
|
|
387
|
+
gap: var(--ds-size-2, 8px);
|
|
388
|
+
min-width: 150px;
|
|
389
|
+
}
|
|
390
|
+
.${a.linksTitle} {
|
|
391
|
+
font-size: var(--ds-font-size-7, 30px);
|
|
392
|
+
font-weight: var(--ds-font-weight-regular);
|
|
393
|
+
line-height: 1.3;
|
|
394
|
+
letter-spacing: -0.075px;
|
|
395
|
+
color: var(--ds-color-primary-color-red-text-subtle, #b42419);
|
|
396
|
+
margin: 0;
|
|
397
|
+
text-decoration: underline;
|
|
398
|
+
text-underline-offset: 4px;
|
|
399
|
+
}
|
|
400
|
+
.${a.linksList} {
|
|
401
|
+
list-style: none;
|
|
402
|
+
padding: 0;
|
|
403
|
+
margin: 0;
|
|
404
|
+
display: flex;
|
|
405
|
+
flex-direction: column;
|
|
406
|
+
gap: var(--ds-size-2, 8px);
|
|
407
|
+
}
|
|
408
|
+
.${a.footerLink} {
|
|
409
|
+
font-size: var(--ds-font-size-4, 18px);
|
|
410
|
+
font-weight: var(--ds-font-weight-regular);
|
|
411
|
+
line-height: 1.5;
|
|
412
|
+
letter-spacing: 0.09px;
|
|
413
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
414
|
+
text-decoration: underline;
|
|
415
|
+
text-underline-offset: 2px;
|
|
416
|
+
}
|
|
417
|
+
.${a.divider} {
|
|
418
|
+
width: 100%;
|
|
419
|
+
height: 1px;
|
|
420
|
+
background-color: var(--ds-color-neutral-border-subtle, #bcbcbc);
|
|
421
|
+
margin: var(--ds-size-6, 24px) 0;
|
|
422
|
+
}
|
|
423
|
+
.${a.contactSection} {
|
|
424
|
+
display: flex;
|
|
425
|
+
gap: var(--ds-size-6, 24px);
|
|
426
|
+
align-items: flex-start;
|
|
427
|
+
flex-wrap: wrap;
|
|
428
|
+
}
|
|
429
|
+
.${a.contactColumn} {
|
|
430
|
+
display: flex;
|
|
431
|
+
flex-direction: column;
|
|
432
|
+
gap: var(--ds-size-1, 4px);
|
|
433
|
+
flex: 1;
|
|
434
|
+
min-width: 200px;
|
|
435
|
+
}
|
|
436
|
+
.${a.contactTitle} {
|
|
437
|
+
font-size: var(--ds-font-size-3, 16px);
|
|
438
|
+
font-weight: var(--ds-font-weight-semibold);
|
|
439
|
+
line-height: 1.5;
|
|
440
|
+
letter-spacing: 0.04px;
|
|
441
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
442
|
+
margin: 0;
|
|
443
|
+
}
|
|
444
|
+
.${a.contactContent} {
|
|
445
|
+
font-size: var(--ds-font-size-3, 16px);
|
|
446
|
+
font-weight: var(--ds-font-weight-regular);
|
|
447
|
+
line-height: 1.5;
|
|
448
|
+
letter-spacing: 0.04px;
|
|
449
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
450
|
+
margin: 0;
|
|
451
|
+
}
|
|
452
|
+
.${a.contactContent} p {
|
|
453
|
+
margin: 0;
|
|
454
|
+
}
|
|
455
|
+
.${a.copyrightSection} {
|
|
456
|
+
display: flex;
|
|
457
|
+
align-items: center;
|
|
458
|
+
}
|
|
459
|
+
.${a.copyrightText} {
|
|
460
|
+
font-size: var(--ds-font-size-2, 14px);
|
|
461
|
+
font-weight: var(--ds-font-weight-regular);
|
|
462
|
+
line-height: 1.3;
|
|
463
|
+
letter-spacing: 0.021px;
|
|
464
|
+
color: var(--ds-color-neutral-text-subtle, #5d5d5d);
|
|
465
|
+
margin: 0;
|
|
466
|
+
}
|
|
467
|
+
.${a.whiteSection} {
|
|
468
|
+
background-color: white;
|
|
469
|
+
width: 100%;
|
|
470
|
+
}
|
|
471
|
+
.${a.whiteContainer} {
|
|
472
|
+
width: 100%;
|
|
473
|
+
max-width: 1440px;
|
|
474
|
+
margin: 0 auto;
|
|
475
|
+
padding: var(--ds-size-6, 24px) 175px;
|
|
476
|
+
box-sizing: border-box;
|
|
477
|
+
}
|
|
478
|
+
.${a.whiteContent} {
|
|
479
|
+
display: flex;
|
|
480
|
+
justify-content: space-between;
|
|
481
|
+
align-items: center;
|
|
482
|
+
gap: var(--ds-size-10, 40px);
|
|
483
|
+
flex-wrap: wrap;
|
|
484
|
+
}
|
|
485
|
+
.${a.logo} {
|
|
486
|
+
display: flex;
|
|
487
|
+
align-items: center;
|
|
488
|
+
justify-content: center;
|
|
489
|
+
height: 43px;
|
|
490
|
+
flex-shrink: 0;
|
|
491
|
+
}
|
|
492
|
+
.${a.redCrossLogo} {
|
|
493
|
+
width: 169px;
|
|
494
|
+
height: auto;
|
|
495
|
+
display: block;
|
|
496
|
+
}
|
|
497
|
+
.${a.slotLarge} {
|
|
498
|
+
background-color: var(--ds-color-neutral-surface-default, #ffffff);
|
|
499
|
+
border: 2px dashed var(--ds-color-neutral-border-default, #797979);
|
|
500
|
+
border-radius: var(--ds-border-radius-lg, 8px);
|
|
501
|
+
padding: var(--ds-size-6, 24px) var(--ds-size-3, 12px);
|
|
502
|
+
display: flex;
|
|
503
|
+
align-items: center;
|
|
504
|
+
justify-content: center;
|
|
505
|
+
flex: 1;
|
|
506
|
+
max-width: 596px;
|
|
507
|
+
min-width: 200px;
|
|
508
|
+
}
|
|
509
|
+
@media (max-width: 1024px) {
|
|
510
|
+
.${a.mainContainer} {
|
|
511
|
+
padding: var(--ds-size-15, 64px) var(--ds-size-8, 32px);
|
|
512
|
+
}
|
|
513
|
+
.${a.whiteContainer} {
|
|
514
|
+
padding: var(--ds-size-6, 24px) var(--ds-size-8, 32px);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
@media (max-width: 768px) {
|
|
518
|
+
.${a.contentRow} {
|
|
519
|
+
flex-direction: column;
|
|
520
|
+
}
|
|
521
|
+
.${a.newsletterSection} {
|
|
522
|
+
max-width: 100%;
|
|
523
|
+
}
|
|
524
|
+
.${a.linksSection} {
|
|
525
|
+
width: 100%;
|
|
526
|
+
}
|
|
527
|
+
.${a.contactSection} {
|
|
528
|
+
flex-direction: column;
|
|
529
|
+
}
|
|
530
|
+
.${a.whiteContent} {
|
|
531
|
+
flex-direction: column;
|
|
532
|
+
align-items: flex-start;
|
|
533
|
+
}
|
|
534
|
+
.${a.slotLarge} {
|
|
535
|
+
width: 100%;
|
|
536
|
+
max-width: none;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
/* Contact Variant Styles */
|
|
540
|
+
.${a.contentRowContact} {
|
|
541
|
+
display: flex;
|
|
542
|
+
justify-content: space-between;
|
|
543
|
+
align-items: flex-start;
|
|
544
|
+
gap: var(--ds-size-12, 48px);
|
|
545
|
+
padding: var(--ds-size-8, 32px) 0;
|
|
546
|
+
flex-wrap: wrap;
|
|
547
|
+
}
|
|
548
|
+
.${a.socialLinksSection} {
|
|
549
|
+
display: flex;
|
|
550
|
+
flex-direction: column;
|
|
551
|
+
gap: var(--ds-size-4, 16px);
|
|
552
|
+
min-width: 200px;
|
|
553
|
+
}
|
|
554
|
+
.${a.socialLinksTitle} {
|
|
555
|
+
font-size: var(--ds-font-size-7, 30px);
|
|
556
|
+
font-weight: var(--ds-font-weight-regular);
|
|
557
|
+
line-height: 1.3;
|
|
558
|
+
letter-spacing: -0.075px;
|
|
559
|
+
color: var(--ds-color-primary-color-red-text-subtle, #b42419);
|
|
560
|
+
margin: 0;
|
|
561
|
+
text-decoration: underline;
|
|
562
|
+
text-underline-offset: 4px;
|
|
563
|
+
}
|
|
564
|
+
.${a.socialLinksList} {
|
|
565
|
+
list-style: none;
|
|
566
|
+
padding: 0;
|
|
567
|
+
margin: 0;
|
|
568
|
+
display: flex;
|
|
569
|
+
flex-direction: column;
|
|
570
|
+
gap: var(--ds-size-2, 8px);
|
|
571
|
+
}
|
|
572
|
+
.${a.socialLink} {
|
|
573
|
+
display: flex;
|
|
574
|
+
align-items: center;
|
|
575
|
+
gap: var(--ds-size-2, 8px);
|
|
576
|
+
font-size: var(--ds-font-size-4, 18px);
|
|
577
|
+
font-weight: var(--ds-font-weight-regular);
|
|
578
|
+
line-height: 1.5;
|
|
579
|
+
letter-spacing: 0.09px;
|
|
580
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
581
|
+
text-decoration: underline;
|
|
582
|
+
text-underline-offset: 2px;
|
|
583
|
+
}
|
|
584
|
+
.${a.socialLinkIcon} {
|
|
585
|
+
display: flex;
|
|
586
|
+
align-items: center;
|
|
587
|
+
justify-content: center;
|
|
588
|
+
width: 24px;
|
|
589
|
+
height: 24px;
|
|
590
|
+
flex-shrink: 0;
|
|
591
|
+
}
|
|
592
|
+
.${a.contactPersonsSection} {
|
|
593
|
+
display: flex;
|
|
594
|
+
flex-direction: column;
|
|
595
|
+
gap: var(--ds-size-4, 16px);
|
|
596
|
+
flex: 1;
|
|
597
|
+
}
|
|
598
|
+
.${a.contactPersonsTitle} {
|
|
599
|
+
font-size: var(--ds-font-size-7, 30px);
|
|
600
|
+
font-weight: var(--ds-font-weight-regular);
|
|
601
|
+
line-height: 1.3;
|
|
602
|
+
letter-spacing: -0.075px;
|
|
603
|
+
color: var(--ds-color-primary-color-red-text-subtle, #b42419);
|
|
604
|
+
margin: 0;
|
|
605
|
+
text-decoration: underline;
|
|
606
|
+
text-underline-offset: 4px;
|
|
607
|
+
}
|
|
608
|
+
.${a.contactPersonsGrid} {
|
|
609
|
+
display: grid;
|
|
610
|
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
611
|
+
gap: var(--ds-size-12, 48px);
|
|
612
|
+
}
|
|
613
|
+
.${a.contactPersonCard} {
|
|
614
|
+
display: flex;
|
|
615
|
+
flex-direction: column;
|
|
616
|
+
gap: var(--ds-size-1, 4px);
|
|
617
|
+
min-width: 0;
|
|
618
|
+
}
|
|
619
|
+
.${a.contactPersonName} {
|
|
620
|
+
font-size: var(--ds-font-size-4, 18px);
|
|
621
|
+
font-weight: var(--ds-font-weight-semibold);
|
|
622
|
+
line-height: 1.5;
|
|
623
|
+
letter-spacing: 0.09px;
|
|
624
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
625
|
+
margin: 0;
|
|
626
|
+
}
|
|
627
|
+
.${a.contactPersonRole} {
|
|
628
|
+
font-size: var(--ds-font-size-3, 16px);
|
|
629
|
+
font-weight: var(--ds-font-weight-regular);
|
|
630
|
+
line-height: 1.5;
|
|
631
|
+
letter-spacing: 0.04px;
|
|
632
|
+
color: var(--ds-color-neutral-text-subtle, #5d5d5d);
|
|
633
|
+
margin: 0;
|
|
634
|
+
}
|
|
635
|
+
.${a.contactPersonDetails} {
|
|
636
|
+
display: flex;
|
|
637
|
+
flex-direction: column;
|
|
638
|
+
gap: var(--ds-size-1, 4px);
|
|
639
|
+
margin-top: var(--ds-size-2, 8px);
|
|
640
|
+
}
|
|
641
|
+
.${a.contactPersonLabel} {
|
|
642
|
+
font-weight: var(--ds-font-weight-regular);
|
|
643
|
+
}
|
|
644
|
+
.${a.contactPersonEmail},
|
|
645
|
+
.${a.contactPersonPhone},
|
|
646
|
+
.${a.contactPersonAddress} {
|
|
647
|
+
font-size: var(--ds-font-size-3, 16px);
|
|
648
|
+
font-weight: var(--ds-font-weight-regular);
|
|
649
|
+
line-height: 1.5;
|
|
650
|
+
letter-spacing: 0.04px;
|
|
651
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
652
|
+
margin: 0;
|
|
653
|
+
word-break: break-word;
|
|
654
|
+
}
|
|
655
|
+
.${a.contactPersonEmail} a {
|
|
656
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
657
|
+
text-decoration: underline;
|
|
658
|
+
text-underline-offset: 2px;
|
|
659
|
+
}
|
|
660
|
+
.${a.bottomRowContact} {
|
|
661
|
+
display: flex;
|
|
662
|
+
justify-content: space-between;
|
|
663
|
+
align-items: center;
|
|
664
|
+
flex-wrap: wrap;
|
|
665
|
+
gap: var(--ds-size-4, 16px);
|
|
666
|
+
}
|
|
667
|
+
.${a.legalLinksRow} {
|
|
668
|
+
display: flex;
|
|
669
|
+
gap: var(--ds-size-6, 24px);
|
|
670
|
+
flex-wrap: wrap;
|
|
671
|
+
list-style: none;
|
|
672
|
+
padding: 0;
|
|
673
|
+
margin: 0;
|
|
674
|
+
}
|
|
675
|
+
.${a.legalLink} {
|
|
676
|
+
font-size: var(--ds-font-size-3, 16px);
|
|
677
|
+
font-weight: var(--ds-font-weight-regular);
|
|
678
|
+
line-height: 1.5;
|
|
679
|
+
letter-spacing: 0.04px;
|
|
680
|
+
color: var(--ds-color-neutral-text-default, #2b2b2b);
|
|
681
|
+
text-decoration: underline;
|
|
682
|
+
text-underline-offset: 2px;
|
|
683
|
+
}
|
|
684
|
+
@media (max-width: 1024px) {
|
|
685
|
+
.${a.contentRowContact} {
|
|
686
|
+
gap: var(--ds-size-8, 32px);
|
|
687
|
+
}
|
|
688
|
+
.${a.contactPersonsGrid} {
|
|
689
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
690
|
+
gap: var(--ds-size-6, 24px);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
@media (max-width: 768px) {
|
|
694
|
+
.${a.contentRowContact} {
|
|
695
|
+
flex-direction: column;
|
|
696
|
+
}
|
|
697
|
+
.${a.socialLinksSection} {
|
|
698
|
+
width: 100%;
|
|
699
|
+
}
|
|
700
|
+
.${a.contactPersonsSection} {
|
|
701
|
+
width: 100%;
|
|
702
|
+
}
|
|
703
|
+
.${a.contactPersonsGrid} {
|
|
704
|
+
grid-template-columns: 1fr;
|
|
705
|
+
}
|
|
706
|
+
.${a.contactPersonCard} {
|
|
707
|
+
max-width: none;
|
|
708
|
+
}
|
|
709
|
+
.${a.bottomRowContact} {
|
|
710
|
+
flex-direction: column;
|
|
711
|
+
align-items: flex-start;
|
|
712
|
+
}
|
|
713
|
+
.${a.legalLinksRow} {
|
|
714
|
+
flex-direction: column;
|
|
715
|
+
gap: var(--ds-size-2, 8px);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
`;
|
|
719
|
+
}
|
|
720
|
+
export {
|
|
721
|
+
xe as Footer
|
|
722
|
+
};
|