FossilRepo

fossilrepo / templates / includes / nav_public.html
1
<nav aria-label="Main navigation" class="bg-gray-900 border-b border-gray-700">
2
<div class="px-4 sm:px-6 lg:px-8">
3
<div class="flex h-14 items-center justify-between">
4
<div class="flex items-center gap-6">
5
<a href="/" class="flex items-center gap-2">
6
<svg class="h-6 w-6 text-brand" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
7
<circle cx="12" cy="12" r="10" stroke-opacity="0.6"/>
8
<circle cx="12" cy="12" r="4" fill="currentColor" fill-opacity="0.3"/>
9
<path d="M12 2v4M12 18v4M2 12h4M18 12h4" stroke-opacity="0.4"/>
10
</svg>
11
<span class="text-sm font-bold tracking-tight">
12
<span class="text-gray-100">fossil</span><span class="text-brand">repo</span>
13
</span>
14
</a>
15
<div class="hidden sm:flex items-center gap-4">
16
<a href="{% url 'explore' %}" class="text-sm text-gray-400 hover:text-white transition-colors {% if request.path == '/explore/' %}text-white{% endif %}">Explore</a>
17
</div>
18
</div>
19
<div class="flex items-center gap-3">
20
<a href="{% url 'accounts:login' %}" class="rounded-md bg-gray-800 px-3 py-1.5 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white ring-1 ring-gray-700 transition-colors">
21
Sign in
22
</a>
23
</div>
24
</div>
25
</div>
26
</nav>
27

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button