Logo in the navbar
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -16,16 +16,30 @@
|
|||||||
<header class="bg-white shadow-sm border-b border-gray-200 top-0 z-40">
|
<header class="bg-white shadow-sm border-b border-gray-200 top-0 z-40">
|
||||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
<div class="flex justify-between items-center h-16">
|
<div class="flex justify-between items-center h-16">
|
||||||
<nav class="flex items-center space-x-2">
|
<div class="flex items-center space-x-6">
|
||||||
<a href="/"
|
<a href="/"
|
||||||
class="flex items-center text-gray-700 hover:text-blue-600 hover:bg-blue-50 px-3 py-2 rounded-md text-sm font-medium transition-colors">
|
class="flex items-center space-x-2 text-blue-600 hover:text-blue-700 transition-colors">
|
||||||
Home
|
<div class="w-8 h-8 bg-gradient-to-br from-blue-500 to-indigo-600 rounded-lg flex items-center justify-center">
|
||||||
|
<svg class="w-5 h-5 text-white"
|
||||||
|
fill="none"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke="currentColor">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<span class="text-xl font-bold">zero2prod</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/posts"
|
<nav class="flex items-center space-x-2">
|
||||||
class="flex items-center text-gray-700 hover:text-blue-600 hover:bg-blue-50 px-3 py-2 rounded-md text-sm font-medium transition-colors">
|
<a href="/"
|
||||||
Posts
|
class="flex items-center text-gray-700 hover:text-blue-600 hover:bg-blue-50 px-3 py-2 rounded-md text-sm font-medium transition-colors">
|
||||||
</a>
|
Home
|
||||||
</nav>
|
</a>
|
||||||
|
<a href="/posts"
|
||||||
|
class="flex items-center text-gray-700 hover:text-blue-600 hover:bg-blue-50 px-3 py-2 rounded-md text-sm font-medium transition-colors">
|
||||||
|
Posts
|
||||||
|
</a>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/admin/dashboard"
|
<a href="/admin/dashboard"
|
||||||
hx-boost="true"
|
hx-boost="true"
|
||||||
@@ -38,9 +52,7 @@
|
|||||||
</header>
|
</header>
|
||||||
<div class="flex flex-1">
|
<div class="flex flex-1">
|
||||||
<main class="flex-1 lg:ml-0 flex flex-col py-8 px-4 sm:px-6 lg:px-8">
|
<main class="flex-1 lg:ml-0 flex flex-col py-8 px-4 sm:px-6 lg:px-8">
|
||||||
<!-- <div class="flex-1 flex-col py-8 px-4 sm:px-6 lg:px-8"> -->
|
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
<!-- </div> -->
|
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
<footer class="bg-white border-t border-gray-200 mt-auto">
|
<footer class="bg-white border-t border-gray-200 mt-auto">
|
||||||
|
|||||||
Reference in New Issue
Block a user