77 lines
3.4 KiB
Twig
77 lines
3.4 KiB
Twig
<nav {{ attributes }} {{ stimulus_controller('navbar') }} {{ stimulus_action('navbar', 'setActive')}} class="flex h-screen flex-col justify-between bg-cyan-950">
|
|
<div class="px-4 py-6">
|
|
<ul class="mt-6 space-y-1">
|
|
<li>
|
|
<a href="{{ path('app_index') }}"
|
|
class="block rounded-lg
|
|
bg-orange-500 hover:bg-opacity-80 bg-clip-padding backdrop-filter backdrop-blur-md bg-opacity-60
|
|
px-4 py-2 text-sm font-medium text-gray-50">
|
|
Dashboard
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<details class="group [&_summary::-webkit-details-marker]:hidden">
|
|
<summary class="flex cursor-pointer items-center justify-between rounded-lg px-4 py-2 text-gray-50 hover:bg-orange-500 hover:bg-opacity-80 bg-clip-padding backdrop-filter backdrop-blur-md bg-opacity-60">
|
|
<span class="text-sm font-medium">Downloads</span>
|
|
<span class="shrink-0 transition duration-300 group-open:-rotate-180">
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
class="size-5"
|
|
viewBox="0 0 20 20"
|
|
fill="currentColor"
|
|
>
|
|
<path
|
|
fill-rule="evenodd"
|
|
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
|
|
clip-rule="evenodd"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</summary>
|
|
<ul class="mt-2 space-y-1 px-4">
|
|
<li>
|
|
<a href="{{ path('app_search') }}"
|
|
class="block rounded-lg px-4 py-2 text-sm font-medium text-gray-50 hover:bg-gray-100 hover:text-stone-700">
|
|
In Progress
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="{{ path('app_search') }}"
|
|
class="block rounded-lg px-4 py-2 text-sm font-medium text-gray-50 hover:bg-gray-100 hover:text-stone-700">
|
|
Complete
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</details>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="{{ path('app_media_preferences') }}"
|
|
class="block rounded-lg px-4 py-2 text-sm font-medium text-gray-50 hover:bg-gray-100 hover:text-stone-700">
|
|
Preferences
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="sticky inset-x-0 bottom-0 border-t border-orange-500">
|
|
<a href="#" class="nav-foot flex items-center gap-2 p-4 bg-orange-500 hover:bg-opacity-80 bg-clip-padding backdrop-filter backdrop-blur-md bg-opacity-60">
|
|
<span class="rounded-full p-2 border-orange-500 border-2">
|
|
<twig:ux:icon name="ri:user-line" width="30" class="text-gray-50"/>
|
|
</span>
|
|
|
|
<div>
|
|
<p class="text-xs">
|
|
{% if app.user.name %}
|
|
<strong class="block font-medium text-white">{{ app.user.name }}</strong>
|
|
{% endif %}
|
|
|
|
<span class="text-white"> {{ app.user.email }} </span>
|
|
</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</nav>
|