From abb2d546f7f9f66d05a894e8251f9e113de6f717 Mon Sep 17 00:00:00 2001 From: cami Date: Wed, 23 Jun 2021 00:11:04 +0200 Subject: [PATCH] Refactored some things --- backend/src/app.py | 9 --------- frontend/src/App.css | 9 --------- frontend/src/auth/AuthProvider.js | 2 +- frontend/src/components/pages/Home.js | 1 - frontend/src/components/pages/Privacy.js | 2 +- 5 files changed, 2 insertions(+), 21 deletions(-) diff --git a/backend/src/app.py b/backend/src/app.py index 90feb34..b03aab9 100644 --- a/backend/src/app.py +++ b/backend/src/app.py @@ -139,14 +139,5 @@ def get_current_time(): # Run the example -if __name__ == '__main__': - app.run(host='0.0.0.0', port=5000) -import time -from flask import Flask -import flask_sqlalchemy -import flask_praetorian -import flask_cors - - if __name__ == '__main__': app.run(debug=debug, host=host, port=port) diff --git a/frontend/src/App.css b/frontend/src/App.css index 4f1d6f3..50d9c2e 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -28,15 +28,6 @@ font-size: 100px; } -.sign-up { - background-image: url("images/img-9.jpg"); - background-position: center; - background-size: cover; - background-repeat: no-repeat; - color: var(--primary); - font-size: 100px; -} - .sitePage { height: 90vh; display: flex; diff --git a/frontend/src/auth/AuthProvider.js b/frontend/src/auth/AuthProvider.js index 103c224..03f4e0a 100644 --- a/frontend/src/auth/AuthProvider.js +++ b/frontend/src/auth/AuthProvider.js @@ -8,4 +8,4 @@ createAuthProvider({ body: token.access_token }) .then(r => r.json()) -}) \ No newline at end of file +}) diff --git a/frontend/src/components/pages/Home.js b/frontend/src/components/pages/Home.js index 1cd108b..968475b 100644 --- a/frontend/src/components/pages/Home.js +++ b/frontend/src/components/pages/Home.js @@ -2,7 +2,6 @@ import React from "react"; import "../../App.css"; import HeroSection from "../HeroSection"; import Footer from "../../Footer"; -import { useEffect } from "react/cjs/react.development"; function Home() { return ( diff --git a/frontend/src/components/pages/Privacy.js b/frontend/src/components/pages/Privacy.js index da5fbbc..f470912 100644 --- a/frontend/src/components/pages/Privacy.js +++ b/frontend/src/components/pages/Privacy.js @@ -5,7 +5,7 @@ import Footer from "../../Footer"; export default function SignUp() { return ( <> -

Privacy

+

Privacy