feat: overhaul home page, add Terms/Privacy, fix docs links, expand footer

- home.php: remove fake testimonials; add one-line install block with
  copy button; add NixPanel vs cPanel comparison table; add stack
  table; rewrite feature descriptions to be Rust-accurate
- terms.php: full Terms of Service (14 sections)
- privacy.php: full Privacy Policy (11 sections, GDPR-aware)
- index.php: add /terms and /privacy routes
- footer.php: expand to 4-column layout with Product, Resources,
  Support columns; add Terms/Privacy/Changelog/GitHub/bug report links
- header.php: point Docs to github.com/NixReaper/nixpanel-docs
This commit is contained in:
NixReaper
2026-04-25 05:49:36 -05:00
parent 29c18c5af8
commit 858c7ac56e
6 changed files with 348 additions and 20 deletions
+32 -8
View File
@@ -1,14 +1,38 @@
</main>
<footer class="border-t border-gray-800 bg-gray-950 py-10 mt-16">
<footer class="border-t border-gray-800 bg-gray-950 py-12 mt-16">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col md:flex-row justify-between items-center gap-4 text-sm text-gray-500">
<span>&copy; <?= date('Y') ?> NixPanel. All rights reserved.</span>
<div class="flex gap-6">
<a href="/pricing" class="hover:text-gray-300 transition-colors">Pricing</a>
<a href="/install" class="hover:text-gray-300 transition-colors">Install</a>
<a href="https://docs.nixpanel.io" target="_blank" rel="noreferrer" class="hover:text-gray-300 transition-colors">Docs</a>
<a href="/login" class="hover:text-gray-300 transition-colors">Login</a>
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 mb-10">
<div class="col-span-2 md:col-span-1">
<a href="/" class="text-lg font-bold text-white">Nix<span class="text-brand-500">Panel</span></a>
<p class="mt-2 text-sm text-gray-500 leading-relaxed">The hosting control panel<br>you actually want to use.</p>
</div>
<div>
<h4 class="text-xs font-semibold text-gray-400 uppercase tracking-wider mb-3">Product</h4>
<ul class="space-y-2 text-sm text-gray-500">
<li><a href="/pricing" class="hover:text-gray-300 transition-colors">Pricing</a></li>
<li><a href="/install" class="hover:text-gray-300 transition-colors">Install</a></li>
<li><a href="https://github.com/NixReaper/nixpanel/releases" target="_blank" rel="noreferrer" class="hover:text-gray-300 transition-colors">Changelog</a></li>
</ul>
</div>
<div>
<h4 class="text-xs font-semibold text-gray-400 uppercase tracking-wider mb-3">Resources</h4>
<ul class="space-y-2 text-sm text-gray-500">
<li><a href="https://github.com/NixReaper/nixpanel-docs" target="_blank" rel="noreferrer" class="hover:text-gray-300 transition-colors">Documentation</a></li>
<li><a href="https://github.com/NixReaper/nixpanel" target="_blank" rel="noreferrer" class="hover:text-gray-300 transition-colors">GitHub</a></li>
<li><a href="https://github.com/NixReaper/nixpanel/issues" target="_blank" rel="noreferrer" class="hover:text-gray-300 transition-colors">Report a bug</a></li>
</ul>
</div>
<div>
<h4 class="text-xs font-semibold text-gray-400 uppercase tracking-wider mb-3">Support</h4>
<ul class="space-y-2 text-sm text-gray-500">
<li><a href="mailto:[email protected]" class="hover:text-gray-300 transition-colors">support@nixpanel.io</a></li>
<li><a href="/terms" class="hover:text-gray-300 transition-colors">Terms of Service</a></li>
<li><a href="/privacy" class="hover:text-gray-300 transition-colors">Privacy Policy</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 pt-6 text-sm text-gray-600">
&copy; <?= date('Y') ?> NixPanel. All rights reserved.
</div>
</div>
</footer>