backup with placeholder

This commit is contained in:
2026-08-05 14:39:50 -05:00
parent 3a42657a3a
commit c163271a04
2 changed files with 83 additions and 46 deletions
+30 -28
View File
@@ -4,38 +4,40 @@
{% block title %}Home - Packs Site{% endblock %}
{% block content %}
<div class="home-hero">
<div class="home-hero-inner">
<h1>Packs Site</h1>
<p>Hosted datapacks for the Needs Of Nature mod.</p>
<p class="home-hero-sub">Browse and download packs shared by the community. Upload your own once you have a creator account.</p>
<div class="home-hero-actions">
<a href="{% url 'library:browse' %}" class="btn btn-primary"><i class="fas fa-search"></i> Browse packs</a>
<a href="{% url 'library:project_create' %}" class="btn btn-secondary"><i class="fas fa-upload"></i> Upload a pack</a>
<div class="home-layout">
<div class="home-hero">
<div class="home-hero-inner">
<h1>Packs Site</h1>
<p>Hosted datapacks for the Needs Of Nature mod.</p>
<p class="home-hero-sub">Browse and download packs shared by the community. Upload your own once you have a creator account.</p>
<div class="home-hero-actions">
<a href="{% url 'library:browse' %}" class="btn btn-primary"><i class="fas fa-search"></i> Browse packs</a>
<a href="{% url 'library:project_create' %}" class="btn btn-secondary"><i class="fas fa-upload"></i> Upload a pack</a>
</div>
</div>
</div>
</div>
<div class="home-stats">
<div class="stat-card">
<i class="fas fa-users"></i>
<span class="stat-value">{{ stats.creators }}</span>
<span class="stat-label">Creators</span>
<div class="home-placeholder">
<h2><i class="fas fa-bullhorn"></i> Announcements</h2>
<p class="home-placeholder-text">Placeholder — news and updates will live here.</p>
</div>
<div class="stat-card">
<i class="fas fa-box-open"></i>
<span class="stat-value">{{ stats.packs }}</span>
<span class="stat-label">Packs</span>
</div>
<div class="stat-card">
<i class="fas fa-download"></i>
<span class="stat-value">{{ stats.downloads }}</span>
<span class="stat-label">Downloads</span>
</div>
<div class="stat-card">
<i class="fas fa-tag"></i>
<span class="stat-value">{{ stats.versions }}</span>
<span class="stat-label">Versions</span>
<div class="home-stats">
<div class="stat-card">
<i class="fas fa-users"></i>
<span class="stat-value">{{ stats.creators }}</span>
<span class="stat-label">Creators</span>
</div>
<div class="stat-card">
<i class="fas fa-box-open"></i>
<span class="stat-value">{{ stats.packs }}</span>
<span class="stat-label">Packs</span>
</div>
<div class="stat-card">
<i class="fas fa-download"></i>
<span class="stat-value">{{ stats.downloads }}</span>
<span class="stat-label">Downloads</span>
</div>
</div>
</div>