2024-10-22 15:18:23 +02:00
|
|
|
{% block navigation %}
|
|
|
|
<!-- navigation -->
|
|
|
|
<div class="md:col-span-1 md:flex md:justify-end">
|
2024-10-28 14:59:33 +01:00
|
|
|
<nav class="text-right flex flex-col gap-8">
|
2024-10-22 15:18:23 +02:00
|
|
|
<div class="flex justify-between items-center">
|
|
|
|
<h1 class="font-bold uppercase p-4 border-b border-gray-100">
|
|
|
|
<a href="/" class="hover:text-gray-600">Cooked</a>
|
|
|
|
</h1>
|
|
|
|
<div class="px-4 cursor-pointer md:hidden" id="burger">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
|
|
|
</svg>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-10-28 14:59:33 +01:00
|
|
|
<ul class="text-sm hidden md:flex flex-col gap-8" id="menu">
|
|
|
|
<li>
|
|
|
|
<a href="/" class="px-4 flex justify-end hover:shadow-md {{(page, Page::Index)|page_class}}">
|
2024-10-22 15:18:23 +02:00
|
|
|
<span>Home</span>
|
|
|
|
<svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
|
|
|
|
<path
|
|
|
|
d="M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z" />
|
|
|
|
</svg>
|
|
|
|
</a>
|
2024-10-27 20:23:37 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2024-10-28 14:59:33 +01:00
|
|
|
<a href="/search" class="px-4 flex justify-end hover:shadow-md {{(page, Page::Search)|page_class}}">
|
2024-10-27 20:23:37 +01:00
|
|
|
<span>Search</span>
|
|
|
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-5 ml-2">
|
|
|
|
<rect width="24" height="24" fill="white"/>
|
|
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.25007 2.38782C8.54878 2.0992 10.1243 2 12 2C13.8757 2 15.4512 2.0992 16.7499 2.38782C18.06 2.67897 19.1488 3.176 19.9864 4.01358C20.824 4.85116 21.321 5.94002 21.6122 7.25007C21.9008 8.54878 22 10.1243 22 12C22 13.8757 21.9008 15.4512 21.6122 16.7499C21.321 18.06 20.824 19.1488 19.9864 19.9864C19.1488 20.824 18.06 21.321 16.7499 21.6122C15.4512 21.9008 13.8757 22 12 22C10.1243 22 8.54878 21.9008 7.25007 21.6122C5.94002 21.321 4.85116 20.824 4.01358 19.9864C3.176 19.1488 2.67897 18.06 2.38782 16.7499C2.0992 15.4512 2 13.8757 2 12C2 10.1243 2.0992 8.54878 2.38782 7.25007C2.67897 5.94002 3.176 4.85116 4.01358 4.01358C4.85116 3.176 5.94002 2.67897 7.25007 2.38782ZM9 11.5C9 10.1193 10.1193 9 11.5 9C12.8807 9 14 10.1193 14 11.5C14 12.8807 12.8807 14 11.5 14C10.1193 14 9 12.8807 9 11.5ZM11.5 7C9.01472 7 7 9.01472 7 11.5C7 13.9853 9.01472 16 11.5 16C12.3805 16 13.202 15.7471 13.8957 15.31L15.2929 16.7071C15.6834 17.0976 16.3166 17.0976 16.7071 16.7071C17.0976 16.3166 17.0976 15.6834 16.7071 15.2929L15.31 13.8957C15.7471 13.202 16 12.3805 16 11.5C16 9.01472 13.9853 7 11.5 7Z" fill="#323232"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2024-10-22 15:18:23 +02:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|