Files
nixpanel-website/views/layout/header.php
T
NixReaper 858c7ac56e 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
2026-04-25 05:49:36 -05:00

26 lines
1.6 KiB
PHP

<header class="border-b border-gray-800 bg-gray-950/80 backdrop-blur-sm sticky top-0 z-40">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between">
<a href="/" class="flex items-center gap-2">
<span class="text-xl font-bold text-white">Nix<span class="text-brand-500">Panel</span></span>
</a>
<nav class="hidden md:flex items-center gap-6 text-sm text-gray-400">
<a href="/" class="hover:text-white transition-colors">Home</a>
<a href="/pricing" class="hover:text-white transition-colors">Pricing</a>
<a href="/install" class="hover:text-white transition-colors">Install</a>
<a href="https://github.com/NixReaper/nixpanel-docs" target="_blank" rel="noreferrer" class="hover:text-white transition-colors">Docs</a>
</nav>
<div class="flex items-center gap-3">
<?php if (\NixPanel\Auth::isLoggedIn()): ?>
<a href="/dashboard" class="text-sm text-gray-300 hover:text-white transition-colors">Dashboard</a>
<a href="/logout" class="text-sm px-4 py-2 rounded-lg border border-gray-700 text-gray-300 hover:border-gray-500 hover:text-white transition-colors">Sign out</a>
<?php else: ?>
<a href="/login" class="text-sm text-gray-300 hover:text-white transition-colors">Sign in</a>
<a href="/register" class="text-sm px-4 py-2 rounded-lg bg-brand-600 hover:bg-brand-700 text-white font-semibold transition-colors">Get started</a>
<?php endif ?>
</div>
</div>
</header>
<main class="flex-1">