Compare commits
2 commits
c69bd172c4
...
525116eb78
| Author | SHA1 | Date | |
|---|---|---|---|
| 525116eb78 | |||
| c36c7179cf |
5 changed files with 49 additions and 44 deletions
|
|
@ -4,23 +4,17 @@ import Logo from "./Logo.astro";
|
||||||
---
|
---
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
<div class="only-mobile">
|
||||||
|
<Logo />
|
||||||
|
</div>
|
||||||
|
<nav>
|
||||||
<Logo />
|
<Logo />
|
||||||
<div id="user-action">
|
<div id="user-action">
|
||||||
<UserAction client:load />
|
<UserAction client:load />
|
||||||
</div>
|
</div>
|
||||||
|
<a id="startseite" href="/" class="only-mobile menu-nav">Startseite</a>
|
||||||
<nav>
|
<a id="impressum" href="/impressum" class="menu-nav">Impressum</a>
|
||||||
<div class="nav-left">
|
<a id="datenschutz" href="/privacy-policy" class="menu-nav">Datenschutz</a>
|
||||||
<Logo />
|
|
||||||
<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>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<input type="checkbox" id="menu-toggle" class="menu-icon" />
|
<input type="checkbox" id="menu-toggle" class="menu-icon" />
|
||||||
|
|
@ -37,6 +31,17 @@ 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%;
|
||||||
|
|
@ -47,23 +52,10 @@ 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,
|
||||||
.nav-left {
|
.only-mobile {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -72,8 +64,27 @@ 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 {
|
||||||
display: none;
|
margin: 0;
|
||||||
|
order: 2;
|
||||||
|
margin-bottom: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#impressum {
|
||||||
|
order: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#datenschutz {
|
||||||
|
order: 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-icon {
|
.menu-icon {
|
||||||
|
|
@ -101,7 +112,7 @@ import Logo from "./Logo.astro";
|
||||||
width: 66vw;
|
width: 66vw;
|
||||||
min-width: 320px;
|
min-width: 320px;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
padding: 32px 0 0 32px;
|
padding: 32px 0 32px 32px;
|
||||||
background: var(--primary-color);
|
background: var(--primary-color);
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -113,7 +124,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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -123,6 +134,9 @@ 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,10 +17,4 @@
|
||||||
#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,6 +1,5 @@
|
||||||
---
|
---
|
||||||
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";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -16,5 +15,3 @@ 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