From 892383d0caa589027d863c017bc8a48ffefc3a0d Mon Sep 17 00:00:00 2001
From: yoaaronw <117215469+yoaaronw@users.noreply.github.com>
Date: Thu, 17 Oct 2024 14:15:33 -0400
Subject: [PATCH] Updated login and registration pages, and when form is valid
the user will be routed to home page
---
vault/public/manifest.json | 8 ++--
vault/src/App.js | 2 +
vault/src/Components/Home/Home.css | 0
vault/src/Components/Home/Home.jsx | 13 ++++++
vault/src/Components/LoginForm/LoginForm.jsx | 9 ++--
.../RegistrationForm/RegistrationForm.jsx | 40 +++++++++++++++++-
vault/src/backend/app.py | 35 +++++++++++----
vault/src/backend/vault_database.db | Bin 45056 -> 45056 bytes
8 files changed, 89 insertions(+), 18 deletions(-)
create mode 100644 vault/src/Components/Home/Home.css
create mode 100644 vault/src/Components/Home/Home.jsx
diff --git a/vault/public/manifest.json b/vault/public/manifest.json
index 080d6c7..f98d721 100644
--- a/vault/public/manifest.json
+++ b/vault/public/manifest.json
@@ -8,13 +8,13 @@
"type": "image/x-icon"
},
{
- "src": "logo192.png",
- "type": "image/png",
+ "src": "vault_logo.jpg",
+ "type": "image/jpg",
"sizes": "192x192"
},
{
- "src": "logo512.png",
- "type": "image/png",
+ "src": "vault_logo.jpg",
+ "type": "image/jpg",
"sizes": "512x512"
}
],
diff --git a/vault/src/App.js b/vault/src/App.js
index 83d29a9..ce2944f 100644
--- a/vault/src/App.js
+++ b/vault/src/App.js
@@ -3,6 +3,7 @@ import './App.css';
import { Routes, Route } from 'react-router-dom';
import LoginForm from './Components/LoginForm/LoginForm';
import RegistrationForm from "./Components/RegistrationForm/RegistrationForm";
+import Home from "./Components/Home/Home";
function App() {
@@ -11,6 +12,7 @@ function App() {