Group homepage tiles into vertically-buffered areas; add Get SimpleX App card

Split the home tiles into three areas with vertical spacing: accounts
(Users/Businesses/Bots), manage (Network/Notifications/Settings), and external
SimpleX (File upload + a new Get SimpleX App card). Move the Get SimpleX App link
out of the global footer into its own homepage card.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jon
2026-06-05 18:16:39 +01:00
parent 964d5e1efa
commit 2e298e1438
2 changed files with 15 additions and 2 deletions

View File

@@ -303,8 +303,6 @@
© <a href="https://bournemouthtechnology.co.uk" target="_blank" rel="noopener">Bournemouth Technology Ltd</a> © <a href="https://bournemouthtechnology.co.uk" target="_blank" rel="noopener">Bournemouth Technology Ltd</a>
<span class="sep">·</span> <span class="sep">·</span>
built on © <a href="https://simplex.chat" target="_blank" rel="noopener">SimpleX Network</a> built on © <a href="https://simplex.chat" target="_blank" rel="noopener">SimpleX Network</a>
<span class="sep">·</span>
<a href="https://simplex.chat/downloads/" target="_blank" rel="noopener">Get SimpleX App</a>
</footer> </footer>
</main> </main>
</div> </div>

View File

@@ -8,6 +8,7 @@
.home-head p { color: var(--muted); font-size: 14px; } .home-head p { color: var(--muted); font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; } .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tiles + .tiles { margin-top: 32px; } /* vertical buffer between areas */
.tile { .tile {
display: flex; flex-direction: column; gap: 8px; display: flex; flex-direction: column; gap: 8px;
background: var(--card); border: 1px solid var(--border); border-radius: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px;
@@ -28,6 +29,7 @@
<h1>SimpleX Manager</h1> <h1>SimpleX Manager</h1>
</div> </div>
<!-- Area 1: your accounts -->
<div class="tiles"> <div class="tiles">
<a class="tile" href="/users"> <a class="tile" href="/users">
<span class="t-ico">👤</span> <span class="t-ico">👤</span>
@@ -44,6 +46,10 @@
<span class="t-title">Bots</span> <span class="t-title">Bots</span>
<span class="t-desc">Echo, broadcast, support, directory and dead-man's-switch bots.</span> <span class="t-desc">Echo, broadcast, support, directory and dead-man's-switch bots.</span>
</a> </a>
</div>
<!-- Area 2: manage -->
<div class="tiles">
<a class="tile" href="/network"> <a class="tile" href="/network">
<span class="t-ico">📡</span> <span class="t-ico">📡</span>
<span class="t-title">Network</span> <span class="t-title">Network</span>
@@ -59,10 +65,19 @@
<span class="t-title">Settings</span> <span class="t-title">Settings</span>
<span class="t-desc">Theme and manager preferences.</span> <span class="t-desc">Theme and manager preferences.</span>
</a> </a>
</div>
<!-- Area 3: SimpleX (external) -->
<div class="tiles">
<a class="tile" href="https://simplex.chat/file/" target="_blank" rel="noopener"> <a class="tile" href="https://simplex.chat/file/" target="_blank" rel="noopener">
<span class="t-ico">📁</span> <span class="t-ico">📁</span>
<span class="t-title">File upload</span> <span class="t-title">File upload</span>
<span class="t-desc">Share files over SimpleX (opens simplex.chat).</span> <span class="t-desc">Share files over SimpleX (opens simplex.chat).</span>
</a> </a>
<a class="tile" href="https://simplex.chat/downloads/" target="_blank" rel="noopener">
<span class="t-ico">📲</span>
<span class="t-title">Get SimpleX App</span>
<span class="t-desc">Download the SimpleX Chat app (opens simplex.chat).</span>
</a>
</div> </div>
{% endblock %} {% endblock %}