Skip to content

Commit

Permalink
Fiks lenke til historikken
Browse files Browse the repository at this point in the history
  • Loading branch information
runska committed Nov 17, 2023
1 parent 150e6b3 commit 54e0662
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Aktiviteter/AktivitetData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ export const aktiviteter: AktivitetType[] = [
{
type: "lenke",
tekst: "Se sykefravær over tid",
url: "https://arbeidsgiver.nav.no/sykefravarsstatistikk/historikk",
url: "/sykefravarsstatistikk#historikk",
},
],
},
Expand Down
23 changes: 17 additions & 6 deletions src/csp.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// "psplugin"/"vergic": skjermdelingsløsningen
// "hotjar" og "taskanalytics": verktøy for å samle inn brukerinnsikt

const cspHeaders = {
"default-src": ["'self'", "*.nav.no"],
"script-src": [
Expand All @@ -6,13 +9,21 @@ const cspHeaders = {
"script.hotjar.com",
"*.psplugin.com",
"*.nav.no",
"*.taskanalytics.com",
"'unsafe-eval'",
"'unsafe-inline'",
],
"style-src": [
"'self'",
"blob:",
"*.nav.no",
"*.psplugin.com",
"'unsafe-inline'",
],
"style-src": ["'self'", "blob:", "*.nav.no", "*.psplugin.com"],
"connect-src": [
"'self'",
"*.nav.no",
"oidc-ver2.difi.no/idporten-oidc-provider/authorize",
"idporten-ver2.difi.no/opensso/SSORedirect/metaAlias/norge.no/idp4",
"*.difi.no",
"amplitude.nav.no",
"*.psplugin.com",
"*.hotjar.com",
Expand All @@ -28,16 +39,16 @@ const cspHeaders = {
"frame-src": ["vars.hotjar.com", "*.nav.no"],
"img-src": [
"'self'",
"data:",
"*.hotjar.com",
"*.nav.no",
"*.psplugin.com",
"www.vergic.com",
],
"manifest-src": [
"'self'",
"www.nav.no",
"oidc-ver2.difi.no",
"idporten-ver2.difi.no",
"*.nav.no",
"*.difi.no",
],
"media-src": ["'self'", "blob:"],
"object-src": ["'self'", "blob:"],
Expand Down
2 changes: 1 addition & 1 deletion src/sykefravarsstatistikk/Historikk/Historikk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Historikk: FunctionComponent<Props> = (props) => {
<div className={styles["historikk"]}>
<div className={styles["historikk__overdel-wrapper"]}>
<div className={styles["historikk__tekst-wrapper"]}>
<Heading spacing level="2" size="medium">
<Heading id="historikk" spacing level="2" size="medium">
Se sykefraværet over tid
</Heading>
<BodyShort className={styles["historikk__ingress"]}>
Expand Down

0 comments on commit 54e0662

Please sign in to comment.