optimized-react-component-library-xyz123 0.15.4 → 0.15.7
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/dist/index.js +83 -80
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +83 -80
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +27 -4
- package/src/css/mobileView.css +45 -3
- package/src/css/questions.css +26 -1
- package/src/css/styles.css +57 -19
package/dist/index.mjs
CHANGED
|
@@ -2045,86 +2045,89 @@ var CookieBanner_default = CookieBanner;
|
|
|
2045
2045
|
// src/components/layout/FooterStandard/FooterStandard.tsx
|
|
2046
2046
|
import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2047
2047
|
var Footer = ({ activatedLanguage = "sv" }) => {
|
|
2048
|
-
return /* @__PURE__ */
|
|
2049
|
-
/* @__PURE__ */
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
"
|
|
2053
|
-
className: "pts-footer-logo",
|
|
2054
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2055
|
-
width: "278",
|
|
2056
|
-
height: "72",
|
|
2057
|
-
viewBox: "0 0 278 72",
|
|
2058
|
-
fill: "none",
|
|
2059
|
-
children: [
|
|
2060
|
-
/* @__PURE__ */ jsx16(
|
|
2061
|
-
"path",
|
|
2062
|
-
{
|
|
2063
|
-
d: "M54 43C54 47.2 51.5 51.1 47.6 52.3C45.8 52.8 44 53 41 53H24.5C21.4 53 21 53.5 21 56.5V63C21 65.4 19.5 67 17.5 67C15.5 67 14 65.4 14 63V58.5C14 56.5 14 54.8 14.2 53.9C14.8 50.5 16.8 47.9 20.1 46.7C21.4 46.2 23.6 45.9 27.9 45.9H42C43.2 45.9 44.4 45.8 44.9 45.6C46.4 45 46.9 44 46.9 42.9C46.9 41.8 46.5 40.7 44.9 40.2C44.4 40 43.2 39.9 42 39.9H19.4C18.5 39.9 17.7 39.9 17.3 39.7C15.8 39.2 14.9 37.8 14.9 36.4C14.9 35 15.8 33.6 17.3 33.1C17.8 32.9 18.3 32.9 19.3 32.9H40.9C44 32.9 46.4 33.1 47.9 33.7C51.8 35.2 53.9 38.4 53.9 42.9L54 43ZM95.7 33.3C95.2 33.1 94.4 33 93.3 33H61.6C60.8 33 60.1 33 59.7 33.2C58 33.7 57 35 57 36.5C57 38 57.8 39.2 59.4 39.7C59.9 39.9 60.7 40 61.6 40H74V63.4C74 65.8 75.6 67 77.5 67C79.4 67 81 65.8 81 63.4V40H93.3C94.5 40 95.1 40 95.5 39.8C97.1 39.3 98 38 98 36.5C98 35 97.2 33.8 95.7 33.3ZM133.5 47.4C131.8 46.5 129.6 46 124.1 46H113.5C111.8 46 110.9 45.9 110.3 45.7C108.6 45.1 108 44 108 43C108 42 108.4 40.8 110.2 40.2C110.7 40 111.6 40 112.5 40H132C132.4 40 133.5 40 133.8 40C135.6 39.7 137 38.6 137 36.6C137 34.6 135.6 33.6 133.9 33.2C133.6 33.2 132.9 33.1 132 33.1H113.5C110.2 33.1 107.8 33.5 106.2 34.2C102.9 35.8 101 39.2 101 43.1C101 47 102.8 50.5 106.4 52.1C108 52.8 110.4 53.1 113.5 53.1H127C128.7 53.1 129.6 53.3 130.2 53.5C131.6 54 132 55.4 132 56.6C132 57.8 131.6 59.3 129.9 59.8C129.3 60 128.1 60.1 126.1 60.1H106.5C105.7 60.1 104.9 60.1 104.5 60.3C102.9 60.7 102 62 102 63.6C102 65.2 103 66.2 104.3 66.7C104.8 66.9 105.9 67.1 106.7 67.1H124C127.7 67.1 130.7 66.9 132.5 66.3C136.6 65.1 138.9 61.2 138.9 56.6C138.9 52 136.8 49.2 133.4 47.5L133.5 47.4Z",
|
|
2064
|
-
fill: "white"
|
|
2065
|
-
}
|
|
2066
|
-
),
|
|
2067
|
-
/* @__PURE__ */ jsx16(
|
|
2068
|
-
"path",
|
|
2069
|
-
{
|
|
2070
|
-
d: "M92.1 15.7L92.5 15C90 11.6 84.1 9.2 78.1 9H76.9C70.9 9.2 65 11.6 62.5 15L62.9 15.7C61.8 15.7 61 16.4 61 17.3L63.3 27C63.5 27.6 63.7 27.9 64.5 27.9H90.5C91.2 27.9 91.5 27.5 91.6 27L93.9 17.3C93.9 16.4 93.1 15.7 92 15.7H92.1ZM69.3 18.8C69.1 18.8 68.8 18.7 68.6 18.7C67.6 18.7 66.9 19.4 66.9 20.3C66.9 21.2 67.6 21.8 68.5 21.8C69.4 21.8 69.3 21.7 69.5 21.4C69.5 22.2 68.6 24 67.4 24H64.9C63.2 24 63 21.7 63 21.5C63.2 21.7 63.7 21.8 64.1 21.8C64.9 21.8 65.6 21.2 65.6 20.3C65.6 19.4 64.9 18.7 63.9 18.7C62.9 18.7 63.5 18.7 63.4 18.7C63.8 18.4 64.2 17.9 64.2 17.3C64.2 16.7 63.9 16.4 63.5 16.1L65.8 15C67.3 12.5 70 10.7 73.3 10C71.5 11.3 70 12.9 68.8 15L69.6 15.7C68.8 15.8 68.2 16.5 68.2 17.3C68.2 18.1 68.6 18.5 69.2 18.8H69.3ZM76.8 18.9C76.6 18.8 76.2 18.7 76 18.7C75 18.7 74.3 19.4 74.3 20.3C74.3 21.2 75 21.8 75.9 21.8C76.8 21.8 76.7 21.7 77 21.5C77 22.3 76.4 24 75 24H72.5C70.9 24 70.5 22 70.5 21.4C70.7 21.6 71.1 21.8 71.6 21.8C72.4 21.8 73.2 21.2 73.2 20.3C73.2 19.4 72.5 18.7 71.5 18.7C70.5 18.7 70.9 18.7 70.8 18.8C71.4 18.5 71.8 18 71.8 17.3C71.8 16.6 71.4 16.1 70.8 15.9L72.6 15C73.1 13.2 74.7 10.6 76.4 9.7C76.2 10.6 76.1 12.5 76.1 15C76.1 15 76.6 15.5 77.1 15.8C76.4 16 75.9 16.6 75.9 17.3C75.9 18 76.3 18.5 76.9 18.8L76.8 18.9ZM82.5 24H80C78.6 24 78 22.3 78 21.5C78.2 21.7 78.6 21.8 79.1 21.8C80 21.8 80.7 21.2 80.7 20.3C80.7 19.4 80 18.7 79 18.7C78 18.7 78.4 18.7 78.2 18.9C78.8 18.7 79.3 18.1 79.3 17.4C79.3 16.7 78.8 16.1 78.1 15.9C78.6 15.6 79.1 15.1 79.1 15.1C79.1 12.6 79 10.7 78.7 9.8C80.5 10.7 82.1 13.2 82.6 15.1L84.4 16C83.9 16.2 83.4 16.8 83.4 17.4C83.4 18 83.8 18.6 84.4 18.9C84.2 18.9 83.9 18.8 83.7 18.8C82.7 18.8 82 19.5 82 20.4C82 21.3 82.7 21.9 83.6 21.9C84.5 21.9 84.4 21.8 84.7 21.5C84.7 22 84.3 24.1 82.7 24.1L82.5 24ZM90 24H87.5C86.2 24 85.4 22.3 85.4 21.4C85.6 21.7 86 21.8 86.5 21.8C87.3 21.8 88 21.2 88 20.3C88 19.4 87.3 18.7 86.3 18.7C85.3 18.7 85.7 18.7 85.6 18.8C86.2 18.5 86.6 18 86.6 17.3C86.6 16.6 86 15.8 85.1 15.7L86 15C84.8 12.9 83.3 11.4 81.5 10C84.7 10.7 87.5 12.4 89 15L91.4 16.1C91 16.4 90.7 16.8 90.7 17.4C90.7 18 91.1 18.6 91.6 18.9C91.5 18.9 91.2 18.8 91 18.8C90 18.8 89.3 19.5 89.3 20.4C89.3 21.3 90 21.9 90.8 21.9C91.6 21.9 91.7 21.8 91.9 21.6C91.9 21.8 91.6 24.1 90 24.1V24ZM77.5 9C76.1 9 75 7.9 75 6.5C75 5.1 75.9 4.3 77 4.1V3H76V2H77V1H78V2H79V3H78V4.1C79.1 4.3 80 5.3 80 6.6C80 7.9 78.9 9.1 77.5 9.1V9Z",
|
|
2071
|
-
fill: "white"
|
|
2072
|
-
}
|
|
2073
|
-
)
|
|
2074
|
-
]
|
|
2075
|
-
}
|
|
2076
|
-
),
|
|
2077
|
-
/* @__PURE__ */ jsx16("nav", { className: "pts-footer-linkList", children: /* @__PURE__ */ jsxs14("ul", { children: [
|
|
2078
|
-
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2079
|
-
"a",
|
|
2080
|
-
{
|
|
2081
|
-
href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
|
|
2082
|
-
target: "_blank",
|
|
2083
|
-
rel: "noopener noreferrer",
|
|
2084
|
-
children: [
|
|
2085
|
-
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
|
|
2086
|
-
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
|
|
2087
|
-
]
|
|
2088
|
-
}
|
|
2089
|
-
) }),
|
|
2090
|
-
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2091
|
-
"a",
|
|
2092
|
-
{
|
|
2093
|
-
href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
|
|
2094
|
-
target: "_blank",
|
|
2095
|
-
rel: "noopener noreferrer",
|
|
2096
|
-
children: [
|
|
2097
|
-
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Processing of personal data (opens in new tab)" : "PTS Behandling av personuppgifter (\xF6ppnas i ny flik)" }),
|
|
2098
|
-
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Processing of personal data" : "Behandling av personuppgifter" })
|
|
2099
|
-
]
|
|
2100
|
-
}
|
|
2101
|
-
) }),
|
|
2102
|
-
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2103
|
-
"a",
|
|
2104
|
-
{
|
|
2105
|
-
href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
|
|
2106
|
-
target: "_blank",
|
|
2107
|
-
rel: "noopener noreferrer",
|
|
2108
|
-
children: [
|
|
2109
|
-
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Accessibility (opens in new tab)" : "PTS Tillg\xE4nglighetsredog\xF6relse (\xF6ppnas i ny flik)" }),
|
|
2110
|
-
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Accessibility" : "Tillg\xE4nglighetsredog\xF6relse" })
|
|
2111
|
-
]
|
|
2112
|
-
}
|
|
2113
|
-
) }),
|
|
2114
|
-
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2115
|
-
"a",
|
|
2048
|
+
return /* @__PURE__ */ jsxs14("footer", { className: "pts-footer-container", children: [
|
|
2049
|
+
/* @__PURE__ */ jsx16("div", { className: "pts-footer-slogan-text-container", children: /* @__PURE__ */ jsx16("p", { className: "pts-footer-slogan-text", children: activatedLanguage === "sv" ? "S\xE4ker och tillg\xE4nglig kommunikation f\xF6r Sverige" : "Secure and accessible communication for Sweden" }) }),
|
|
2050
|
+
/* @__PURE__ */ jsxs14("div", { className: "pts-footer-content", children: [
|
|
2051
|
+
/* @__PURE__ */ jsxs14(
|
|
2052
|
+
"svg",
|
|
2116
2053
|
{
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2054
|
+
"aria-label": activatedLanguage === "en" ? "PTS logotype" : "PTS logotyp",
|
|
2055
|
+
className: "pts-footer-logo",
|
|
2056
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2057
|
+
width: "278",
|
|
2058
|
+
height: "72",
|
|
2059
|
+
viewBox: "0 0 278 72",
|
|
2060
|
+
fill: "none",
|
|
2120
2061
|
children: [
|
|
2121
|
-
/* @__PURE__ */ jsx16(
|
|
2122
|
-
|
|
2062
|
+
/* @__PURE__ */ jsx16(
|
|
2063
|
+
"path",
|
|
2064
|
+
{
|
|
2065
|
+
d: "M54 43C54 47.2 51.5 51.1 47.6 52.3C45.8 52.8 44 53 41 53H24.5C21.4 53 21 53.5 21 56.5V63C21 65.4 19.5 67 17.5 67C15.5 67 14 65.4 14 63V58.5C14 56.5 14 54.8 14.2 53.9C14.8 50.5 16.8 47.9 20.1 46.7C21.4 46.2 23.6 45.9 27.9 45.9H42C43.2 45.9 44.4 45.8 44.9 45.6C46.4 45 46.9 44 46.9 42.9C46.9 41.8 46.5 40.7 44.9 40.2C44.4 40 43.2 39.9 42 39.9H19.4C18.5 39.9 17.7 39.9 17.3 39.7C15.8 39.2 14.9 37.8 14.9 36.4C14.9 35 15.8 33.6 17.3 33.1C17.8 32.9 18.3 32.9 19.3 32.9H40.9C44 32.9 46.4 33.1 47.9 33.7C51.8 35.2 53.9 38.4 53.9 42.9L54 43ZM95.7 33.3C95.2 33.1 94.4 33 93.3 33H61.6C60.8 33 60.1 33 59.7 33.2C58 33.7 57 35 57 36.5C57 38 57.8 39.2 59.4 39.7C59.9 39.9 60.7 40 61.6 40H74V63.4C74 65.8 75.6 67 77.5 67C79.4 67 81 65.8 81 63.4V40H93.3C94.5 40 95.1 40 95.5 39.8C97.1 39.3 98 38 98 36.5C98 35 97.2 33.8 95.7 33.3ZM133.5 47.4C131.8 46.5 129.6 46 124.1 46H113.5C111.8 46 110.9 45.9 110.3 45.7C108.6 45.1 108 44 108 43C108 42 108.4 40.8 110.2 40.2C110.7 40 111.6 40 112.5 40H132C132.4 40 133.5 40 133.8 40C135.6 39.7 137 38.6 137 36.6C137 34.6 135.6 33.6 133.9 33.2C133.6 33.2 132.9 33.1 132 33.1H113.5C110.2 33.1 107.8 33.5 106.2 34.2C102.9 35.8 101 39.2 101 43.1C101 47 102.8 50.5 106.4 52.1C108 52.8 110.4 53.1 113.5 53.1H127C128.7 53.1 129.6 53.3 130.2 53.5C131.6 54 132 55.4 132 56.6C132 57.8 131.6 59.3 129.9 59.8C129.3 60 128.1 60.1 126.1 60.1H106.5C105.7 60.1 104.9 60.1 104.5 60.3C102.9 60.7 102 62 102 63.6C102 65.2 103 66.2 104.3 66.7C104.8 66.9 105.9 67.1 106.7 67.1H124C127.7 67.1 130.7 66.9 132.5 66.3C136.6 65.1 138.9 61.2 138.9 56.6C138.9 52 136.8 49.2 133.4 47.5L133.5 47.4Z",
|
|
2066
|
+
fill: "white"
|
|
2067
|
+
}
|
|
2068
|
+
),
|
|
2069
|
+
/* @__PURE__ */ jsx16(
|
|
2070
|
+
"path",
|
|
2071
|
+
{
|
|
2072
|
+
d: "M92.1 15.7L92.5 15C90 11.6 84.1 9.2 78.1 9H76.9C70.9 9.2 65 11.6 62.5 15L62.9 15.7C61.8 15.7 61 16.4 61 17.3L63.3 27C63.5 27.6 63.7 27.9 64.5 27.9H90.5C91.2 27.9 91.5 27.5 91.6 27L93.9 17.3C93.9 16.4 93.1 15.7 92 15.7H92.1ZM69.3 18.8C69.1 18.8 68.8 18.7 68.6 18.7C67.6 18.7 66.9 19.4 66.9 20.3C66.9 21.2 67.6 21.8 68.5 21.8C69.4 21.8 69.3 21.7 69.5 21.4C69.5 22.2 68.6 24 67.4 24H64.9C63.2 24 63 21.7 63 21.5C63.2 21.7 63.7 21.8 64.1 21.8C64.9 21.8 65.6 21.2 65.6 20.3C65.6 19.4 64.9 18.7 63.9 18.7C62.9 18.7 63.5 18.7 63.4 18.7C63.8 18.4 64.2 17.9 64.2 17.3C64.2 16.7 63.9 16.4 63.5 16.1L65.8 15C67.3 12.5 70 10.7 73.3 10C71.5 11.3 70 12.9 68.8 15L69.6 15.7C68.8 15.8 68.2 16.5 68.2 17.3C68.2 18.1 68.6 18.5 69.2 18.8H69.3ZM76.8 18.9C76.6 18.8 76.2 18.7 76 18.7C75 18.7 74.3 19.4 74.3 20.3C74.3 21.2 75 21.8 75.9 21.8C76.8 21.8 76.7 21.7 77 21.5C77 22.3 76.4 24 75 24H72.5C70.9 24 70.5 22 70.5 21.4C70.7 21.6 71.1 21.8 71.6 21.8C72.4 21.8 73.2 21.2 73.2 20.3C73.2 19.4 72.5 18.7 71.5 18.7C70.5 18.7 70.9 18.7 70.8 18.8C71.4 18.5 71.8 18 71.8 17.3C71.8 16.6 71.4 16.1 70.8 15.9L72.6 15C73.1 13.2 74.7 10.6 76.4 9.7C76.2 10.6 76.1 12.5 76.1 15C76.1 15 76.6 15.5 77.1 15.8C76.4 16 75.9 16.6 75.9 17.3C75.9 18 76.3 18.5 76.9 18.8L76.8 18.9ZM82.5 24H80C78.6 24 78 22.3 78 21.5C78.2 21.7 78.6 21.8 79.1 21.8C80 21.8 80.7 21.2 80.7 20.3C80.7 19.4 80 18.7 79 18.7C78 18.7 78.4 18.7 78.2 18.9C78.8 18.7 79.3 18.1 79.3 17.4C79.3 16.7 78.8 16.1 78.1 15.9C78.6 15.6 79.1 15.1 79.1 15.1C79.1 12.6 79 10.7 78.7 9.8C80.5 10.7 82.1 13.2 82.6 15.1L84.4 16C83.9 16.2 83.4 16.8 83.4 17.4C83.4 18 83.8 18.6 84.4 18.9C84.2 18.9 83.9 18.8 83.7 18.8C82.7 18.8 82 19.5 82 20.4C82 21.3 82.7 21.9 83.6 21.9C84.5 21.9 84.4 21.8 84.7 21.5C84.7 22 84.3 24.1 82.7 24.1L82.5 24ZM90 24H87.5C86.2 24 85.4 22.3 85.4 21.4C85.6 21.7 86 21.8 86.5 21.8C87.3 21.8 88 21.2 88 20.3C88 19.4 87.3 18.7 86.3 18.7C85.3 18.7 85.7 18.7 85.6 18.8C86.2 18.5 86.6 18 86.6 17.3C86.6 16.6 86 15.8 85.1 15.7L86 15C84.8 12.9 83.3 11.4 81.5 10C84.7 10.7 87.5 12.4 89 15L91.4 16.1C91 16.4 90.7 16.8 90.7 17.4C90.7 18 91.1 18.6 91.6 18.9C91.5 18.9 91.2 18.8 91 18.8C90 18.8 89.3 19.5 89.3 20.4C89.3 21.3 90 21.9 90.8 21.9C91.6 21.9 91.7 21.8 91.9 21.6C91.9 21.8 91.6 24.1 90 24.1V24ZM77.5 9C76.1 9 75 7.9 75 6.5C75 5.1 75.9 4.3 77 4.1V3H76V2H77V1H78V2H79V3H78V4.1C79.1 4.3 80 5.3 80 6.6C80 7.9 78.9 9.1 77.5 9.1V9Z",
|
|
2073
|
+
fill: "white"
|
|
2074
|
+
}
|
|
2075
|
+
)
|
|
2123
2076
|
]
|
|
2124
2077
|
}
|
|
2125
|
-
)
|
|
2126
|
-
|
|
2127
|
-
|
|
2078
|
+
),
|
|
2079
|
+
/* @__PURE__ */ jsx16("nav", { className: "pts-footer-linkList", children: /* @__PURE__ */ jsxs14("ul", { children: [
|
|
2080
|
+
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2081
|
+
"a",
|
|
2082
|
+
{
|
|
2083
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
|
|
2084
|
+
target: "_blank",
|
|
2085
|
+
rel: "noopener noreferrer",
|
|
2086
|
+
children: [
|
|
2087
|
+
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
|
|
2088
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
|
|
2089
|
+
]
|
|
2090
|
+
}
|
|
2091
|
+
) }),
|
|
2092
|
+
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2093
|
+
"a",
|
|
2094
|
+
{
|
|
2095
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
|
|
2096
|
+
target: "_blank",
|
|
2097
|
+
rel: "noopener noreferrer",
|
|
2098
|
+
children: [
|
|
2099
|
+
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Processing of personal data (opens in new tab)" : "PTS Behandling av personuppgifter (\xF6ppnas i ny flik)" }),
|
|
2100
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Processing of personal data" : "Behandling av personuppgifter" })
|
|
2101
|
+
]
|
|
2102
|
+
}
|
|
2103
|
+
) }),
|
|
2104
|
+
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2105
|
+
"a",
|
|
2106
|
+
{
|
|
2107
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
|
|
2108
|
+
target: "_blank",
|
|
2109
|
+
rel: "noopener noreferrer",
|
|
2110
|
+
children: [
|
|
2111
|
+
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Accessibility (opens in new tab)" : "PTS Tillg\xE4nglighetsredog\xF6relse (\xF6ppnas i ny flik)" }),
|
|
2112
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Accessibility" : "Tillg\xE4nglighetsredog\xF6relse" })
|
|
2113
|
+
]
|
|
2114
|
+
}
|
|
2115
|
+
) }),
|
|
2116
|
+
/* @__PURE__ */ jsx16("li", { children: /* @__PURE__ */ jsxs14(
|
|
2117
|
+
"a",
|
|
2118
|
+
{
|
|
2119
|
+
href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
|
|
2120
|
+
target: "_blank",
|
|
2121
|
+
rel: "noopener noreferrer",
|
|
2122
|
+
children: [
|
|
2123
|
+
/* @__PURE__ */ jsx16("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Cookies (opens in new tab)" : "PTS Kakor (\xF6ppnas i ny flik)" }),
|
|
2124
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Cookies" : "Kakor" })
|
|
2125
|
+
]
|
|
2126
|
+
}
|
|
2127
|
+
) })
|
|
2128
|
+
] }) })
|
|
2129
|
+
] })
|
|
2130
|
+
] });
|
|
2128
2131
|
};
|
|
2129
2132
|
var FooterStandard_default = Footer;
|
|
2130
2133
|
|
|
@@ -2525,7 +2528,7 @@ var Header = ({
|
|
|
2525
2528
|
if (activatedLanguage === "sv") return "English";
|
|
2526
2529
|
else return "Svenska";
|
|
2527
2530
|
};
|
|
2528
|
-
return /* @__PURE__ */
|
|
2531
|
+
return /* @__PURE__ */ jsx18("header", { className: "pts-header-container", children: /* @__PURE__ */ jsxs16("div", { className: "pts-header-content", children: [
|
|
2529
2532
|
/* @__PURE__ */ jsx18("div", { className: "pts-header-logo-container", children: /* @__PURE__ */ jsx18(
|
|
2530
2533
|
"a",
|
|
2531
2534
|
{
|
|
@@ -2536,7 +2539,7 @@ var Header = ({
|
|
|
2536
2539
|
children: activatedLanguage === "en" ? /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx18(Logo_en, {}) }) : /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx18(Logo_sv, {}) })
|
|
2537
2540
|
}
|
|
2538
2541
|
) }),
|
|
2539
|
-
useLanguage && /* @__PURE__ */ jsxs16(
|
|
2542
|
+
/* @__PURE__ */ jsx18("div", { className: "pts-header-navigation-container", children: useLanguage && /* @__PURE__ */ jsxs16(
|
|
2540
2543
|
"button",
|
|
2541
2544
|
{
|
|
2542
2545
|
lang: activatedLanguage === "en" ? "en" : "sv",
|
|
@@ -2549,8 +2552,8 @@ var Header = ({
|
|
|
2549
2552
|
activatedLanguage === "sv" && /* @__PURE__ */ jsx18("span", { className: "sr-only", children: "Change language to English" })
|
|
2550
2553
|
]
|
|
2551
2554
|
}
|
|
2552
|
-
)
|
|
2553
|
-
] });
|
|
2555
|
+
) })
|
|
2556
|
+
] }) });
|
|
2554
2557
|
};
|
|
2555
2558
|
var HeaderStandard_default = Header;
|
|
2556
2559
|
|