diff --git a/MVC/navn og epost/model.js b/MVC/navn og epost/model.js index 7f6b95c..9e2e39e 100644 --- a/MVC/navn og epost/model.js +++ b/MVC/navn og epost/model.js @@ -1,8 +1,9 @@ const model = { app: { - page: 'search' + pages: [], + page: 'search', + loggedInUserId: null, }, - inputs : { search: { text: '', @@ -21,11 +22,8 @@ const model = { email: '', }, }, - // felles data people: [ { id: 1, name: 'Per', email: 'per@mail.com'}, - ], - - + ], } \ No newline at end of file diff --git a/react_test/spa_react/Dockerfile b/react_test/spa_react/Dockerfile index 68afb46..a6bf432 100644 --- a/react_test/spa_react/Dockerfile +++ b/react_test/spa_react/Dockerfile @@ -1,7 +1,7 @@ # frontend/Dockerfile FROM node:22.9-alpine3.19 AS prod -WORKDIR / +WORKDIR /react_test/spa_react/ COPY public/ /public COPY src/ /src diff --git a/team/Emne2/slider/index.html b/team/Emne2/slider/index.html new file mode 100644 index 0000000..e69de29