Skip to content

Commit

Permalink
UPDate: links on footer
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Dec 8, 2023
1 parent d2f793e commit a9b1741
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
23 changes: 10 additions & 13 deletions apps/frontend/src/components/Navigation/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ 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 { behandlingsKatalogLink, datajegerSlackLink, documentationLink, githubRepo, statusPageLink, teamInfoLink } from '../../util/config'

export const Footer = () => {
const [showButtonToTop, setShowButtonToTop] = React.useState(false)
Expand Down Expand Up @@ -53,26 +54,26 @@ export const Footer = () => {
<BodyShort>
Nyttige lenker
</BodyShort>
<Link className="text-white" href="#">Status på etterlevelse i NAV</Link>
<Link className="text-white" href="#">Om etterlevelse på Navet</Link>
<Link className="text-white" href="#">Behandlingskatalogen</Link>
<Link className="text-white" href={statusPageLink}>Status på etterlevelse i NAV</Link>
<Link className="text-white" href="/omstottetiletterlevelse">Om etterlevelse på Navet</Link>
<Link className="text-white" href={behandlingsKatalogLink}>Behandlingskatalogen</Link>
<Link className="text-white" href="#">Veileder for å skrive etterlevelseskrav</Link>
</div>
<Spacer />
<div className="flex flex-col gap-4">
<BodyShort>
Om nettstedet
</BodyShort>
<Link className="text-white" href="#">Hva er Støtte til etterlevelse?</Link>
<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="#">Slack</Link>
<Link className="text-white" href="#">Github</Link>
<Link className="text-white" href="#">Teamkatalogen</Link>
<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 All @@ -89,12 +90,8 @@ export const Footer = () => {
// >
// <div className="w-full min-h-[100px] flex items-center">
// <div className="w-full flex justify-around items-center">
// <ExternalLink href={datajegerSlackLink} className="text-white" openOnSamePage>
// #etterlevelse på Slack
// </ExternalLink>
// <ExternalLink href={githubRepo} openOnSamePage className="text-white">
// Github
// </ExternalLink>
//

// <ExternalLink href={documentationLink} openOnSamePage className="text-white">
// Dokumentasjon
// </ExternalLink>
Expand Down
3 changes: 3 additions & 0 deletions apps/frontend/src/util/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export const slackUserLink = (userId: string) => `slack://user?team=${navSlackTe
export const datajegerSlackLink = slackLink(etterlevelseSlackChannelId)
export const githubRepo = 'https://github.com/navikt/etterlevelse'
export const documentationLink = 'https://navikt.github.io/naka/etterlevelse'
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/'
export const statusPageLink = 'https://metabase.intern.nav.no/dashboard/116-dashboard-for-etterlevelse'

export const teamKatPersonLink = (navIdent: string) => `${env.teamKatBaseUrl}resource/${navIdent}`
export const personImageLink = (navIdent: string) => `/api/team/resource/${navIdent}/photo`
Expand Down

0 comments on commit a9b1741

Please sign in to comment.