Homepage: first steps section describing how to join the legion
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
5fcf0a2957
commit
16aae8320e
2 changed files with 96 additions and 0 deletions
|
|
@ -3168,6 +3168,68 @@ body.home-page .navbar {
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Erste Schritte: Stepper mit Fortschrittslinie ueber jedem Schritt */
|
||||||
|
.home-steps {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
|
gap: 2.5rem 1.25rem;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
counter-reset: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-step {
|
||||||
|
position: relative;
|
||||||
|
padding-top: 1.6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-step::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 3px;
|
||||||
|
border-radius: 3px;
|
||||||
|
background: linear-gradient(90deg, rgba(230, 193, 90, 0.85), rgba(230, 193, 90, 0.15));
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-step:last-child::before {
|
||||||
|
background: linear-gradient(90deg, #e6c15a, #f7e3a1);
|
||||||
|
box-shadow: 0 0 16px rgba(230, 193, 90, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-step-no {
|
||||||
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
border-radius: 12px;
|
||||||
|
background: rgba(230, 193, 90, 0.12);
|
||||||
|
border: 1px solid rgba(230, 193, 90, 0.35);
|
||||||
|
color: var(--home-gold);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.05rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-step:last-child .home-step-no {
|
||||||
|
background: var(--home-gold);
|
||||||
|
color: #1a1406;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-step h3 {
|
||||||
|
margin: 0 0 0.4rem;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-step p {
|
||||||
|
margin: 0;
|
||||||
|
color: #b9b7c4;
|
||||||
|
line-height: 1.65;
|
||||||
|
}
|
||||||
|
|
||||||
/* Discord */
|
/* Discord */
|
||||||
.home-discord {
|
.home-discord {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
@ -3318,6 +3380,7 @@ body.home-page .navbar {
|
||||||
.home-value:nth-child(1),
|
.home-value:nth-child(1),
|
||||||
.home-value:nth-child(4) { grid-column: span 12; }
|
.home-value:nth-child(4) { grid-column: span 12; }
|
||||||
.home-discord { grid-template-columns: 1fr; padding: 1.75rem; }
|
.home-discord { grid-template-columns: 1fr; padding: 1.75rem; }
|
||||||
|
.home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||||
.home-discord-stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
|
.home-discord-stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3332,6 +3395,13 @@ body.home-page .navbar {
|
||||||
.home-value { padding: 1.4rem; border-radius: 20px; }
|
.home-value { padding: 1.4rem; border-radius: 20px; }
|
||||||
.home-value-top { margin-bottom: 1.5rem; }
|
.home-value-top { margin-bottom: 1.5rem; }
|
||||||
.home-discord { border-radius: 22px; padding: 1.4rem; }
|
.home-discord { border-radius: 22px; padding: 1.4rem; }
|
||||||
|
/* Schritte als senkrechte Zeitleiste: Linie links, Nummer davor */
|
||||||
|
.home-steps { grid-template-columns: 1fr; gap: 0; }
|
||||||
|
.home-step { padding: 0 0 1.75rem 3.4rem; }
|
||||||
|
.home-step::before { top: 44px; bottom: 4px; left: 19px; right: auto; width: 2px; height: auto; background: rgba(230, 193, 90, 0.3); box-shadow: none; }
|
||||||
|
.home-step:last-child::before { display: none; }
|
||||||
|
.home-step-no { position: absolute; top: 0; left: 0; margin: 0; }
|
||||||
|
.home-step h3 { padding-top: 0.45rem; }
|
||||||
.home-discord-button { width: 100%; justify-content: center; }
|
.home-discord-button { width: 100%; justify-content: center; }
|
||||||
.home-discord-stats strong { font-size: 1.6rem; }
|
.home-discord-stats strong { font-size: 1.6rem; }
|
||||||
.home-footer { margin-top: 4rem; }
|
.home-footer { margin-top: 4rem; }
|
||||||
|
|
|
||||||
26
index.php
26
index.php
|
|
@ -38,6 +38,16 @@ $values = [
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Erste Schritte: so laeuft die Aufnahme in die Legion ab.
|
||||||
|
$steps = [
|
||||||
|
['title' => 'Discord beitreten', 'text' => 'Komm über den Einladungslink unten auf unseren Discord-Server.'],
|
||||||
|
['title' => 'Verifizieren', 'text' => 'Verifiziere dich kurz auf dem Server, damit du die Kanäle sehen kannst.'],
|
||||||
|
['title' => 'Ticket erstellen', 'text' => 'Öffne im Discord ein Ticket - dort läuft deine Bewerbung ab.'],
|
||||||
|
['title' => 'Vorstellung schreiben', 'text' => 'Erzähl uns im Ticket, wer du bist, was du spielst und warum du zu uns möchtest.'],
|
||||||
|
['title' => 'Kennenlernen', 'text' => 'Du unterhältst dich ein bisschen mit den Sedes Lumines, unserer Gildenleitung.'],
|
||||||
|
['title' => 'Entscheidung', 'text' => 'Die Gildenleitung entscheidet, ob es passt - und wenn ja: Willkommen in der Legion!'],
|
||||||
|
];
|
||||||
|
|
||||||
// Eckdaten der Legion (Fraktion und Sprache wie in der Beschreibung des Discord-Servers).
|
// Eckdaten der Legion (Fraktion und Sprache wie in der Beschreibung des Discord-Servers).
|
||||||
$facts = [
|
$facts = [
|
||||||
['label' => 'Spiel', 'value' => 'Aion 2'],
|
['label' => 'Spiel', 'value' => 'Aion 2'],
|
||||||
|
|
@ -115,6 +125,22 @@ include __DIR__ . '/includes/header.php';
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="home-section home-steps-section" id="beitreten">
|
||||||
|
<div class="home-section-head">
|
||||||
|
<span class="home-pill">Erste Schritte</span>
|
||||||
|
<h2>So wirst du Teil der Legion</h2>
|
||||||
|
</div>
|
||||||
|
<ol class="home-steps">
|
||||||
|
<?php foreach ($steps as $i => $step): ?>
|
||||||
|
<li class="home-step">
|
||||||
|
<span class="home-step-no"><?= $i + 1 ?></span>
|
||||||
|
<h3><?= e($step['title']) ?></h3>
|
||||||
|
<p><?= e($step['text']) ?></p>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section class="home-section" id="discord">
|
<section class="home-section" id="discord">
|
||||||
<div class="home-discord">
|
<div class="home-discord">
|
||||||
<div class="home-discord-main">
|
<div class="home-discord-main">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue