welcome template
All checks were successful
Build and Deploy Backend / build_and_deploy (push) Successful in 25s
Build and Deploy Astro App / build_and_deploy (push) Successful in 36s

This commit is contained in:
Chiara 2026-10-06 19:47:45 +02:00
parent 7d256c9f3f
commit 0ea283435e

View file

@ -6,15 +6,30 @@
</head>
<body>
<div>
<h1>Willkommen, {{data.name}}</h1>
<p>Du hast dich bei Blauwasser-Mausis.de angemeldet. Solltest du das nicht gewesen sein, dann lösche die Daten einfach über den untenstehenden Link.</p>
<p>Dein persönlicher Code, um alle Funktionen nutzen zu können: {{data.user_code}}</p>
<a href="https://blauwasser-mausis.de/user">
<span>Daten löschen</span>
</a>
<div id="card">
<div class="center"">
<img src="https://blauwasser-mausis.de/BWM_512.webp">
</div>
<div>
<p id="welcome"><strong>⚓︎ Willkommen {{data.name}},</strong> du hast dich erfolgreich registriert.</p>
<p id="code-text">Dein persönlicher Code zum Anmelden: </p>
<p class="accent">{{data.user_code}}</p>
<p id="info-text">Du erhälst nun eine Mail, wenn wir einen neuen Artikel veröffentlichen. Auch die
zukünftigen Features des Blogs (z.B. Kommentare) kannst du so nutzen.
<br />
Alle Einstellung kannst du jederzeit in deinem Profil anpassen.
</p>
<a href="https://blauwasser-mausis.de/login">
<button>⚓︎ Jetzt einloggen ⚓︎</button>
</a>
</div>
<hr>
<div class="center">
<p class="hide">Du hast dich nicht registriert? Einfach <a class="hide"
href="https://blauwasser-mausis.de/user">hier</a>
löschen. </p>
</div>
</div>
</div>
</body>
@ -29,12 +44,70 @@
}
div {
#card {
background-image: linear-gradient(to bottom, #1d3238, #3c6a7b);
padding: 16px 32px;
border-radius: 8px;
}
.center {
display: flex;
align-items: center;
flex-direction: column;
background-color: lightgrey;
padding: 32px 64px;
flex-direction: row;
justify-content: center;
}
img {
width: 88px;
padding: 0 0 16px 0;
}
p {
color: white;
}
#welcome {
padding-bottom: 8px;
font-size: 1.1rem;
}
#code-text {
margin: 0;
}
.accent {
color: #ffff00;
font-weight: 600;
padding: 0px;
margin: 0;
font-size: 1.4rem;
}
#info-text {
padding-top: 12px;
}
p {
line-height: 1.5;
font-size: 0.9rem;
}
button {
padding: 12px;
background-color: azure;
border-radius: 3px;
border: none;
font-weight: 700;
color: #1d3238;
margin: 16px 0 24px 0;
width: 100%;
}
hr {
width: 100%;
color: white;
}
.hide {
color: #bbbebf;
}
</style>