Homepage: modern look with floating fact bar, bento values, Discord panel, 30+ member label
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
fcb7154dc7
commit
5fcf0a2957
2 changed files with 424 additions and 232 deletions
|
|
@ -2895,14 +2895,29 @@ input.shop-approve-quantity { width: 72px; padding: 0.3rem 0.45rem; font-size: 0
|
||||||
/* --- Oeffentliche Startseite --- */
|
/* --- Oeffentliche Startseite --- */
|
||||||
|
|
||||||
body.home-page {
|
body.home-page {
|
||||||
background: #14120f;
|
--home-bg: #0b0b10;
|
||||||
|
--home-surface: rgba(255, 255, 255, 0.035);
|
||||||
|
--home-line: rgba(255, 255, 255, 0.08);
|
||||||
|
--home-text: #ecebf2;
|
||||||
|
--home-muted: #a3a1b0;
|
||||||
|
--home-gold: #e6c15a;
|
||||||
|
background:
|
||||||
|
radial-gradient(1200px 600px at 85% 40%, rgba(230, 193, 90, 0.07), transparent 60%),
|
||||||
|
radial-gradient(900px 500px at 10% 75%, rgba(88, 101, 242, 0.08), transparent 60%),
|
||||||
|
var(--home-bg);
|
||||||
|
color: var(--home-text);
|
||||||
|
font-family: "Segoe UI Variable Display", "Segoe UI Variable Text", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.home-page .navbar {
|
body.home-page .navbar {
|
||||||
position: relative;
|
position: sticky;
|
||||||
z-index: 2;
|
top: 0;
|
||||||
background: rgba(18, 16, 13, 0.96);
|
z-index: 20;
|
||||||
border-bottom: 1px solid rgba(201, 162, 39, 0.35);
|
background: rgba(11, 11, 16, 0.72);
|
||||||
|
backdrop-filter: blur(14px) saturate(140%);
|
||||||
|
-webkit-backdrop-filter: blur(14px) saturate(140%);
|
||||||
|
border-bottom: 1px solid var(--home-line);
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-discord {
|
.navbar-discord {
|
||||||
|
|
@ -2910,9 +2925,11 @@ body.home-page .navbar {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.4rem;
|
gap: 0.4rem;
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-discord:hover { color: #fff; text-decoration: none; }
|
.navbar-discord:hover { color: #fff; text-decoration: none; }
|
||||||
|
.navbar-user a.button-small { border-radius: 999px; padding: 0.35rem 0.95rem; }
|
||||||
.navbar-user a.button-small:hover { color: #1a1a1a; }
|
.navbar-user a.button-small:hover { color: #1a1a1a; }
|
||||||
|
|
||||||
.page-full { display: block; }
|
.page-full { display: block; }
|
||||||
|
|
@ -2921,14 +2938,13 @@ body.home-page .navbar {
|
||||||
.home-banner {
|
.home-banner {
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
background: #0d0c0a;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-banner img {
|
.home-banner img {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-height: 72vh;
|
max-height: 78vh;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2936,231 +2952,387 @@ body.home-page .navbar {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: auto 0 0 0;
|
inset: auto 0 0 0;
|
||||||
height: 18%;
|
height: 35%;
|
||||||
background: linear-gradient(transparent, #14120f);
|
background: linear-gradient(transparent, var(--home-bg));
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-section {
|
/* Eckdaten: schwebende Leiste, die in den unteren Bannerrand ragt */
|
||||||
max-width: 1080px;
|
.home-facts-wrap {
|
||||||
margin: 0 auto;
|
position: relative;
|
||||||
padding: 4rem 1.5rem;
|
z-index: 2;
|
||||||
}
|
max-width: 1120px;
|
||||||
|
margin: -3.25rem auto 0;
|
||||||
.home-eyebrow {
|
padding: 0 1.5rem;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 0.4rem;
|
|
||||||
margin: 0 0 0.5rem;
|
|
||||||
color: var(--gold);
|
|
||||||
font-size: 0.8rem;
|
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: 0.14em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-eyebrow .discord-logo { color: var(--gold); }
|
|
||||||
|
|
||||||
.home-page h1,
|
|
||||||
.home-heading,
|
|
||||||
.home-facts h2,
|
|
||||||
.home-values h3,
|
|
||||||
.home-discord h2 {
|
|
||||||
font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
|
|
||||||
font-weight: 700;
|
|
||||||
color: #f1e6c8;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Ueber uns + Steckbrief */
|
|
||||||
.home-about {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
|
|
||||||
gap: 3.5rem;
|
|
||||||
align-items: start;
|
|
||||||
padding-top: 2.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-about h1 {
|
|
||||||
margin: 0 0 1.25rem;
|
|
||||||
font-size: clamp(2rem, 4.2vw, 2.9rem);
|
|
||||||
line-height: 1.15;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-about-text p {
|
|
||||||
margin: 0 0 1rem;
|
|
||||||
color: #d6d0c2;
|
|
||||||
font-size: 1.08rem;
|
|
||||||
line-height: 1.7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-about-text strong { color: #f1e6c8; }
|
|
||||||
|
|
||||||
.home-link {
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-facts {
|
.home-facts {
|
||||||
padding: 1.5rem 1.6rem;
|
display: grid;
|
||||||
background: #1d1a15;
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||||
border: 1px solid #3a3326;
|
margin: 0;
|
||||||
border-radius: 4px;
|
padding: 0.5rem;
|
||||||
|
list-style: none;
|
||||||
|
background: rgba(20, 20, 28, 0.72);
|
||||||
|
backdrop-filter: blur(18px) saturate(150%);
|
||||||
|
-webkit-backdrop-filter: blur(18px) saturate(150%);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
border-radius: 20px;
|
||||||
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-facts h2 {
|
.home-facts li {
|
||||||
margin: 0 0 0.75rem;
|
|
||||||
padding-bottom: 0.6rem;
|
|
||||||
border-bottom: 1px solid #3a3326;
|
|
||||||
font-size: 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-facts dl { margin: 0; }
|
|
||||||
|
|
||||||
.home-facts dl > div {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
gap: 0.15rem;
|
||||||
padding: 0.55rem 0;
|
padding: 0.9rem 1.25rem;
|
||||||
border-bottom: 1px dashed #332d22;
|
border-radius: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-facts dl > div:last-child { border-bottom: none; }
|
.home-facts li + li { box-shadow: -1px 0 0 var(--home-line); }
|
||||||
.home-facts dt { color: #9a917f; }
|
|
||||||
.home-facts dd { margin: 0; color: #f1e6c8; font-weight: 600; text-align: right; }
|
|
||||||
|
|
||||||
/* Werte */
|
.home-facts span {
|
||||||
.home-values-band {
|
color: var(--home-muted);
|
||||||
background: #1a1713;
|
font-size: 0.78rem;
|
||||||
border-top: 1px solid #2c271e;
|
font-weight: 500;
|
||||||
border-bottom: 1px solid #2c271e;
|
letter-spacing: 0.02em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-heading {
|
.home-facts strong {
|
||||||
margin: 0 0 2.25rem;
|
font-size: 1.15rem;
|
||||||
font-size: clamp(1.7rem, 3.4vw, 2.3rem);
|
font-weight: 650;
|
||||||
|
letter-spacing: -0.01em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-facts li.is-highlight {
|
||||||
|
background: linear-gradient(135deg, rgba(230, 193, 90, 0.18), rgba(230, 193, 90, 0.04));
|
||||||
|
box-shadow: inset 0 0 0 1px rgba(230, 193, 90, 0.35);
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-facts li.is-highlight strong {
|
||||||
|
color: var(--home-gold);
|
||||||
|
font-size: 1.5rem;
|
||||||
|
line-height: 1.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Abschnitte */
|
||||||
|
.home-section {
|
||||||
|
max-width: 1120px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 5.5rem 1.5rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-pill {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.4rem;
|
||||||
|
padding: 0.3rem 0.8rem;
|
||||||
|
border: 1px solid rgba(230, 193, 90, 0.35);
|
||||||
|
border-radius: 999px;
|
||||||
|
background: rgba(230, 193, 90, 0.08);
|
||||||
|
color: var(--home-gold);
|
||||||
|
font-size: 0.8rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-page h1,
|
||||||
|
.home-page h2,
|
||||||
|
.home-page h3 {
|
||||||
|
color: var(--home-text);
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: -0.025em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-gradient-text {
|
||||||
|
background: linear-gradient(100deg, #f7e3a1, #e6c15a 45%, #c89530);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Ueber uns: grosse Ueberschrift links, Text rechts */
|
||||||
|
.home-about {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
|
||||||
|
gap: 3rem;
|
||||||
|
align-items: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-about h1 {
|
||||||
|
margin: 1rem 0 0;
|
||||||
|
font-size: clamp(2.4rem, 5.2vw, 4rem);
|
||||||
|
line-height: 1.02;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-about-text { padding-top: 2.6rem; }
|
||||||
|
|
||||||
|
.home-about-text p {
|
||||||
|
margin: 0 0 1.1rem;
|
||||||
|
color: #c9c7d3;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
line-height: 1.75;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-about-text strong { color: var(--home-text); font-weight: 600; }
|
||||||
|
|
||||||
|
.home-link {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.4rem;
|
||||||
|
margin-top: 0.4rem;
|
||||||
|
color: var(--home-gold);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-link span { transition: transform 0.2s ease; }
|
||||||
|
.home-link:hover { color: #f7e3a1; text-decoration: none; }
|
||||||
|
.home-link:hover span { transform: translateX(4px); }
|
||||||
|
|
||||||
|
/* Werte: Bento-Raster */
|
||||||
|
.home-section-head { margin-bottom: 2rem; }
|
||||||
|
|
||||||
|
.home-section-head h2 {
|
||||||
|
margin: 0.9rem 0 0;
|
||||||
|
font-size: clamp(2rem, 4vw, 3rem);
|
||||||
|
line-height: 1.05;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-values {
|
.home-values {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
||||||
gap: 2.25rem 3.5rem;
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-value {
|
||||||
|
position: relative;
|
||||||
|
grid-column: span 5;
|
||||||
|
padding: 1.75rem;
|
||||||
|
overflow: hidden;
|
||||||
|
background: var(--home-surface);
|
||||||
|
border: 1px solid var(--home-line);
|
||||||
|
border-radius: 24px;
|
||||||
|
transition: border-color 0.25s ease, background 0.25s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-value:nth-child(1),
|
||||||
|
.home-value:nth-child(4) { grid-column: span 7; }
|
||||||
|
|
||||||
|
.home-value::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: -40% -20% auto auto;
|
||||||
|
width: 60%;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
background: radial-gradient(circle, rgba(230, 193, 90, 0.14), transparent 65%);
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.3s ease;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-value:hover { border-color: rgba(230, 193, 90, 0.3); background: rgba(255, 255, 255, 0.05); }
|
||||||
|
.home-value:hover::before { opacity: 1; }
|
||||||
|
|
||||||
|
.home-value-top {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 2.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-value-emoji {
|
||||||
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
|
width: 52px;
|
||||||
|
height: 52px;
|
||||||
|
border-radius: 16px;
|
||||||
|
background: rgba(255, 255, 255, 0.06);
|
||||||
|
border: 1px solid var(--home-line);
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-value-no {
|
||||||
|
color: rgba(255, 255, 255, 0.18);
|
||||||
|
font-size: 2.2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: -0.04em;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-value h3 {
|
||||||
|
margin: 0 0 0.55rem;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-value p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
color: #b9b7c4;
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-values li {
|
|
||||||
padding-top: 1.1rem;
|
|
||||||
border-top: 2px solid var(--gold);
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-values h3 {
|
|
||||||
margin: 0 0 0.5rem;
|
|
||||||
font-size: 1.35rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-values p {
|
|
||||||
margin: 0;
|
|
||||||
color: #cfc8b8;
|
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Discord */
|
/* Discord */
|
||||||
.home-discord-card {
|
.home-discord {
|
||||||
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: minmax(0, 1fr) auto;
|
grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
|
||||||
gap: 1.25rem 2.5rem;
|
gap: 2.5rem;
|
||||||
align-items: center;
|
padding: 2.5rem;
|
||||||
padding: 2rem 2.25rem;
|
overflow: hidden;
|
||||||
background: #1b1c2b;
|
border-radius: 28px;
|
||||||
border: 1px solid #34375a;
|
border: 1px solid rgba(124, 135, 255, 0.35);
|
||||||
border-left: 4px solid var(--discord);
|
background:
|
||||||
border-radius: 4px;
|
radial-gradient(700px 300px at 0% 0%, rgba(88, 101, 242, 0.45), transparent 70%),
|
||||||
|
radial-gradient(500px 300px at 100% 100%, rgba(230, 193, 90, 0.12), transparent 70%),
|
||||||
|
#13142a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-discord-server {
|
.home-discord-server {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1.1rem;
|
gap: 1rem;
|
||||||
|
margin-bottom: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-discord-server img {
|
.home-discord-server img {
|
||||||
width: 80px;
|
width: 64px;
|
||||||
height: 80px;
|
height: 64px;
|
||||||
border-radius: 22px;
|
border-radius: 20px;
|
||||||
flex-shrink: 0;
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-discord-label {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.4rem;
|
||||||
|
color: #c3c8ff;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-discord-label .discord-logo { color: #c3c8ff; }
|
||||||
|
|
||||||
.home-discord h2 {
|
.home-discord h2 {
|
||||||
margin: 0 0 0.35rem;
|
margin: 0.15rem 0 0;
|
||||||
font-size: 1.6rem;
|
font-size: clamp(1.6rem, 3vw, 2.2rem);
|
||||||
|
line-height: 1.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-discord-counts {
|
.home-discord-main p {
|
||||||
display: flex;
|
margin: 0 0 1.75rem;
|
||||||
flex-wrap: wrap;
|
color: #cfd2ee;
|
||||||
gap: 0.3rem 1.1rem;
|
font-size: 1.05rem;
|
||||||
margin: 0;
|
|
||||||
color: #b5b9d6;
|
|
||||||
font-size: 0.95rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-discord-counts span { display: inline-flex; align-items: center; gap: 0.4rem; }
|
|
||||||
|
|
||||||
.dot {
|
|
||||||
width: 9px;
|
|
||||||
height: 9px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background: #80848e;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dot-online { background: #23a55a; }
|
|
||||||
|
|
||||||
.home-discord-text {
|
|
||||||
grid-column: 1;
|
|
||||||
margin: 0;
|
|
||||||
color: #cfd1e4;
|
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-discord-button {
|
.home-discord-button {
|
||||||
grid-column: 2;
|
|
||||||
grid-row: 1 / span 2;
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
gap: 0.6rem;
|
||||||
gap: 0.55rem;
|
|
||||||
padding: 0.9rem 1.6rem;
|
padding: 0.9rem 1.6rem;
|
||||||
font-size: 1.05rem;
|
border-radius: 999px;
|
||||||
|
background: #fff;
|
||||||
|
color: #1e1f3b;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.02rem;
|
||||||
|
box-shadow: 0 10px 30px rgba(88, 101, 242, 0.35);
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-discord-button:hover { color: #fff; text-decoration: none; }
|
.home-discord-button .discord-logo { color: var(--discord); }
|
||||||
|
|
||||||
|
.home-discord-button:hover {
|
||||||
|
color: #1e1f3b;
|
||||||
|
text-decoration: none;
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 14px 36px rgba(88, 101, 242, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-discord-stats {
|
||||||
|
display: grid;
|
||||||
|
gap: 0.75rem;
|
||||||
|
align-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-discord-stats > div {
|
||||||
|
padding: 1.1rem 1.35rem;
|
||||||
|
border-radius: 18px;
|
||||||
|
background: rgba(255, 255, 255, 0.06);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-discord-stats strong {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.6rem;
|
||||||
|
font-size: 2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: -0.03em;
|
||||||
|
line-height: 1.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-discord-stats span { color: #aab0d8; font-size: 0.9rem; }
|
||||||
|
|
||||||
|
.pulse {
|
||||||
|
position: relative;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: #23a55a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pulse::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: #23a55a;
|
||||||
|
animation: home-pulse 2s ease-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes home-pulse {
|
||||||
|
from { transform: scale(1); opacity: 0.7; }
|
||||||
|
to { transform: scale(2.6); opacity: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.pulse::after { animation: none; }
|
||||||
|
}
|
||||||
|
|
||||||
.home-footer {
|
.home-footer {
|
||||||
max-width: 1080px;
|
max-width: 1120px;
|
||||||
margin: 0 auto;
|
margin: 5.5rem auto 0;
|
||||||
padding: 1.5rem 1.5rem 2.5rem;
|
padding: 1.75rem 1.5rem 2.5rem;
|
||||||
border-top: 1px solid #2c271e;
|
border-top: 1px solid var(--home-line);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: var(--home-muted);
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
color: #9a917f;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-footer p { margin: 0.2rem 0; }
|
.home-footer p { margin: 0.2rem 0; }
|
||||||
|
|
||||||
@media (max-width: 860px) {
|
@media (max-width: 900px) {
|
||||||
.home-about { grid-template-columns: 1fr; gap: 2rem; }
|
.home-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||||
.home-values { grid-template-columns: 1fr; gap: 2rem; }
|
.home-facts li + li { box-shadow: none; }
|
||||||
.home-discord-card { grid-template-columns: 1fr; padding: 1.5rem; }
|
.home-facts li.is-highlight { grid-column: 1 / -1; order: -1; }
|
||||||
.home-discord-button { grid-column: 1; grid-row: auto; width: 100%; }
|
.home-about { grid-template-columns: 1fr; gap: 0; }
|
||||||
|
.home-about-text { padding-top: 1.5rem; }
|
||||||
|
.home-value,
|
||||||
|
.home-value:nth-child(1),
|
||||||
|
.home-value:nth-child(4) { grid-column: span 12; }
|
||||||
|
.home-discord { grid-template-columns: 1fr; padding: 1.75rem; }
|
||||||
|
.home-discord-stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 520px) {
|
@media (max-width: 520px) {
|
||||||
.navbar { padding: 0.6rem 1rem; }
|
.navbar { padding: 0.6rem 1rem; }
|
||||||
.navbar-brand img { height: 36px; }
|
.navbar-brand img { height: 36px; }
|
||||||
.navbar-discord { font-size: 0; gap: 0; } /* nur das Logo */
|
.navbar-discord { font-size: 0; gap: 0; } /* nur das Logo */
|
||||||
.home-section { padding: 2.75rem 1.1rem; }
|
.home-facts-wrap { margin-top: -1.5rem; padding: 0 1rem; }
|
||||||
.home-about { padding-top: 1.5rem; }
|
.home-facts li { padding: 0.75rem 0.9rem; }
|
||||||
|
.home-section { padding: 4rem 1rem 0; }
|
||||||
.home-about-text p { font-size: 1rem; }
|
.home-about-text p { font-size: 1rem; }
|
||||||
.home-discord-server img { width: 60px; height: 60px; border-radius: 16px; }
|
.home-value { padding: 1.4rem; border-radius: 20px; }
|
||||||
.home-discord h2 { font-size: 1.3rem; }
|
.home-value-top { margin-bottom: 1.5rem; }
|
||||||
|
.home-discord { border-radius: 22px; padding: 1.4rem; }
|
||||||
|
.home-discord-button { width: 100%; justify-content: center; }
|
||||||
|
.home-discord-stats strong { font-size: 1.6rem; }
|
||||||
|
.home-footer { margin-top: 4rem; }
|
||||||
}
|
}
|
||||||
138
index.php
138
index.php
|
|
@ -4,12 +4,14 @@ require_once __DIR__ . '/includes/discord.php';
|
||||||
|
|
||||||
// Oeffentliche Startseite der Legion - fuer jeden sichtbar, auch ohne Login.
|
// Oeffentliche Startseite der Legion - fuer jeden sichtbar, auch ohne Login.
|
||||||
|
|
||||||
// Mitgliederzahl = freigeschaltete Konten, wie in der Mitgliederliste.
|
// Mitgliederzahl = freigeschaltete Konten, wie in der Mitgliederliste. Nach aussen gerundet
|
||||||
|
// auf volle Zehner mit "+" (34 -> "30+"), damit die Zahl nicht bei jedem Neuzugang springt.
|
||||||
try {
|
try {
|
||||||
$memberCount = (int) db()->query("SELECT COUNT(*) FROM users WHERE status = 'active'")->fetchColumn();
|
$memberCount = (int) db()->query("SELECT COUNT(*) FROM users WHERE status = 'active'")->fetchColumn();
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
$memberCount = 0;
|
$memberCount = 0;
|
||||||
}
|
}
|
||||||
|
$memberLabel = $memberCount >= 10 ? (intdiv($memberCount, 10) * 10) . '+' : ($memberCount > 0 ? (string) $memberCount : null);
|
||||||
|
|
||||||
$discord = discord_invite_info();
|
$discord = discord_invite_info();
|
||||||
|
|
||||||
|
|
@ -36,18 +38,15 @@ $values = [
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
// Steckbrief 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 = [
|
||||||
'Spiel' => 'Aion 2',
|
['label' => 'Spiel', 'value' => 'Aion 2'],
|
||||||
'Fraktion' => 'Elyos',
|
['label' => 'Fraktion', 'value' => 'Elyos'],
|
||||||
'Sprache' => 'Deutsch',
|
['label' => 'Sprache', 'value' => 'Deutsch'],
|
||||||
'Spielweise' => 'PvE & PvP',
|
['label' => 'Fokus', 'value' => 'PvE & PvP'],
|
||||||
];
|
];
|
||||||
if ($memberCount > 0) {
|
if ($memberLabel !== null) {
|
||||||
$facts['Mitglieder'] = number_format($memberCount, 0, ',', '.') . ' aktiv';
|
$facts[] = ['label' => 'Aktive Mitglieder', 'value' => $memberLabel, 'highlight' => true];
|
||||||
}
|
|
||||||
if ($discord && $discord['tag'] !== '') {
|
|
||||||
$facts['Gilden-Tag'] = $discord['tag'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$pageTitle = '';
|
$pageTitle = '';
|
||||||
|
|
@ -65,10 +64,23 @@ include __DIR__ . '/includes/header.php';
|
||||||
alt="Lumina Ascendens - Legion in Aion 2">
|
alt="Lumina Ascendens - Legion in Aion 2">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="home-facts-wrap">
|
||||||
|
<ul class="home-facts" aria-label="Eckdaten der Legion">
|
||||||
|
<?php foreach ($facts as $fact): ?>
|
||||||
|
<li<?= !empty($fact['highlight']) ? ' class="is-highlight"' : '' ?>>
|
||||||
|
<span><?= e($fact['label']) ?></span>
|
||||||
|
<strong><?= e($fact['value']) ?></strong>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
<section class="home-section home-about">
|
<section class="home-section home-about">
|
||||||
|
<div>
|
||||||
|
<span class="home-pill">Über uns</span>
|
||||||
|
<h1>Schön, dass du <span class="home-gradient-text">da bist.</span></h1>
|
||||||
|
</div>
|
||||||
<div class="home-about-text">
|
<div class="home-about-text">
|
||||||
<p class="home-eyebrow">Über uns</p>
|
|
||||||
<h1>Schön, dass du da bist.</h1>
|
|
||||||
<p>
|
<p>
|
||||||
Wir sind <strong>Lumina Ascendens</strong>, eine Legion in <strong>Aion 2</strong>.
|
Wir sind <strong>Lumina Ascendens</strong>, eine Legion in <strong>Aion 2</strong>.
|
||||||
Hinter dem Namen stecken Spielerinnen und Spieler, die das Spiel am liebsten
|
Hinter dem Namen stecken Spielerinnen und Spieler, die das Spiel am liebsten
|
||||||
|
|
@ -80,63 +92,71 @@ include __DIR__ . '/includes/header.php';
|
||||||
gerade erst in Atreia angekommen bist oder schon jede Festung kennst: Wenn du eine
|
gerade erst in Atreia angekommen bist oder schon jede Festung kennst: Wenn du eine
|
||||||
Legion suchst, in der man sich kennt und aufeinander zählen kann, bist du hier richtig.
|
Legion suchst, in der man sich kennt und aufeinander zählen kann, bist du hier richtig.
|
||||||
</p>
|
</p>
|
||||||
<p><a class="home-link" href="#discord">Komm einfach auf unseren Discord →</a></p>
|
<a class="home-link" href="#discord">Komm auf unseren Discord <span aria-hidden="true">→</span></a>
|
||||||
</div>
|
</div>
|
||||||
<aside class="home-facts" aria-label="Steckbrief">
|
</section>
|
||||||
<h2>Steckbrief</h2>
|
|
||||||
<dl>
|
<section class="home-section home-values-section">
|
||||||
<?php foreach ($facts as $label => $value): ?>
|
<div class="home-section-head">
|
||||||
<div>
|
<span class="home-pill">⚔️ Unsere Werte</span>
|
||||||
<dt><?= e($label) ?></dt>
|
<h2>Wofür wir stehen</h2>
|
||||||
<dd><?= e($value) ?></dd>
|
</div>
|
||||||
|
<div class="home-values">
|
||||||
|
<?php foreach ($values as $i => $value): ?>
|
||||||
|
<article class="home-value">
|
||||||
|
<div class="home-value-top">
|
||||||
|
<span class="home-value-emoji" aria-hidden="true"><?= $value['emoji'] ?></span>
|
||||||
|
<span class="home-value-no"><?= sprintf('%02d', $i + 1) ?></span>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<h3><?= e($value['title']) ?></h3>
|
||||||
</dl>
|
<p><?= e($value['text']) ?></p>
|
||||||
</aside>
|
</article>
|
||||||
</section>
|
<?php endforeach; ?>
|
||||||
|
|
||||||
<section class="home-values-band">
|
|
||||||
<div class="home-section">
|
|
||||||
<h2 class="home-heading">⚔️ Unsere Werte</h2>
|
|
||||||
<ol class="home-values">
|
|
||||||
<?php foreach ($values as $value): ?>
|
|
||||||
<li>
|
|
||||||
<h3><span aria-hidden="true"><?= $value['emoji'] ?></span> <?= e($value['title']) ?></h3>
|
|
||||||
<p><?= e($value['text']) ?></p>
|
|
||||||
</li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ol>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="home-section home-discord" id="discord">
|
<section class="home-section" id="discord">
|
||||||
<div class="home-discord-card">
|
<div class="home-discord">
|
||||||
<div class="home-discord-server">
|
<div class="home-discord-main">
|
||||||
<img src="/assets/images/apple-touch-icon.png" alt="" width="80" height="80">
|
<div class="home-discord-server">
|
||||||
<div>
|
<img src="/assets/images/apple-touch-icon.png" alt="" width="64" height="64">
|
||||||
<p class="home-eyebrow"><?= discord_logo(16) ?> Unser Discord</p>
|
<div>
|
||||||
<h2><?= e($discord && $discord['name'] !== '' ? $discord['name'] : 'Lumina Ascendens') ?></h2>
|
<span class="home-discord-label"><?= discord_logo(16) ?> Discord-Server</span>
|
||||||
<?php if ($discord): ?>
|
<h2><?= e($discord && $discord['name'] !== '' ? $discord['name'] : 'Lumina Ascendens') ?></h2>
|
||||||
<p class="home-discord-counts">
|
</div>
|
||||||
<span><i class="dot dot-online"></i><?= e(number_format($discord['online'], 0, ',', '.')) ?> online</span>
|
</div>
|
||||||
<span><i class="dot"></i><?= e(number_format($discord['members'], 0, ',', '.')) ?> Mitglieder</span>
|
<p>
|
||||||
</p>
|
Der Discord ist unser Treffpunkt: Hier planen wir Raids und Events, suchen Gruppen,
|
||||||
|
helfen uns gegenseitig und hängen abends zusammen im Voice-Chat ab. Schau vorbei,
|
||||||
|
stell dich kurz vor und frag, was du wissen willst - wir beißen nicht.
|
||||||
|
</p>
|
||||||
|
<a class="home-discord-button" href="<?= e(DISCORD_INVITE_URL) ?>" target="_blank" rel="noopener">
|
||||||
|
<?= discord_logo(22) ?>Discord beitreten
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<?php if ($discord): ?>
|
||||||
|
<div class="home-discord-stats">
|
||||||
|
<div>
|
||||||
|
<strong><span class="pulse" aria-hidden="true"></span><?= e(number_format($discord['online'], 0, ',', '.')) ?></strong>
|
||||||
|
<span>gerade online</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<strong><?= e(number_format($discord['members'], 0, ',', '.')) ?></strong>
|
||||||
|
<span>Mitglieder im Discord</span>
|
||||||
|
</div>
|
||||||
|
<?php if ($discord['tag'] !== ''): ?>
|
||||||
|
<div>
|
||||||
|
<strong><?= e($discord['tag']) ?></strong>
|
||||||
|
<span>unser Server-Tag</span>
|
||||||
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<?php endif; ?>
|
||||||
<p class="home-discord-text">
|
|
||||||
Der Discord ist unser Treffpunkt: Hier planen wir Raids und Events, suchen Gruppen,
|
|
||||||
helfen uns gegenseitig und hängen abends einfach zusammen im Voice-Chat ab. Schau
|
|
||||||
vorbei, stell dich kurz vor und frag, was du wissen willst - wir beißen nicht.
|
|
||||||
</p>
|
|
||||||
<a class="button discord-connect-button home-discord-button" href="<?= e(DISCORD_INVITE_URL) ?>" target="_blank" rel="noopener">
|
|
||||||
<?= discord_logo(22) ?>Discord beitreten
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer class="home-footer">
|
<footer class="home-footer">
|
||||||
<p>Lumina Ascendens · Legion in Aion 2</p>
|
<p>Lumina Ascendens · Legion in Aion 2</p>
|
||||||
<p class="text-muted">Fanseite einer Spielergemeinschaft, nicht mit NCSOFT verbunden. Aion ist eine Marke von NCSOFT Corporation.</p>
|
<p>Fanseite einer Spielergemeinschaft, nicht mit NCSOFT verbunden. Aion ist eine Marke von NCSOFT Corporation.</p>
|
||||||
</footer>
|
</footer>
|
||||||
<?php include __DIR__ . '/includes/footer.php'; ?>
|
<?php include __DIR__ . '/includes/footer.php'; ?>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue