From 67575be960ee3fe382c84d1b01bd1dd5fe978b05 Mon Sep 17 00:00:00 2001 From: cami Date: Mon, 7 Jun 2021 05:03:18 +0200 Subject: [PATCH] Further redesign and refactoring --- frontend/src/App.css | 3 ++- frontend/src/App.js | 2 ++ frontend/src/Footer.js | 2 +- frontend/src/components/HeroSection.css | 9 ++++++++- frontend/src/components/HeroSection.js | 14 +++++++------- frontend/src/components/Navbar.css | 22 +++++++++++----------- frontend/src/components/pages/Privacy.js | 12 ++++++++++++ 7 files changed, 43 insertions(+), 21 deletions(-) create mode 100644 frontend/src/components/pages/Privacy.js diff --git a/frontend/src/App.css b/frontend/src/App.css index bbb8bed..e390ea6 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -7,7 +7,8 @@ :root { --primary: rgb(41, 63, 87); - --secondary: #fff + --secondary: #fff; + --third: rgb(171, 183, 183); } .home, diff --git a/frontend/src/App.js b/frontend/src/App.js index 6efe98c..024fab6 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -6,6 +6,7 @@ import Home from "./components/pages/Home"; import SignUp from "./components/pages/SignUp"; import Ueber from "./components/pages/Ueber"; import Lizenzen from "./components/pages/lizenzen"; +import Privacy from "./components/pages/Privacy"; function App() { return ( @@ -17,6 +18,7 @@ function App() { + diff --git a/frontend/src/Footer.js b/frontend/src/Footer.js index d1e2922..e4c875c 100644 --- a/frontend/src/Footer.js +++ b/frontend/src/Footer.js @@ -22,7 +22,7 @@ function Footer() {

Rechtliches

- Datenschutz + Datenschutz Lizenzen und Bildnachweise
diff --git a/frontend/src/components/HeroSection.css b/frontend/src/components/HeroSection.css index c52115d..8340f80 100644 --- a/frontend/src/components/HeroSection.css +++ b/frontend/src/components/HeroSection.css @@ -26,7 +26,7 @@ video { .hero-container > p { margin-top: 8px; - color: #fff; + color: var(--secondary); font-size: 32px; font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif; @@ -44,6 +44,13 @@ video { align-items: center; } +.hero-btns .btn:hover{ + background-color: var(--secondary); + color: var(--primary); + border:none; +} + + .fa-play-circle { margin-left: 4px; } diff --git a/frontend/src/components/HeroSection.js b/frontend/src/components/HeroSection.js index 027d4c0..7e96d72 100644 --- a/frontend/src/components/HeroSection.js +++ b/frontend/src/components/HeroSection.js @@ -9,13 +9,6 @@ function HeroSection() {

Herzlich Willkommen

- +
); diff --git a/frontend/src/components/Navbar.css b/frontend/src/components/Navbar.css index bafbddb..da8f609 100644 --- a/frontend/src/components/Navbar.css +++ b/frontend/src/components/Navbar.css @@ -1,5 +1,5 @@ .navbar { - background: linear-gradient(90deg, rgb(41, 63, 87) 0%, rgb(41, 63, 87) 100%); + background-color: var(--primary); height: 80px; display: flex; justify-content: center; @@ -19,7 +19,7 @@ } .navbar-logo { - color: #fff; + color: var(--secondary); justify-self: start; margin-left: 20px; cursor: pointer; @@ -50,7 +50,7 @@ } .nav-links { - color: #fff; + color: var(--secondary); display: flex; align-items: center; text-decoration: none; @@ -59,12 +59,12 @@ } .nav-links:hover { - border-bottom: 4px solid #fff; + border-bottom: 4px solid var(--secondary); transition: all 0.2s ease-out; } .fa-bars { - color: #fff; + color: var(--secondary); } .nav-links-mobile { @@ -93,7 +93,7 @@ } .nav-menu.active { - background: #abb7b7; + background: var(--primary); left: 0; opacity: 1; transition: all 0.5s ease; @@ -108,7 +108,7 @@ } .nav-links:hover { - background-color: #fff; + background-color: var(--secondary); color: #000; border-radius: 0; } @@ -131,7 +131,7 @@ } .fa-times { - color: #fff; + color: var(--secondary); font-size: 2rem; } @@ -144,15 +144,15 @@ text-decoration: none; font-size: 1.5rem; background-color: transparent; - color: #fff; + color: var(--primary); padding: 14px 20px; border: 1px solid #fff; transition: all 0.3s ease-out; } .nav-links-mobile:hover { - background: #fff; - color: #6c7a89; + background: var(--primary); + color: var(--secondary); transition: 250ms; } } diff --git a/frontend/src/components/pages/Privacy.js b/frontend/src/components/pages/Privacy.js new file mode 100644 index 0000000..26f713d --- /dev/null +++ b/frontend/src/components/pages/Privacy.js @@ -0,0 +1,12 @@ +import React from "react"; +import "../../App.css"; +import Footer from "../../Footer"; + +export default function SignUp() { + return ( + <> +

SIGN UP

+