Skip to content

Instantly share code, notes, and snippets.

Created November 19, 2020 19:33
What would you like to do?
{{-- Dropdown tasques--}}
<div class="hidden sm:flex sm:items-center sm:ml-6">
<x-jet-dropdown align="right" width="48">
<x-slot name="trigger">
<button class="flex items-center text-sm font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out">
<div>{{ __('Tasques') }}</div>
<div class="ml-1">
<svg class="fill-current h-4 w-4" xmlns="" viewBox="0 0 20 20">
<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" />
<x-slot name="content">
<div class="block px-4 py-2 text-xs text-gray-400">
{{ __('Crear tasques') }}
<x-jet-dropdown-link href="{{ route('tasks') }}">
{{ __('Formulari') }}
<div class="border-t border-gray-100"></div>
<div class="block px-4 py-2 text-xs text-gray-400">
{{ __('Llistat de tasques') }}
<x-jet-dropdown-link href="{{ route('tasksindex') }}">
{{ __('Llistat') }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment