Feat: Split header link for sub/main domains

This commit is contained in:
2025-10-03 17:49:08 -07:00
parent 5d3215a53f
commit 28e7182c24

View File

@@ -28,10 +28,12 @@
<div class="min-h-screen">
<header class="bg-gray-900 border-b border-gray-800">
<div class="max-w-5xl mx-auto px-2 py-1 flex items-center justify-between">
<a href="https://speech.capital" class="flex items-center gap-2 text-white hover:text-gray-300">
<i data-lucide="cctv" class="w-4 h-4"></i>
<span class="font-bold text-xs"><span id="subdomain"></span><span>speech.capital</span></span>
</a>
<div class="flex items-center gap-2">
<a href="https://speech.capital" class="text-white hover:text-gray-300"><i data-lucide="cctv" class="w-4 h-4"></i></a>
<a href="/" class="text-white hover:text-gray-300">
<span class="font-bold text-xs"><span id="subdomain"></span><span>speech.capital</span></span>
</a>
</div>
<nav class="flex items-center gap-3 text-xs text-gray-400">
<a href="/?sort=hot" class="hover:text-white">hot</a><a href="/?sort=new" class="hover:text-white">new</a>
<a href="https://speech.capital/signup" id="signup-link" class="hover:text-white">signup</a>