Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/packages/arbeidsplassen-react/Footer/Footer.js
#	src/packages/arbeidsplassen-react/package.json
  • Loading branch information
otenav committed Feb 12, 2024
2 parents d51e3a6 + 90c48ea commit 2678329
Show file tree
Hide file tree
Showing 22 changed files with 115 additions and 84 deletions.
110 changes: 64 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions src/packages/arbeidsplassen-css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,9 @@
}

.arb-footer-h2 {
font-weight: 600;
font-size: 1.25rem;
line-height: 1.75rem;
margin: 0 0 1rem 0;
color: var(--arb-footer-text);
}

@media (min-width: 960px) {
.arb-footer-h2 {
font-size: 1.5rem;
line-height: 2rem;
}
}

.arb-footer-section ul {
list-style: none;
margin: 0;
Expand Down
16 changes: 11 additions & 5 deletions src/packages/arbeidsplassen-react/Footer/Footer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { Link } from "@navikt/ds-react";
import { Link, Heading } from "@navikt/ds-react";
import ArbeidsplassenLogoSmall from "../Logo/ArbeidsplassenLogoSmall";

export default function Footer() {
Expand All @@ -8,7 +8,9 @@ export default function Footer() {
<div className="container-large">
<nav className="arb-footer-sections">
<section className="arb-footer-section">
<h2 className="arb-footer-h2">Om oss</h2>
<Heading level="2" size="medium" spacing className="arb-footer-h2">
Om oss
</Heading>
<ul aria-label="Nyttige lenker">
<li>
<Link href="/kontakt">Kontakt oss</Link>
Expand All @@ -28,7 +30,9 @@ export default function Footer() {
</section>

<section className="arb-footer-section">
<h2 className="arb-footer-h2">For jobbsøkere</h2>
<Heading level="2" size="medium" spacing className="arb-footer-h2">
For jobbsøkere
</Heading>
<ul aria-label="Nyttige lenker for jobbsøkere">
<li>
<Link href="/nyttige-artikler-for-jobbsokere">
Expand All @@ -42,15 +46,17 @@ export default function Footer() {
<Link href="/jobbe-i-utlandet">Jobbe i utlandet</Link>
</li>
<li>
<Link href="/en/work-in-norway">
<Link href="/en/work-in-norway" lang="en">
Information to refugees from Ukraine
</Link>
</li>
</ul>
</section>

<section className="arb-footer-section">
<h2 className="arb-footer-h2">For bedrifter</h2>
<Heading level="2" size="medium" spacing className="arb-footer-h2">
For bedrifter
</Heading>
<ul aria-label="Nyttige lenker for bedrifter">
<li>
<Link href="/vilkar-og-retningslinjer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function CelebratingFigure({
y2="81.1372"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#EE7D7A" />
<stop offset="0" stopColor="#EE7D7A" />
<stop offset="1" stopColor="#E36E6B" />
</linearGradient>
<clipPath id="clip0_2680_48962">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function ConfusedFigure({
y2="132.641"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#9CA8F5" />
<stop offset="0" stopColor="#9CA8F5" />
<stop offset="1" stopColor="#717DC7" />
</linearGradient>
<clipPath id="clip0_1106_13559">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function FigureHoldingAHeart({
y2="168.349"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#FFB682" />
<stop offset="0" stopColor="#FFB682" />
<stop offset="1" stopColor="#EDA572" />
</linearGradient>
<clipPath id="clip0_2719_77107">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function FigureJugglingShieldWithCheckmark({
y2="117.468"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#EE7D7A" />
<stop offset="0" stopColor="#EE7D7A" />
<stop offset="1" stopColor="#E36E6B" />
</linearGradient>
<clipPath id="clip0_2752_84126">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function FigureWithEnvelope({
y2="100.168"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#EE7D7A" />
<stop offset="0" stopColor="#EE7D7A" />
<stop offset="1" stopColor="#E36E6B" />
</linearGradient>
<clipPath id="clip0_4436_281">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function FigureWithKey({
y2="100.588"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#EE7D7A" />
<stop offset="0" stopColor="#EE7D7A" />
<stop offset="1" stopColor="#E36E6B" />
</linearGradient>
<clipPath id="clip0_1509_20576">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function FigureWithMagnifier({
y2="89.7623"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#90E8C3" />
<stop offset="0" stopColor="#90E8C3" />
<stop offset="1" stopColor="#7CCCAB" />
</linearGradient>
</defs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default function FiguresGivingHighFive({
y2="95.1964"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#EE7D7A" />
<stop offset="0" stopColor="#EE7D7A" />
<stop offset="1" stopColor="#E36E6B" />
</linearGradient>
<linearGradient
Expand All @@ -198,7 +198,7 @@ export default function FiguresGivingHighFive({
y2="89.7623"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#90E8C3" />
<stop offset="0" stopColor="#90E8C3" />
<stop offset="1" stopColor="#7CCCAB" />
</linearGradient>
<clipPath id="clip0_1161_13117">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default function FiguresSideBySide({
y2="169.271"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#FFB682" />
<stop offset="0" stopColor="#FFB682" />
<stop offset="1" stopColor="#EDA572" />
</linearGradient>
<linearGradient
Expand All @@ -195,7 +195,7 @@ export default function FiguresSideBySide({
y2="179.507"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#9CA8F5" />
<stop offset="0" stopColor="#9CA8F5" />
<stop offset="1" stopColor="#717DC7" />
</linearGradient>
<clipPath id="clip0_1046_13268">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default function WavingFigure({
y2="89.7623"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#90E8C3" />
<stop offset="0" stopColor="#90E8C3" />
<stop offset="1" stopColor="#7CCCAB" />
</linearGradient>
<clipPath id="clip0_1741_26769">
Expand Down
Loading

0 comments on commit 2678329

Please sign in to comment.