Skip to content

Commit

Permalink
Ny design på Innloggingsside: flytte innlogging knapp over ekstern le…
Browse files Browse the repository at this point in the history
…nke til 'informasjon om tilgangsstyring'
  • Loading branch information
thomasdufourd committed Dec 3, 2024
1 parent 800b404 commit 518726d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Innlogginsside/Innloggingsside.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}

&__link {
margin-bottom: 2rem;
margin-top: 2rem;
}

.ikke-innlogget-side {
Expand Down
13 changes: 7 additions & 6 deletions src/Innlogginsside/Innloggingsside.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ export const Innloggingsside: FunctionComponent<InnloggingssideProps> = ({
<BodyLong spacing>Her finner du legemeldt sykefraværsstatistikk, sammenligning med din bransje og verktøy for å
forebygge fravær</BodyLong>

<Button
onClick={redirectTilLogin}
style={{paddingLeft: 40, paddingRight: 40}}
>
Logg inn
</Button>

<Link
href={
"https://arbeidsgiver.nav.no/min-side-arbeidsgiver/informasjon-om-tilgangsstyring"
Expand All @@ -36,12 +43,6 @@ export const Innloggingsside: FunctionComponent<InnloggingssideProps> = ({
Siden krever Altinn-tilganger, les mer om roller og tilganger her
</Link>

<Button
onClick={redirectTilLogin}
style={{ paddingLeft: 40, paddingRight: 40 }}
>
Logg inn
</Button>
</div>
</div>
);
Expand Down

0 comments on commit 518726d

Please sign in to comment.