Further redesign and refactoring

This commit is contained in:
cami 2021-06-07 05:03:18 +02:00
parent 49106ea1b6
commit 67575be960
7 changed files with 43 additions and 21 deletions

View file

@ -7,7 +7,8 @@
:root { :root {
--primary: rgb(41, 63, 87); --primary: rgb(41, 63, 87);
--secondary: #fff --secondary: #fff;
--third: rgb(171, 183, 183);
} }
.home, .home,

View file

@ -6,6 +6,7 @@ import Home from "./components/pages/Home";
import SignUp from "./components/pages/SignUp"; import SignUp from "./components/pages/SignUp";
import Ueber from "./components/pages/Ueber"; import Ueber from "./components/pages/Ueber";
import Lizenzen from "./components/pages/lizenzen"; import Lizenzen from "./components/pages/lizenzen";
import Privacy from "./components/pages/Privacy";
function App() { function App() {
return ( return (
@ -17,6 +18,7 @@ function App() {
<Route path="/services" component={Ueber} /> <Route path="/services" component={Ueber} />
<Route path="/sign-up" component={SignUp} /> <Route path="/sign-up" component={SignUp} />
<Route path="/lizenzen" component={Lizenzen} /> <Route path="/lizenzen" component={Lizenzen} />
<Route path="/privacy" component={Privacy} />
</Switch> </Switch>
</Router> </Router>
</> </>

View file

@ -22,7 +22,7 @@ function Footer() {
<div className="footer-link-wrapper"> <div className="footer-link-wrapper">
<div className="footer-link-items"> <div className="footer-link-items">
<h2>Rechtliches</h2> <h2>Rechtliches</h2>
<Link to="/">Datenschutz</Link> <Link to="/privacy">Datenschutz</Link>
<Link to="/lizenzen">Lizenzen und Bildnachweise</Link> <Link to="/lizenzen">Lizenzen und Bildnachweise</Link>
</div> </div>
</div> </div>

View file

@ -26,7 +26,7 @@ video {
.hero-container > p { .hero-container > p {
margin-top: 8px; margin-top: 8px;
color: #fff; color: var(--secondary);
font-size: 32px; font-size: 32px;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif; "Lucida Sans", Arial, sans-serif;
@ -44,6 +44,13 @@ video {
align-items: center; align-items: center;
} }
.hero-btns .btn:hover{
background-color: var(--secondary);
color: var(--primary);
border:none;
}
.fa-play-circle { .fa-play-circle {
margin-left: 4px; margin-left: 4px;
} }

View file

@ -9,13 +9,6 @@ function HeroSection() {
<div className="hero-container"> <div className="hero-container">
<h1>Herzlich Willkommen</h1> <h1>Herzlich Willkommen</h1>
<div className="hero-btns"> <div className="hero-btns">
<Button
className="btns"
buttonStyle="btn--primary"
buttonSize="btn--large"
>
Anleitung
</Button>
<Button <Button
className="btns" className="btns"
buttonStyle="btn--primary" buttonStyle="btn--primary"
@ -30,6 +23,13 @@ function HeroSection() {
> >
Registrieren (falls du das erste Mal hier bist) Registrieren (falls du das erste Mal hier bist)
</Button> </Button>
<Button
className="btns"
buttonStyle="btn--primary"
buttonSize="btn--large"
>
Anleitung
</Button>
</div> </div>
</div> </div>
); );

View file

@ -1,5 +1,5 @@
.navbar { .navbar {
background: linear-gradient(90deg, rgb(41, 63, 87) 0%, rgb(41, 63, 87) 100%); background-color: var(--primary);
height: 80px; height: 80px;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -19,7 +19,7 @@
} }
.navbar-logo { .navbar-logo {
color: #fff; color: var(--secondary);
justify-self: start; justify-self: start;
margin-left: 20px; margin-left: 20px;
cursor: pointer; cursor: pointer;
@ -50,7 +50,7 @@
} }
.nav-links { .nav-links {
color: #fff; color: var(--secondary);
display: flex; display: flex;
align-items: center; align-items: center;
text-decoration: none; text-decoration: none;
@ -59,12 +59,12 @@
} }
.nav-links:hover { .nav-links:hover {
border-bottom: 4px solid #fff; border-bottom: 4px solid var(--secondary);
transition: all 0.2s ease-out; transition: all 0.2s ease-out;
} }
.fa-bars { .fa-bars {
color: #fff; color: var(--secondary);
} }
.nav-links-mobile { .nav-links-mobile {
@ -93,7 +93,7 @@
} }
.nav-menu.active { .nav-menu.active {
background: #abb7b7; background: var(--primary);
left: 0; left: 0;
opacity: 1; opacity: 1;
transition: all 0.5s ease; transition: all 0.5s ease;
@ -108,7 +108,7 @@
} }
.nav-links:hover { .nav-links:hover {
background-color: #fff; background-color: var(--secondary);
color: #000; color: #000;
border-radius: 0; border-radius: 0;
} }
@ -131,7 +131,7 @@
} }
.fa-times { .fa-times {
color: #fff; color: var(--secondary);
font-size: 2rem; font-size: 2rem;
} }
@ -144,15 +144,15 @@
text-decoration: none; text-decoration: none;
font-size: 1.5rem; font-size: 1.5rem;
background-color: transparent; background-color: transparent;
color: #fff; color: var(--primary);
padding: 14px 20px; padding: 14px 20px;
border: 1px solid #fff; border: 1px solid #fff;
transition: all 0.3s ease-out; transition: all 0.3s ease-out;
} }
.nav-links-mobile:hover { .nav-links-mobile:hover {
background: #fff; background: var(--primary);
color: #6c7a89; color: var(--secondary);
transition: 250ms; transition: 250ms;
} }
} }

View file

@ -0,0 +1,12 @@
import React from "react";
import "../../App.css";
import Footer from "../../Footer";
export default function SignUp() {
return (
<>
<h1 className="sign-up">SIGN UP</h1>
<Footer />
</>
);
}