Skip to content

Commit

Permalink
Footer: Oppdaterte lenke til Støtte til etterlevelse
Browse files Browse the repository at this point in the history
  • Loading branch information
beeccy committed Dec 19, 2023
1 parent 738cb88 commit 135115e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 34 deletions.
68 changes: 35 additions & 33 deletions apps/frontend/src/components/Navigation/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ArrowUpIcon } from '@navikt/aksel-icons'
import { BodyShort, Button, Link, Spacer } from '@navikt/ds-react'
import * as React from 'react'
import { etterlevelseLogoWhiteIcon } from '../Images'
import { VeilederEtterlevelseskrav, behandlingsKatalogLink, datajegerSlackLink, documentationLink, githubRepo, statusPageLink, teamInfoLink } from '../../util/config'
import { etterlevelseLogoWhiteIcon } from '../Images'

export const Footer = () => {
const [showButtonToTop, setShowButtonToTop] = React.useState(false)
Expand All @@ -26,15 +26,11 @@ export const Footer = () => {
return (
<div className="bg-purple-400 text-white px-12 py-7 w-full mt-auto justify-center flex">
<div className="max-w-7xl w-full">
{showButtonToTop && <Button
className="text-white"
size="xsmall"
icon={<ArrowUpIcon aria-label="" aria-hidden />}
onClick={() => window.scrollTo(0, 0)}
variant="tertiary-neutral"
>
Til toppen
</Button>}
{showButtonToTop && (
<Button className="text-white" size="xsmall" icon={<ArrowUpIcon aria-label="" aria-hidden />} onClick={() => window.scrollTo(0, 0)} variant="tertiary-neutral">
Til toppen
</Button>
)}
<div className="flex mt-11">
<div className=" flex flex-col">
<BodyShort className="text-2xl mb-5 flex">
Expand All @@ -43,38 +39,44 @@ export const Footer = () => {
</div>
Støtte til etterlevelse
</BodyShort>
<BodyShort>
2023 NAV
</BodyShort>
<BodyShort>
Arbeids- og velferdsetaten
</BodyShort>
<BodyShort>2023 NAV</BodyShort>
<BodyShort>Arbeids- og velferdsetaten</BodyShort>
</div>
<Spacer />
<div className="flex flex-col gap-4">
<BodyShort>
Nyttige lenker
</BodyShort>
<Link className="text-white" href={statusPageLink}>Status på etterlevelse i NAV</Link>
<Link className="text-white" href={VeilederEtterlevelseskrav}>Om etterlevelse på Navet</Link>
<Link className="text-white" href={behandlingsKatalogLink}>Behandlingskatalogen</Link>
<Link className="text-white" href={VeilederEtterlevelseskrav}>Veileder for å skrive etterlevelseskrav</Link>
<BodyShort>Nyttige lenker</BodyShort>
<Link className="text-white" href={statusPageLink}>
Status på etterlevelse i NAV
</Link>
<Link className="text-white" href={VeilederEtterlevelseskrav}>
Om etterlevelse på Navet
</Link>
<Link className="text-white" href={behandlingsKatalogLink}>
Behandlingskatalogen
</Link>
<Link className="text-white" href={VeilederEtterlevelseskrav}>
Veileder for å skrive etterlevelseskrav
</Link>
</div>
<Spacer />
<div className="flex flex-col gap-4">
<BodyShort>
Om nettstedet
</BodyShort>
<Link className="text-white" href={documentationLink}>Hva er Støtte til etterlevelse?</Link>
<BodyShort>Om nettstedet</BodyShort>
<Link className="text-white" href={documentationLink}>
Hva er Støtte til etterlevelse?
</Link>
</div>
<Spacer />
<div className="flex flex-col gap-4">
<BodyShort>
Finn oss
</BodyShort>
<Link className="text-white" href={datajegerSlackLink}>Slack</Link>
<Link className="text-white" href={githubRepo}>Github</Link>
<Link className="text-white" href={teamInfoLink}>Teamkatalogen</Link>
<BodyShort>Finn oss</BodyShort>
<Link className="text-white" href={datajegerSlackLink}>
Slack
</Link>
<Link className="text-white" href={githubRepo}>
Github
</Link>
<Link className="text-white" href={teamInfoLink}>
Teamkatalogen
</Link>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/util/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const slackLink = (channelId: string) => `slack://channel?team=${navSlack
export const slackUserLink = (userId: string) => `slack://user?team=${navSlackTeamId}&id=${userId}`
export const datajegerSlackLink = slackLink(etterlevelseSlackChannelId)
export const githubRepo = 'https://github.com/navikt/etterlevelse'
export const documentationLink = 'https://navikt.github.io/naka/etterlevelse'
export const documentationLink = 'https://etterlevelse.intern.nav.no/omstottetiletterlevelse'
export const teamInfoLink = 'https://teamkatalog.nav.no/team/264cebfa-ad46-4af9-8867-592f99f491e6'
export const markdownLink = 'https://guides.github.com/features/mastering-markdown/'
export const behandlingsKatalogLink = 'https://behandlingskatalog.intern.nav.no/'
Expand Down

0 comments on commit 135115e

Please sign in to comment.