Compare commits
No commits in common. "525116eb78cf9c34c2ee57442516fe9340470f4a" and "c69bd172c4ca23a68bdeaf4c1c31968a24c4f84e" have entirely different histories.
525116eb78
...
c69bd172c4
5 changed files with 44 additions and 49 deletions
|
|
@ -4,17 +4,23 @@ import Logo from "./Logo.astro";
|
||||||
---
|
---
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<div class="only-mobile">
|
<Logo />
|
||||||
<Logo />
|
<div id="user-action">
|
||||||
|
<UserAction client:load />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<Logo />
|
<div class="nav-left">
|
||||||
<div id="user-action">
|
<Logo />
|
||||||
<UserAction client:load />
|
<div id="menu-points">
|
||||||
|
<a href="/" class="menu-nav">Startseite</a>
|
||||||
|
<UserAction client:load />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="nav-right">
|
||||||
|
<a href="/impressum" class="menu-nav">Impressum</a>
|
||||||
|
<a href="/privacy-policy" class="menu-nav">Datenschutz</a>
|
||||||
</div>
|
</div>
|
||||||
<a id="startseite" href="/" class="only-mobile menu-nav">Startseite</a>
|
|
||||||
<a id="impressum" href="/impressum" class="menu-nav">Impressum</a>
|
|
||||||
<a id="datenschutz" href="/privacy-policy" class="menu-nav">Datenschutz</a>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<input type="checkbox" id="menu-toggle" class="menu-icon" />
|
<input type="checkbox" id="menu-toggle" class="menu-icon" />
|
||||||
|
|
@ -31,17 +37,6 @@ import Logo from "./Logo.astro";
|
||||||
color: var(--primary-text);
|
color: var(--primary-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#user-action {
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
header {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -52,10 +47,23 @@ import Logo from "./Logo.astro";
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-right {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
#menu-toggle,
|
#menu-toggle,
|
||||||
.menu-icon,
|
.menu-icon,
|
||||||
.menu-backdrop,
|
.menu-backdrop,
|
||||||
.only-mobile {
|
.nav-left {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -64,27 +72,8 @@ import Logo from "./Logo.astro";
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.only-mobile {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#startseite {
|
|
||||||
order: 1;
|
|
||||||
margin-top: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#user-action {
|
#user-action {
|
||||||
margin: 0;
|
display: none;
|
||||||
order: 2;
|
|
||||||
margin-bottom: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#impressum {
|
|
||||||
order: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
#datenschutz {
|
|
||||||
order: 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-icon {
|
.menu-icon {
|
||||||
|
|
@ -112,7 +101,7 @@ import Logo from "./Logo.astro";
|
||||||
width: 66vw;
|
width: 66vw;
|
||||||
min-width: 320px;
|
min-width: 320px;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
padding: 32px 0 32px 32px;
|
padding: 32px 0 0 32px;
|
||||||
background: var(--primary-color);
|
background: var(--primary-color);
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -124,7 +113,7 @@ import Logo from "./Logo.astro";
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
* {
|
a {
|
||||||
color: whitesmoke;
|
color: whitesmoke;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -134,9 +123,6 @@ import Logo from "./Logo.astro";
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
* {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-left {
|
.nav-left {
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,10 @@
|
||||||
#logo-text {
|
#logo-text {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 800px) {
|
||||||
|
#logo-text {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ export default function LoginForm() {
|
||||||
|
|
||||||
<style>{`
|
<style>{`
|
||||||
@media screen and (max-width: 800px) {
|
@media screen and (max-width: 800px) {
|
||||||
main * {
|
* {
|
||||||
color: white;
|
color: white;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ export default function RegisterForm() {
|
||||||
|
|
||||||
<style>{`
|
<style>{`
|
||||||
@media screen and (max-width: 800px) {
|
@media screen and (max-width: 800px) {
|
||||||
main * {
|
* {
|
||||||
color: white;
|
color: white;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
import LoginForm from "../islands/LoginForm";
|
import LoginForm from "../islands/LoginForm";
|
||||||
|
import NavBack from "../islands/NavBack";
|
||||||
import Form from "../layouts/Form.astro";
|
import Form from "../layouts/Form.astro";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -15,3 +16,5 @@ import Form from "../layouts/Form.astro";
|
||||||
<LoginForm client:load />
|
<LoginForm client:load />
|
||||||
<a href="/register">Noch keinen Account? Hier registrieren</a>
|
<a href="/register">Noch keinen Account? Hier registrieren</a>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
|
<style></style>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue