From 316057975d735e7a0453a9c2f76d0387b7fb4637 Mon Sep 17 00:00:00 2001 From: Subina Date: Mon, 12 Jun 2023 15:22:48 +0545 Subject: [PATCH 01/13] Add login page --- docker-compose.yml | 2 +- index.html | 9 +- package.json | 2 + public/favicon.svg | 9 + public/logo.png | Bin 0 -> 176397 bytes public/pineapple.svg | 86 -- src/App/index.tsx | 2 + src/App/routes.tsx | 20 +- src/index.css | 56 +- src/views/Home/index.module.css | 7 - src/views/Home/index.tsx | 45 - src/views/Login/index.module.css | 50 + src/views/Login/index.tsx | 65 ++ src/views/Preferences/index.tsx | 19 - src/views/Root/index.tsx | 29 +- yarn.lock | 1616 +++++++++++++++++++++++++++++- 16 files changed, 1758 insertions(+), 259 deletions(-) create mode 100644 public/favicon.svg create mode 100644 public/logo.png delete mode 100644 public/pineapple.svg delete mode 100644 src/views/Home/index.module.css delete mode 100644 src/views/Home/index.tsx create mode 100644 src/views/Login/index.module.css create mode 100644 src/views/Login/index.tsx delete mode 100644 src/views/Preferences/index.tsx diff --git a/docker-compose.yml b/docker-compose.yml index 3f19cad..f49e830 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: build: . command: sh -c 'yarn install && yarn dev --host' environment: - APP_TITLE: ${APP_TITLE:-React Base App} + APP_TITLE: ${APP_TITLE:-Questionnaire Builder} volumes: - .:/code ports: diff --git a/index.html b/index.html index e0322f2..9e2a430 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ %APP_TITLE% - + + +