diff --git a/assets/css/style.css b/assets/css/style.css index 9a8dfa3..57fb9d1 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -3168,6 +3168,68 @@ body.home-page .navbar { 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 */ .home-discord { position: relative; @@ -3318,6 +3380,7 @@ body.home-page .navbar { .home-value:nth-child(1), .home-value:nth-child(4) { grid-column: span 12; } .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)); } } @@ -3332,6 +3395,13 @@ body.home-page .navbar { .home-value { padding: 1.4rem; border-radius: 20px; } .home-value-top { margin-bottom: 1.5rem; } .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-stats strong { font-size: 1.6rem; } .home-footer { margin-top: 4rem; } diff --git a/index.php b/index.php index beab98c..4e5398f 100644 --- a/index.php +++ b/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). $facts = [ ['label' => 'Spiel', 'value' => 'Aion 2'], @@ -115,6 +125,22 @@ include __DIR__ . '/includes/header.php'; +
+
+ Erste Schritte +

So wirst du Teil der Legion

+
+
    + $step): ?> +
  1. + +

    +

    +
  2. + +
+
+