Public-Auth-Seiten in Landingpage-Stil integrieren
- gemeinsames Public-CSS fuer Landingpage und Auth-Seiten ergaenzen - Login, Registrierung und Passwort-/E-Mail-Seiten vom App-Layout trennen - App-Sidebar von Public-Login- und Registrierungslinks bereinigen - Webspace- und Subdomain-Strategie dokumentieren
This commit is contained in:
+11
-117
@@ -5,125 +5,19 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
<link rel="stylesheet" href="assets/css/main.css" />
|
||||
<style>
|
||||
body {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.landing-shell {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.landing-hero {
|
||||
min-height: 82vh;
|
||||
background-image: url("assets/images/landing-hero.png");
|
||||
background-size: cover;
|
||||
background-position: center right;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 4rem 6vw;
|
||||
}
|
||||
|
||||
.landing-hero:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(255, 255, 255, 0.68);
|
||||
}
|
||||
|
||||
.landing-hero-content {
|
||||
position: relative;
|
||||
max-width: 42rem;
|
||||
}
|
||||
|
||||
.landing-hero h1 {
|
||||
margin-bottom: 0.35em;
|
||||
}
|
||||
|
||||
.landing-hero p {
|
||||
color: #3d4449;
|
||||
font-size: 1.15em;
|
||||
max-width: 34rem;
|
||||
}
|
||||
|
||||
.landing-nav {
|
||||
position: absolute;
|
||||
top: 1.5rem;
|
||||
left: 6vw;
|
||||
right: 6vw;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.landing-nav strong {
|
||||
color: #3d4449;
|
||||
font-family: "Roboto Slab", serif;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.landing-section {
|
||||
padding: 4rem 6vw;
|
||||
}
|
||||
|
||||
.landing-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 1.25rem;
|
||||
max-width: 72rem;
|
||||
}
|
||||
|
||||
.landing-feature {
|
||||
border: solid 1px rgba(210, 215, 217, 0.75);
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.landing-feature h3 {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.landing-feature p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 980px) {
|
||||
.landing-hero {
|
||||
min-height: 78vh;
|
||||
padding: 5.5rem 2rem 3rem 2rem;
|
||||
background-position: center right 30%;
|
||||
}
|
||||
|
||||
.landing-nav {
|
||||
left: 2rem;
|
||||
right: 2rem;
|
||||
}
|
||||
|
||||
.landing-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.landing-section {
|
||||
padding: 3rem 2rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="assets/css/public.css" />
|
||||
</head>
|
||||
<body class="is-preload">
|
||||
<div class="landing-shell">
|
||||
<section class="landing-hero">
|
||||
<nav class="landing-nav" aria-label="Hauptnavigation">
|
||||
<body class="is-preload public-page">
|
||||
<div class="public-shell">
|
||||
<section class="public-hero">
|
||||
<nav class="public-nav" aria-label="Hauptnavigation">
|
||||
<strong>Kaffeeliste</strong>
|
||||
<ul class="actions">
|
||||
<li><a href="login.php" class="button">Login</a></li>
|
||||
<li><a href="register.php" class="button primary">Registrieren</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="landing-hero-content">
|
||||
<div class="public-hero-content">
|
||||
<h1>Kaffeeliste</h1>
|
||||
<p>Die digitale Kaffeekasse fuer Teams, Bueros und Vereine: Striche, Einzahlungen und offene Betraege bleiben nachvollziehbar an einem Ort.</p>
|
||||
<ul class="actions">
|
||||
@@ -133,20 +27,20 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="landing-section">
|
||||
<section class="public-section">
|
||||
<header class="major">
|
||||
<h2>Alles rund um die Kaffeekasse</h2>
|
||||
</header>
|
||||
<div class="landing-grid">
|
||||
<article class="landing-feature">
|
||||
<div class="public-grid">
|
||||
<article class="public-feature">
|
||||
<h3>Striche erfassen</h3>
|
||||
<p>Teilnehmer und Admins behalten Verbrauch, Einzahlungen und Salden im Blick.</p>
|
||||
</article>
|
||||
<article class="landing-feature">
|
||||
<article class="public-feature">
|
||||
<h3>Mandantenfaehig</h3>
|
||||
<p>Jeder Kunde arbeitet in seinem eigenen Bereich mit eigenen Einstellungen.</p>
|
||||
</article>
|
||||
<article class="landing-feature">
|
||||
<article class="public-feature">
|
||||
<h3>Webspace-tauglich</h3>
|
||||
<p>Der Start erfolgt ueber eine zentrale App-Adresse mit Login und Mandantenauswahl.</p>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user