From f546254e54133a6a0ef987584548a4b2bc808751 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 May 2024 15:22:30 +0200 Subject: [PATCH 01/37] adding the env file to gitignore in the backend --- backend/.gitignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/backend/.gitignore b/backend/.gitignore index 25c8fdbab..16b0af9c2 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -1,2 +1,8 @@ node_modules -package-lock.json \ No newline at end of file +package-lock.json +.DS_Store +.env +.env.local +.env.development.local +.env.test.local +.env.production.local \ No newline at end of file From 402e689f0ca013e606eadc45c7acc5c701e20c7c Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 May 2024 15:25:05 +0200 Subject: [PATCH 02/37] adding the vite build to netlify.toml --- netlify.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 95443a1f3..c05012bee 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,11 @@ # This file tells netlify where the code for this project is and # how it should build the JavaScript assets to deploy from. [build] - base = "frontend/" - publish = "build/" + base = "frontend" + publish = "dist" command = "npm run build" + +[[redirects]] + from = "/*" + to = "/index.html" + status = 200 \ No newline at end of file From e2831ea6d88fb5759c92c2382742ade67cd5d617 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 May 2024 15:33:39 +0200 Subject: [PATCH 03/37] changing the browser title and icon --- frontend/index.html | 6 +++--- frontend/public/auth.png | Bin 0 -> 953 bytes frontend/public/vite.svg | 1 - frontend/src/assets/react.svg | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 frontend/public/auth.png delete mode 100644 frontend/public/vite.svg delete mode 100644 frontend/src/assets/react.svg diff --git a/frontend/index.html b/frontend/index.html index 0c589eccd..d8bf068e5 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,10 +1,10 @@ - + - + - Vite + React + Authentication Project
diff --git a/frontend/public/auth.png b/frontend/public/auth.png new file mode 100644 index 0000000000000000000000000000000000000000..867587d4938516490d46d3b60626b299acdad197 GIT binary patch literal 953 zcmV;q14jIbP)rtq9PT~m{Qkf9>(DxG#WT2U5@*{&7uI0}V>p2qP`S{8FU2Yh;S^TmDs09-7{Kxi zA$Sp97nYvG2e>*%a~B4MN4`WKu4zR`=DwTp0B%gzy@}CDypMPAQv*Ir@d}>6G#p6^ z9m99ni9d@JxE|k#*dD_VIDk(Rlk+VY)G5NT0t;~iZoeTsWnKc?B;Ci~ho1 z+}VUu&tkObWk`P~`FNv*2@$4^Rrgax$kvsddrE^a zc3>E+Tlzn?VmrPTq27bp`2*9$9Z&h4+b8sB*=3i8>LoAh#7wXmrp{0w~Z&+ z46)c|!hgZ%!qB-QAC~7gm0xk6@W5wU_r#3EgQ)+5qDKsfxIdHxpGq|Knjd139KvDT z(t-l(MYa=`zLf;-Gx1C6j`Y0YPI;XO#c8Z;KsQyi;RRwkju}tn3LaKFLpF)N&~R7G zm~Ro&>_fF7xf@^M43?#5dqk-f^^`}%qS{v`yc&;+@;Zr^F)t}Lirr%W&oEoW`?$#V zx#II~k+6I;ooyL2@uu;Q(;=}H)vNa&QRin9ZFUXISw5LB+j%11gG$D%i2dTEP?ppa bmXm)0tHiZ9w7e8$00000NkvXXu0mjfa$vI& literal 0 HcmV?d00001 diff --git a/frontend/public/vite.svg b/frontend/public/vite.svg deleted file mode 100644 index e7b8dfb1b..000000000 --- a/frontend/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/src/assets/react.svg b/frontend/src/assets/react.svg deleted file mode 100644 index 6c87de9bb..000000000 --- a/frontend/src/assets/react.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file From 55ad8e89d97a76befdeeb11b4740a23d6eee9012 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 May 2024 16:08:20 +0200 Subject: [PATCH 04/37] adding basic styling in the frontend --- frontend/src/App.jsx | 12 +++++++++++- frontend/src/Footer.css | 4 ++++ frontend/src/Footer.jsx | 5 +++++ frontend/src/Header.css | 13 +++++++++++++ frontend/src/Header.jsx | 11 +++++++++++ frontend/src/MainSection.css | 3 +++ frontend/src/MainSection.jsx | 9 +++++++++ frontend/src/index.css | 15 +++++---------- 8 files changed, 61 insertions(+), 11 deletions(-) create mode 100644 frontend/src/Footer.css create mode 100644 frontend/src/Footer.jsx create mode 100644 frontend/src/Header.css create mode 100644 frontend/src/Header.jsx create mode 100644 frontend/src/MainSection.css create mode 100644 frontend/src/MainSection.jsx diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 1091d4310..a371dc224 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -1,3 +1,13 @@ +import { Footer } from "./Footer"; +import { Header } from "./Header"; +import { MainSection } from "./MainSection"; + export const App = () => { - return
Find me in src/app.jsx!
; + return ( + <> +
+ +