Skip to content

Commit

Permalink
feat: endre NAV-spesifikke ting -> NRK
Browse files Browse the repository at this point in the history
  • Loading branch information
eskilgh committed Oct 24, 2024
1 parent aed2ae1 commit 9d32989
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"prepare": "husky"
},
"dependencies": {
"@navikt/aksel-icons": "^6.17.0",
"@navikt/ds-css": "^6.17.0",
"@navikt/ds-react": "^6.17.0",
"@navikt/ds-tailwind": "^6.17.0",
"@navikt/next-logger": "^1.31.0",
"@prisma/client": "5.17.0",
"@navikt/aksel-icons": "^6.16.0",
"@navikt/ds-css": "^6.16.0",
"@navikt/ds-react": "^6.16.0",
"@navikt/ds-tailwind": "^6.16.0",
"@navikt/next-logger": "^1.30.0",
"@prisma/client": "5.18.0",
"@slack/bolt": "^3.21.1",
"@slack/logger": "^4.0.0",
"@slack/types": "^2.13.1",
Expand Down
2 changes: 1 addition & 1 deletion src/app/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function Error({ error, reset }: Props): ReactElement {
</Heading>
<BodyLong spacing>
Det har oppstått et intern feil i applikasjonen. Dersom feiler fortsetter si gjerne i fra på{' '}
<a href="https://nav-it.slack.com/archives/C04LCPR5E12" target="_blank" rel="noopener noreferrer">
<a href="https://nrk.enterprise.slack.com/archives/C07TCLY8T2Q" target="_blank" rel="noopener noreferrer">
#helsesjekk-bot
</a>{' '}
så vi får fikset feilen raskest mulig.
Expand Down
6 changes: 3 additions & 3 deletions src/app/global-helse/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import { getGlobalScoreTimeline } from '../../db/score'
import GlobalScoreGraph from '../../components/graphs/GlobalScoreGraph'

export const metadata: Metadata = {
title: 'Helsesjekk | Helse i NAV',
description: 'Graf over helsen i hele NAV',
title: 'Helsesjekk | Helse i NRK',
description: 'Graf over helsen i hele NRK',
}

function Page(): ReactElement {
return (
<div>
<BackLink href="/" />
<Heading size="large">Helse hele NAV</Heading>
<Heading size="large">Helse hele NRK</Heading>
<Suspense
fallback={
<div className="w-full aspect-video">
Expand Down
4 changes: 2 additions & 2 deletions src/bot/messages/message-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function createRootPostBlocks(teamName: string, dateForWeek: Date, invali
type: 'header',
text: {
type: 'plain_text',
text: `:health: Det er på tide med helsesjekk uke ${getWeekNumber(
text: `:nrklogohjerte: Det er på tide med helsesjekk uke ${getWeekNumber(
dateForWeek,
)} for ${teamName}! :wave:`,
emoji: true,
Expand Down Expand Up @@ -71,7 +71,7 @@ export function createCompletedBlocks(responses: number, dateForWeek: Date): (Kn
type: 'header',
text: {
type: 'plain_text',
text: `:health: Takk for at du svarte på helsesjekken for uke ${getWeekNumber(
text: `:nrklogohjerte: Takk for at du svarte på helsesjekken for uke ${getWeekNumber(
dateForWeek,
)}! Denne er nå stengt. :lock:`,
emoji: true,
Expand Down
8 changes: 4 additions & 4 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ function Footer(): ReactElement {
/>
<div className="pl-4 mt-4">
<Heading size="medium" level="2">
Helsesjekk er utviklet og vedlikeholdt av Team Sykmelding.
Helsesjekk er basert på åpen kildekode originalt utviklet av NAV. For NRK er utvikling og vedlikehold gjort av Påloggingsteamet.
</Heading>
<BodyShort>
Feedback og bugs kan rapporteres på slack på{' '}
<a href="https://nav-it.slack.com/archives/C04LCPR5E12" target="_blank" rel="noopener noreferrer">
<a href="https://nrk.enterprise.slack.com/archives/C07TCLY8T2Q" target="_blank" rel="noopener noreferrer">
#helsesjekk-bot
</a>
</BodyShort>
<BodyShort>
Kildekoden er tilgjengelig på{' '}
<a href="https://github.com/navikt/helsesjekk-bot" target="_blank" rel="noopener noreferrer">
github.com/navikt/helsesjekk-bot
<a href="https://github.com/nrkno/helsesjekk-bot" target="_blank" rel="noopener noreferrer">
github.com/nrkno/helsesjekk-bot
</a>
</BodyShort>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Header(): ReactElement {
<Link href="/kom-i-gang">Kom i gang</Link>
</li>
<li>
<Link href="/global-helse">Helse i NAV</Link>
<Link href="/global-helse">Helse i NRK</Link>
</li>
<li>
<Link href="/kom-i-gang/grupper">Mine grupper</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/utils/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export function createPermalink(channelId: string, ts: string): string {
}

export function createChannelPermalink(channelId: string): string {
return `https://nav-it.slack.com/archives/${channelId}`
return `https://nrk.enterprise.slack.com/archives/${channelId}`
}

0 comments on commit 9d32989

Please sign in to comment.