feat: randomize community clans section

This commit is contained in:
devRaGonSa
2026-03-21 00:32:37 +01:00
parent 566a5d0296
commit 0917a0be1f
10 changed files with 287 additions and 56 deletions

View File

@@ -790,6 +790,14 @@ h2 {
background: linear-gradient(180deg, rgba(19, 24, 16, 0.82), rgba(10, 13, 9, 0.66));
}
.clan-card__logo--wide {
padding-inline: 8px;
}
.clan-card__logo--shield {
padding-inline: 18px;
}
.clan-card__logo img {
width: auto;
height: auto;
@@ -798,6 +806,29 @@ h2 {
object-fit: contain;
}
.clan-card__logo-placeholder {
width: 100%;
min-height: 84px;
display: grid;
place-items: center;
border: 1px dashed rgba(210, 182, 118, 0.22);
border-radius: 14px;
background:
linear-gradient(180deg, rgba(28, 32, 24, 0.88), rgba(12, 15, 11, 0.7)),
repeating-linear-gradient(
135deg,
rgba(255, 255, 255, 0.02) 0,
rgba(255, 255, 255, 0.02) 10px,
transparent 10px,
transparent 20px
);
color: var(--accent-warm);
font-size: 0.88rem;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
}
.clan-card__copy {
display: grid;
gap: 8px;
@@ -831,6 +862,14 @@ h2 {
min-width: 180px;
}
.server-action-link--disabled {
border-color: rgba(159, 168, 141, 0.18);
background: linear-gradient(180deg, rgba(42, 46, 39, 0.5), rgba(19, 22, 17, 0.7));
color: var(--muted);
cursor: default;
pointer-events: none;
}
@media (max-width: 1120px) {
.hero__brand {
grid-template-columns: 1fr;
@@ -947,6 +986,10 @@ h2 {
justify-items: start;
}
.clan-card__logo {
width: 100%;
}
.clan-card__link {
width: 100%;
}