From c163271a046785ceb28deb4397dd7ef87b9b7552 Mon Sep 17 00:00:00 2001 From: JakeBreath Date: Wed, 5 Aug 2026 14:39:50 -0500 Subject: [PATCH] backup with placeholder --- nonpacks/static/css/style.css | 71 +++++++++++++++++++++------- nonpacks/templates/landing/home.html | 58 ++++++++++++----------- 2 files changed, 83 insertions(+), 46 deletions(-) diff --git a/nonpacks/static/css/style.css b/nonpacks/static/css/style.css index 74861ab..e057bae 100644 --- a/nonpacks/static/css/style.css +++ b/nonpacks/static/css/style.css @@ -1509,32 +1509,64 @@ a.deletelink { .htmx-request.htmx-indicator { display: block; } /* ========== Home Page ========== */ +.home-layout { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 200px; + gap: 20px; + align-items: stretch; + margin-bottom: 28px; +} +.home-placeholder { + background: var(--md-sys-color-surface); + border: 1px dashed var(--md-sys-color-outline-variant, #45475a); + border-radius: 16px; + padding: 24px 28px; + display: flex; + flex-direction: column; + justify-content: center; + text-align: center; + gap: 8px; +} +.home-placeholder h2 { + font-size: 1.1rem; + color: var(--md-sys-color-on-surface); + margin: 0; +} +.home-placeholder h2 i { color: var(--md-sys-color-primary); } +.home-placeholder-text { + color: var(--md-sys-color-on-surface-variant, #a6adc8); + font-size: 0.85rem; + margin: 0; +} .home-hero { background: var(--md-sys-color-surface); border-radius: 16px; - padding: 48px 32px; + padding: 24px 28px; text-align: center; - margin-bottom: 24px; border: 1px solid var(--md-sys-color-outline); + margin-bottom: 0; + display: flex; + flex-direction: column; + justify-content: center; } .home-hero h1 { - font-size: 2.5rem; + font-size: 1.9rem; font-weight: 700; color: var(--md-sys-color-primary); - margin-bottom: 12px; + margin-bottom: 8px; } .home-hero p { color: var(--md-sys-color-on-surface-variant); - font-size: 1.1rem; + font-size: 0.95rem; max-width: 640px; - margin: 0 auto 8px auto; + margin: 0 auto 4px auto; } .home-hero .home-hero-sub { - font-size: 0.95rem; + font-size: 0.85rem; max-width: 560px; } .home-hero-actions { - margin-top: 24px; + margin-top: 16px; display: flex; gap: 12px; justify-content: center; @@ -1570,33 +1602,36 @@ a.deletelink { } .home-stats { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); - gap: 16px; - margin-bottom: 32px; + display: flex; + flex-direction: column; + gap: 12px; } -.stat-card { +@media (max-width: 900px) { + .home-layout { + grid-template-columns: 1fr; + } +}.stat-card { background: var(--md-sys-color-surface); border-radius: 12px; - padding: 20px; + padding: 14px; text-align: center; display: flex; flex-direction: column; align-items: center; - gap: 6px; + gap: 4px; border: 1px solid var(--md-sys-color-outline); } .stat-card i { - font-size: 1.5rem; + font-size: 1.15rem; color: var(--md-sys-color-primary); } .stat-value { - font-size: 1.8rem; + font-size: 1.4rem; font-weight: 700; color: var(--md-sys-color-on-surface); } .stat-label { - font-size: 0.8rem; + font-size: 0.72rem; color: var(--md-sys-color-on-surface-variant); text-transform: uppercase; letter-spacing: 0.05em; diff --git a/nonpacks/templates/landing/home.html b/nonpacks/templates/landing/home.html index c835428..afc26c3 100644 --- a/nonpacks/templates/landing/home.html +++ b/nonpacks/templates/landing/home.html @@ -4,38 +4,40 @@ {% block title %}Home - Packs Site{% endblock %} {% block content %} -
-
-

Packs Site

-

Hosted datapacks for the Needs Of Nature mod.

-

Browse and download packs shared by the community. Upload your own once you have a creator account.

-
- Browse packs - Upload a pack +
+
+
+

Packs Site

+

Hosted datapacks for the Needs Of Nature mod.

+

Browse and download packs shared by the community. Upload your own once you have a creator account.

+
-
-
-
- - {{ stats.creators }} - Creators +
+

Announcements

+

Placeholder — news and updates will live here.

-
- - {{ stats.packs }} - Packs -
-
- - {{ stats.downloads }} - Downloads -
-
- - {{ stats.versions }} - Versions + +
+
+ + {{ stats.creators }} + Creators +
+
+ + {{ stats.packs }} + Packs +
+
+ + {{ stats.downloads }} + Downloads +