-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fjernet DelLenke, SendVarselModal og OpprettelseFullfortVeileder * Fjernet opprettelseFullførtArbeidsgiver * Fjernet utfylles av * oppdaterte tekster * Lagt til Stoorbook for å lettere vise avtale statuser * lagt til Storybook i tiltaksgjennomforing * lagt til yml * oppdatert Arbeidsgiver statuser * oppdaterte tekster og fikset bygg feil * fikset og fjernet commentarer * fikset i tilbakemeldinger * fjernet test som ikke blir brukt * fjernet .dockerignore * lagt til yml i .prettierignore * lagt til nginx.conf * fjernet skrivefeil * Fikset litt på stories så flere av statusene blir tatt med * fikset litt på AvtaleStatuserVeileder * lagt på style prop på Innholdsboks * lagt til nye tekst endringer og litt styling
- Loading branch information
Showing
62 changed files
with
11,584 additions
and
2,491 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Ignore files: | ||
*.yaml | ||
*.yml | ||
.github | ||
dist | ||
package-lock.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import type { StorybookConfig } from '@storybook/react-vite'; | ||
|
||
const config: StorybookConfig = { | ||
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], | ||
addons: [ | ||
'@storybook/addon-links', | ||
'@storybook/addon-essentials', | ||
'@storybook/addon-onboarding', | ||
'@storybook/addon-interactions', | ||
], | ||
framework: { | ||
name: '@storybook/react-vite', | ||
options: {}, | ||
}, | ||
docs: { | ||
autodocs: 'tag', | ||
}, | ||
}; | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { Preview } from '@storybook/react'; | ||
import '@/index.less'; | ||
import '@navikt/ds-css'; | ||
|
||
const preview: Preview = { | ||
parameters: { | ||
actions: { argTypesRegex: '^on[A-Z].*' }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/i, | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
export default preview; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM nginxinc/nginx-unprivileged:1.20-alpine | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
COPY ./storybook-static /usr/share/nginx/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: nais.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: tiltaksgjennomforing-storybook | ||
namespace: arbeidsgiver | ||
labels: | ||
team: arbeidsgiver | ||
spec: | ||
image: {{ image }} | ||
port: 8080 | ||
ingresses: | ||
- https://tiltaksgjennomforing-storybook.intern.dev.nav.no | ||
liveness: | ||
path: /isAlive | ||
initialDelay: 10 | ||
readiness: | ||
path: /isReady | ||
initialDelay: 10 | ||
replicas: | ||
min: 1 | ||
max: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
access_log off; | ||
|
||
server { | ||
listen 8080; | ||
port_in_redirect off; | ||
server_name localhost; | ||
|
||
# Health check for NAIS | ||
location = /isAlive { | ||
return 200 "Application:UP"; | ||
add_header Content-Type text/plain; | ||
} | ||
|
||
# Readiness check for NAIS | ||
location = /isReady { | ||
return 200 "Application:READY"; | ||
add_header Content-Type text/plain; | ||
} | ||
|
||
location / { | ||
# beholder default root slik at vi kan swappe ut med stock nginx | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
try_files $uri $uri/ =404; | ||
} | ||
} |
Oops, something went wrong.