@statsbygg/layout 0.1.21 → 0.1.22
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/GlobalFooter.module.css +14 -7
- package/dist/index.js +19 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -83,8 +83,11 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.footerSection a {
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.footerLeft .footerSection a:hover {
|
|
90
|
+
text-decoration: underline;
|
|
88
91
|
}
|
|
89
92
|
|
|
90
93
|
.externalLink {
|
|
@@ -107,6 +110,10 @@
|
|
|
107
110
|
gap: var(--ds-size-1);
|
|
108
111
|
}
|
|
109
112
|
|
|
113
|
+
.socialLinks a:hover {
|
|
114
|
+
text-decoration: underline;
|
|
115
|
+
}
|
|
116
|
+
|
|
110
117
|
.socialIcon {
|
|
111
118
|
width: 24px;
|
|
112
119
|
height: 24px;
|
|
@@ -150,18 +157,18 @@
|
|
|
150
157
|
|
|
151
158
|
.contactSection p,
|
|
152
159
|
.contactSection a {
|
|
153
|
-
font-size:
|
|
160
|
+
font-size: 1rem;
|
|
154
161
|
line-height: 1.6;
|
|
155
162
|
text-decoration: none;
|
|
156
163
|
margin: 0;
|
|
157
164
|
}
|
|
158
165
|
|
|
159
|
-
.contactSection
|
|
160
|
-
|
|
166
|
+
.contactSection a {
|
|
167
|
+
text-decoration: underline;
|
|
161
168
|
}
|
|
162
169
|
|
|
163
|
-
.contactSection
|
|
164
|
-
|
|
170
|
+
.contactSection p {
|
|
171
|
+
margin-bottom: var(--ds-spacing-2);
|
|
165
172
|
}
|
|
166
173
|
|
|
167
174
|
.logoSection {
|
package/dist/index.js
CHANGED
|
@@ -178,7 +178,7 @@ var translations = {
|
|
|
178
178
|
"footer.findEmployee": "Finn en ansatt",
|
|
179
179
|
"footer.visitAddress": "Bes\xF8ksadresse",
|
|
180
180
|
"footer.postalAddress": "Postadresse",
|
|
181
|
-
"footer.tagline": "Bygg med mening",
|
|
181
|
+
"footer.tagline": "Statsbygg \u2013 Bygg med mening",
|
|
182
182
|
"menu.helpTitle": "S\xF8k i nettstedet",
|
|
183
183
|
"menu.mainMenuLabel": "Hovedmeny",
|
|
184
184
|
"menu.closeMenu": "Lukk meny",
|
|
@@ -24413,12 +24413,12 @@ function GlobalFooter({
|
|
|
24413
24413
|
/* @__PURE__ */ jsxs6("div", { className: clsx4(styles6.footerLeft, styles6.shortcutsContainer), children: [
|
|
24414
24414
|
/* @__PURE__ */ jsx8("div", { className: styles6.shortcutsHeadingWide, children: /* @__PURE__ */ jsx8(Heading2, { level: 2, "data-size": "2xs", className: styles6.sectionHeading, children: t("footer.shortcuts") }) }),
|
|
24415
24415
|
/* @__PURE__ */ jsx8("div", { className: styles6.footerSection, children: /* @__PURE__ */ jsxs6(List2.Unordered, { className: styles6.footerList, children: [
|
|
24416
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { href: "#", children: t("footer.news") }) }),
|
|
24417
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { href: "#", children: t("footer.press") }) }),
|
|
24418
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { href: "#", children: t("footer.whistleblowing") }) }),
|
|
24419
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { href: "#", children: t("footer.privacy") }) }),
|
|
24420
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { href: "#", children: t("footer.accessibility") }) }),
|
|
24421
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { href: "#", children: t("footer.about") }) })
|
|
24416
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { "data-size": "md", href: "#", children: t("footer.news") }) }),
|
|
24417
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { "data-size": "md", href: "#", children: t("footer.press") }) }),
|
|
24418
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { "data-size": "md", href: "#", children: t("footer.whistleblowing") }) }),
|
|
24419
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { "data-size": "md", href: "#", children: t("footer.privacy") }) }),
|
|
24420
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { "data-size": "md", href: "#", children: t("footer.accessibility") }) }),
|
|
24421
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { "data-size": "md", href: "#", children: t("footer.about") }) })
|
|
24422
24422
|
] }) }),
|
|
24423
24423
|
/* @__PURE__ */ jsx8("div", { className: styles6.footerSection, children: /* @__PURE__ */ jsxs6(List2.Unordered, { className: styles6.footerList, children: [
|
|
24424
24424
|
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsx8(Link4, { href: "#", children: t("footer.publications") }) }),
|
|
@@ -24441,23 +24441,23 @@ function GlobalFooter({
|
|
|
24441
24441
|
/* @__PURE__ */ jsxs6("div", { className: clsx4(styles6.footerSection, styles6.socialLinks), children: [
|
|
24442
24442
|
/* @__PURE__ */ jsx8(Heading2, { level: 2, "data-size": "2xs", className: styles6.sectionHeading, children: t("footer.followUs") }),
|
|
24443
24443
|
/* @__PURE__ */ jsxs6(List2.Unordered, { className: styles6.footerList, children: [
|
|
24444
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { href: "
|
|
24444
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { "data-size": "md", href: "https://no.linkedin.com/company/statsbygg", className: styles6.socialLink, target: "_blank", rel: "noopener noreferrer", children: [
|
|
24445
24445
|
"LinkedIn",
|
|
24446
24446
|
/* @__PURE__ */ jsx8("img", { src: typeof linkedin_default === "string" ? linkedin_default : linkedin_default.src, alt: "", className: styles6.socialIcon, "aria-hidden": "true" })
|
|
24447
24447
|
] }) }),
|
|
24448
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { href: "
|
|
24448
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { "data-size": "md", href: "https://www.instagram.com/statsbygg/", className: styles6.socialLink, target: "_blank", rel: "noopener noreferrer", children: [
|
|
24449
24449
|
"Instagram",
|
|
24450
24450
|
/* @__PURE__ */ jsx8("img", { src: typeof instagram_default === "string" ? instagram_default : instagram_default.src, alt: "", className: styles6.socialIcon, "aria-hidden": "true" })
|
|
24451
24451
|
] }) }),
|
|
24452
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { href: "
|
|
24452
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { "data-size": "md", href: "https://www.facebook.com/Statsbygg", className: styles6.socialLink, target: "_blank", rel: "noopener noreferrer", children: [
|
|
24453
24453
|
"Facebook",
|
|
24454
24454
|
/* @__PURE__ */ jsx8("img", { src: typeof facebook_default === "string" ? facebook_default : facebook_default.src, alt: "", className: styles6.socialIcon, "aria-hidden": "true" })
|
|
24455
24455
|
] }) }),
|
|
24456
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { href: "
|
|
24456
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { "data-size": "md", href: "https://www.youtube.com/@StatsbyggFilm", className: styles6.socialLink, target: "_blank", rel: "noopener noreferrer", children: [
|
|
24457
24457
|
"YouTube",
|
|
24458
24458
|
/* @__PURE__ */ jsx8("img", { src: typeof youtube_default === "string" ? youtube_default : youtube_default.src, alt: "", className: styles6.socialIcon, "aria-hidden": "true" })
|
|
24459
24459
|
] }) }),
|
|
24460
|
-
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { href: "
|
|
24460
|
+
/* @__PURE__ */ jsx8(List2.Item, { children: /* @__PURE__ */ jsxs6(Link4, { "data-size": "md", href: "https://vimeo.com/statsbygg", className: styles6.socialLink, target: "_blank", rel: "noopener noreferrer", children: [
|
|
24461
24461
|
"Vimeo",
|
|
24462
24462
|
/* @__PURE__ */ jsx8("img", { src: typeof vimeo_default === "string" ? vimeo_default : vimeo_default.src, alt: "", className: styles6.socialIcon, "aria-hidden": "true" })
|
|
24463
24463
|
] }) })
|
|
@@ -24466,20 +24466,20 @@ function GlobalFooter({
|
|
|
24466
24466
|
/* @__PURE__ */ jsx8("div", { className: styles6.footerLeftWide, children: /* @__PURE__ */ jsxs6("div", { className: clsx4(styles6.footerSection, styles6.contactSectionsContainer), children: [
|
|
24467
24467
|
/* @__PURE__ */ jsx8("div", { className: styles6.contactHeadingWide, children: /* @__PURE__ */ jsx8(Heading2, { level: 2, "data-size": "2xs", className: styles6.sectionHeading, children: t("footer.contactUs") }) }),
|
|
24468
24468
|
/* @__PURE__ */ jsxs6("div", { className: styles6.contactSection, children: [
|
|
24469
|
-
/* @__PURE__ */ jsx8(Paragraph, { "data-size": "sm", children: /* @__PURE__ */ jsxs6(Link4, { href: "tel:22955000", children: [
|
|
24469
|
+
/* @__PURE__ */ jsx8(Paragraph, { "data-size": "sm", children: /* @__PURE__ */ jsxs6(Link4, { "data-size": "md", href: "tel:22955000", children: [
|
|
24470
24470
|
t("footer.phone"),
|
|
24471
24471
|
": 22 95 50 00"
|
|
24472
24472
|
] }) }),
|
|
24473
|
-
/* @__PURE__ */ jsx8(Paragraph, { "data-size": "sm", children: /* @__PURE__ */ jsx8(Link4, { href: "mailto:postmottak@statsbygg.no", children: "postmottak@statsbygg.no" }) }),
|
|
24474
|
-
/* @__PURE__ */ jsx8(Paragraph, { "data-size": "sm", children: /* @__PURE__ */ jsx8(Link4, { href: "#", children: t("footer.findEmployee") }) })
|
|
24473
|
+
/* @__PURE__ */ jsx8(Paragraph, { "data-size": "sm", children: /* @__PURE__ */ jsx8(Link4, { "data-size": "md", href: "mailto:postmottak@statsbygg.no", children: "postmottak@statsbygg.no" }) }),
|
|
24474
|
+
/* @__PURE__ */ jsx8(Paragraph, { "data-size": "sm", children: /* @__PURE__ */ jsx8(Link4, { "data-size": "md", href: "#", children: t("footer.findEmployee") }) })
|
|
24475
24475
|
] }),
|
|
24476
24476
|
/* @__PURE__ */ jsxs6("div", { className: styles6.contactSection, children: [
|
|
24477
24477
|
/* @__PURE__ */ jsx8(Heading2, { level: 2, "data-size": "2xs", className: styles6.contactHeading, children: t("footer.visitAddress") }),
|
|
24478
|
-
/* @__PURE__ */
|
|
24478
|
+
/* @__PURE__ */ jsx8(Paragraph, { "data-size": "sm", children: /* @__PURE__ */ jsxs6(Link4, { "data-size": "md", href: "https://maps.app.goo.gl/rhcygZK8GpjBzvhZ7", target: "_blank", rel: "noopener noreferrer", children: [
|
|
24479
24479
|
"Biskop Gunnerus' gate 6,",
|
|
24480
24480
|
/* @__PURE__ */ jsx8("br", {}),
|
|
24481
24481
|
"0155 Oslo (Byporten)"
|
|
24482
|
-
] })
|
|
24482
|
+
] }) })
|
|
24483
24483
|
] }),
|
|
24484
24484
|
/* @__PURE__ */ jsxs6("div", { className: styles6.contactSection, children: [
|
|
24485
24485
|
/* @__PURE__ */ jsx8(Heading2, { level: 2, "data-size": "2xs", className: styles6.contactHeading, children: t("footer.postalAddress") }),
|
|
@@ -24496,7 +24496,8 @@ function GlobalFooter({
|
|
|
24496
24496
|
className: styles6.logoSection,
|
|
24497
24497
|
style: { backgroundImage: `url(${typeof logoUrl === "string" ? logoUrl : logoUrl.src})` },
|
|
24498
24498
|
role: "img",
|
|
24499
|
-
"aria-label": logoAlt || t("footer.tagline")
|
|
24499
|
+
"aria-label": logoAlt || t("footer.tagline"),
|
|
24500
|
+
title: logoAlt || t("footer.tagline")
|
|
24500
24501
|
}
|
|
24501
24502
|
) })
|
|
24502
24503
|
] }) });
|