You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

809 lines
68 KiB

<nav x-data="{ open: false }" class="bg-white border-b border-gray-100">
<!-- Primary Navigation Menu -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex">
<!-- Logo -->
<div class="shrink-0 flex items-center">
<a href="/">
<img src="/logo.png" style="max-height: 50px; height: 100%">
</a>
</div>
</div>
<!-- Settings Dropdown -->
{{-- <div class="hidden sm:flex sm:items-center sm:ml-6">
<x-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>
@if (session()->get('locale') == 'vi')
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><path style="fill:#FF4B55;" d="M400,0H112C50.144,0,0,50.144,0,112v288c0,61.856,50.144,112,112,112h288 c61.856,0,112-50.144,112-112V112C512,50.144,461.856,0,400,0z"/><path style="fill:#FFE15A;" d="M260.565,146.63l26.164,78.449l82.695,0.641c4.624,0.036,6.541,5.937,2.822,8.684l-66.525,49.125 l24.944,78.845c1.395,4.409-3.625,8.056-7.387,5.367L256,319.654l-67.278,48.088c-3.762,2.689-8.782-0.958-7.387-5.367 l24.944-78.845l-66.525-49.125c-3.72-2.747-1.802-8.648,2.822-8.684l82.695-0.641l26.164-78.449 C252.898,142.243,259.102,142.243,260.565,146.63z"/><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
@elseif(session()->get('locale') == "en")
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><path style="fill:#41479B;" d="M400,512H112C50.144,512,0,461.856,0,400V112C0,50.144,50.144,0,112,0h288 c61.856,0,112,50.144,112,112v288C512,461.856,461.856,512,400,512z"/><g> <path style="fill:#F5F5F5;" d="M512,399.989v-24.587l-79.419-52.033H512v-26.948H296.421V512h26.947V348.46L494.3,460.45 c6.054-9.425,10.728-19.82,13.75-30.896"/> <path style="fill:#F5F5F5;" d="M7.531,440.443c2.728,7.04,6.142,13.738,10.168,20.007l170.932-111.99V512h26.947V296.421H0v26.948 h79.419L0,375.402V400c0,4.306,0.252,8.553,0.725,12.733"/> <path style="fill:#F5F5F5;" d="M0,115.807v20.791l79.419,52.034H0v26.947h215.579V0h-26.947v163.54L17.699,51.55 C11.056,61.893,6.073,73.402,3.114,85.7"/> <path style="fill:#F5F5F5;" d="M504.321,71.169c-2.702-6.899-6.068-13.466-10.021-19.62L323.368,163.54V0h-26.947v215.579H512 v-26.947h-79.419L512,136.598V112c0-4.46-0.269-8.858-0.776-13.182"/></g><g> <polygon style="fill:#FF4B55;" points="296.421,0 215.579,0 215.579,215.579 0,215.579 0,296.421 215.579,296.421 215.579,512 296.421,512 296.421,296.421 512,296.421 512,215.579 296.421,215.579 "/> <path style="fill:#FF4B55;" d="M138.395,323.369L0.725,412.733c1.094,9.663,3.414,18.953,6.807,27.71l180.359-117.075h-49.496 L138.395,323.369L138.395,323.369z"/> <path style="fill:#FF4B55;" d="M344.465,323.369l163.586,106.186C510.62,420.138,512,410.231,512,400v-0.011l-118.039-76.621 L344.465,323.369L344.465,323.369z"/> <path style="fill:#FF4B55;" d="M161.684,188.632L3.114,85.7C1.083,94.136,0,102.941,0,112v3.807l112.188,72.825L161.684,188.632 L161.684,188.632z"/> <path style="fill:#FF4B55;" d="M372.863,188.632l138.36-89.814c-1.131-9.644-3.481-18.914-6.902-27.648L323.368,188.632H372.863z"/></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
@else
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><path style="fill:#41479B;" d="M400,512H112C50.144,512,0,461.856,0,400V112C0,50.144,50.144,0,112,0h288 c61.856,0,112,50.144,112,112v288C512,461.856,461.856,512,400,512z"/><g> <path style="fill:#F5F5F5;" d="M512,399.989v-24.587l-79.419-52.033H512v-26.948H296.421V512h26.947V348.46L494.3,460.45 c6.054-9.425,10.728-19.82,13.75-30.896"/> <path style="fill:#F5F5F5;" d="M7.531,440.443c2.728,7.04,6.142,13.738,10.168,20.007l170.932-111.99V512h26.947V296.421H0v26.948 h79.419L0,375.402V400c0,4.306,0.252,8.553,0.725,12.733"/> <path style="fill:#F5F5F5;" d="M0,115.807v20.791l79.419,52.034H0v26.947h215.579V0h-26.947v163.54L17.699,51.55 C11.056,61.893,6.073,73.402,3.114,85.7"/> <path style="fill:#F5F5F5;" d="M504.321,71.169c-2.702-6.899-6.068-13.466-10.021-19.62L323.368,163.54V0h-26.947v215.579H512 v-26.947h-79.419L512,136.598V112c0-4.46-0.269-8.858-0.776-13.182"/></g><g> <polygon style="fill:#FF4B55;" points="296.421,0 215.579,0 215.579,215.579 0,215.579 0,296.421 215.579,296.421 215.579,512 296.421,512 296.421,296.421 512,296.421 512,215.579 296.421,215.579 "/> <path style="fill:#FF4B55;" d="M138.395,323.369L0.725,412.733c1.094,9.663,3.414,18.953,6.807,27.71l180.359-117.075h-49.496 L138.395,323.369L138.395,323.369z"/> <path style="fill:#FF4B55;" d="M344.465,323.369l163.586,106.186C510.62,420.138,512,410.231,512,400v-0.011l-118.039-76.621 L344.465,323.369L344.465,323.369z"/> <path style="fill:#FF4B55;" d="M161.684,188.632L3.114,85.7C1.083,94.136,0,102.941,0,112v3.807l112.188,72.825L161.684,188.632 L161.684,188.632z"/> <path style="fill:#FF4B55;" d="M372.863,188.632l138.36-89.814c-1.131-9.644-3.481-18.914-6.902-27.648L323.368,188.632H372.863z"/></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
@endif
</div>
<div class="ml-1">
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" 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" />
</svg>
</div>
</button>
</x-slot>
<x-slot name="content"><x-dropdown-link :href="route('lang.changeLang',['lang' => 'vi'])" :active="request()->routeIs('dashboard')">
<span>Vietnamese</span>
<div></div>
</x-dropdown-link>
<x-dropdown-link :href="route('lang.changeLang',['lang' => 'en'])" :active="request()->routeIs('dashboard')">
<span>English</span></x-dropdown-link>
</x-slot>
</x-dropdown>
</div> --}}
@auth
<div class="hidden sm:flex sm:items-center sm:ml-6">
<div class="d-flex">
<div class="col">
<x-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>
@if (session()->get('locale') == 'vi')
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1"
x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path style="fill:#FF4B55;"
d="M400,0H112C50.144,0,0,50.144,0,112v288c0,61.856,50.144,112,112,112h288 c61.856,0,112-50.144,112-112V112C512,50.144,461.856,0,400,0z" />
<path style="fill:#FFE15A;"
d="M260.565,146.63l26.164,78.449l82.695,0.641c4.624,0.036,6.541,5.937,2.822,8.684l-66.525,49.125 l24.944,78.845c1.395,4.409-3.625,8.056-7.387,5.367L256,319.654l-67.278,48.088c-3.762,2.689-8.782-0.958-7.387-5.367 l24.944-78.845l-66.525-49.125c-3.72-2.747-1.802-8.648,2.822-8.684l82.695-0.641l26.164-78.449 C252.898,142.243,259.102,142.243,260.565,146.63z" />
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
</svg>
@elseif(session()->get('locale') == 'en')
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1"
x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path style="fill:#41479B;"
d="M400,512H112C50.144,512,0,461.856,0,400V112C0,50.144,50.144,0,112,0h288 c61.856,0,112,50.144,112,112v288C512,461.856,461.856,512,400,512z" />
<g>
<path style="fill:#F5F5F5;"
d="M512,399.989v-24.587l-79.419-52.033H512v-26.948H296.421V512h26.947V348.46L494.3,460.45 c6.054-9.425,10.728-19.82,13.75-30.896" />
<path style="fill:#F5F5F5;"
d="M7.531,440.443c2.728,7.04,6.142,13.738,10.168,20.007l170.932-111.99V512h26.947V296.421H0v26.948 h79.419L0,375.402V400c0,4.306,0.252,8.553,0.725,12.733" />
<path style="fill:#F5F5F5;"
d="M0,115.807v20.791l79.419,52.034H0v26.947h215.579V0h-26.947v163.54L17.699,51.55 C11.056,61.893,6.073,73.402,3.114,85.7" />
<path style="fill:#F5F5F5;"
d="M504.321,71.169c-2.702-6.899-6.068-13.466-10.021-19.62L323.368,163.54V0h-26.947v215.579H512 v-26.947h-79.419L512,136.598V112c0-4.46-0.269-8.858-0.776-13.182" />
</g>
<g>
<polygon style="fill:#FF4B55;"
points="296.421,0 215.579,0 215.579,215.579 0,215.579 0,296.421 215.579,296.421 215.579,512 296.421,512 296.421,296.421 512,296.421 512,215.579 296.421,215.579 " />
<path style="fill:#FF4B55;"
d="M138.395,323.369L0.725,412.733c1.094,9.663,3.414,18.953,6.807,27.71l180.359-117.075h-49.496 L138.395,323.369L138.395,323.369z" />
<path style="fill:#FF4B55;"
d="M344.465,323.369l163.586,106.186C510.62,420.138,512,410.231,512,400v-0.011l-118.039-76.621 L344.465,323.369L344.465,323.369z" />
<path style="fill:#FF4B55;"
d="M161.684,188.632L3.114,85.7C1.083,94.136,0,102.941,0,112v3.807l112.188,72.825L161.684,188.632 L161.684,188.632z" />
<path style="fill:#FF4B55;"
d="M372.863,188.632l138.36-89.814c-1.131-9.644-3.481-18.914-6.902-27.648L323.368,188.632H372.863z" />
</g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
</svg>
@else
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1"
x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path style="fill:#41479B;"
d="M400,512H112C50.144,512,0,461.856,0,400V112C0,50.144,50.144,0,112,0h288 c61.856,0,112,50.144,112,112v288C512,461.856,461.856,512,400,512z" />
<g>
<path style="fill:#F5F5F5;"
d="M512,399.989v-24.587l-79.419-52.033H512v-26.948H296.421V512h26.947V348.46L494.3,460.45 c6.054-9.425,10.728-19.82,13.75-30.896" />
<path style="fill:#F5F5F5;"
d="M7.531,440.443c2.728,7.04,6.142,13.738,10.168,20.007l170.932-111.99V512h26.947V296.421H0v26.948 h79.419L0,375.402V400c0,4.306,0.252,8.553,0.725,12.733" />
<path style="fill:#F5F5F5;"
d="M0,115.807v20.791l79.419,52.034H0v26.947h215.579V0h-26.947v163.54L17.699,51.55 C11.056,61.893,6.073,73.402,3.114,85.7" />
<path style="fill:#F5F5F5;"
d="M504.321,71.169c-2.702-6.899-6.068-13.466-10.021-19.62L323.368,163.54V0h-26.947v215.579H512 v-26.947h-79.419L512,136.598V112c0-4.46-0.269-8.858-0.776-13.182" />
</g>
<g>
<polygon style="fill:#FF4B55;"
points="296.421,0 215.579,0 215.579,215.579 0,215.579 0,296.421 215.579,296.421 215.579,512 296.421,512 296.421,296.421 512,296.421 512,215.579 296.421,215.579 " />
<path style="fill:#FF4B55;"
d="M138.395,323.369L0.725,412.733c1.094,9.663,3.414,18.953,6.807,27.71l180.359-117.075h-49.496 L138.395,323.369L138.395,323.369z" />
<path style="fill:#FF4B55;"
d="M344.465,323.369l163.586,106.186C510.62,420.138,512,410.231,512,400v-0.011l-118.039-76.621 L344.465,323.369L344.465,323.369z" />
<path style="fill:#FF4B55;"
d="M161.684,188.632L3.114,85.7C1.083,94.136,0,102.941,0,112v3.807l112.188,72.825L161.684,188.632 L161.684,188.632z" />
<path style="fill:#FF4B55;"
d="M372.863,188.632l138.36-89.814c-1.131-9.644-3.481-18.914-6.902-27.648L323.368,188.632H372.863z" />
</g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
</svg>
@endif
</div>
<div class="ml-1">
{{-- <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" 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" />
</svg> --}}
</div>
</button>
</x-slot>
<x-slot name="content">
<!-- Navigation Links -->
<x-dropdown-link :href="route('lang.changeLang', ['lang' => 'vi'])" :active="request()->routeIs('dashboard')">
<span>Vietnamese</span>
<div>
{{-- <svg class="flag-select-language-list" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><path style="fill:#FF4B55;" d="M400,0H112C50.144,0,0,50.144,0,112v288c0,61.856,50.144,112,112,112h288 c61.856,0,112-50.144,112-112V112C512,50.144,461.856,0,400,0z"/><path style="fill:#FFE15A;" d="M260.565,146.63l26.164,78.449l82.695,0.641c4.624,0.036,6.541,5.937,2.822,8.684l-66.525,49.125 l24.944,78.845c1.395,4.409-3.625,8.056-7.387,5.367L256,319.654l-67.278,48.088c-3.762,2.689-8.782-0.958-7.387-5.367 l24.944-78.845l-66.525-49.125c-3.72-2.747-1.802-8.648,2.822-8.684l82.695-0.641l26.164-78.449 C252.898,142.243,259.102,142.243,260.565,146.63z"/><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg> --}}
</div>
</x-dropdown-link>
<x-dropdown-link :href="route('lang.changeLang', ['lang' => 'en'])" :active="request()->routeIs('dashboard')">
<span>English</span>
{{-- <svg class="flag-select-language-list" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><path style="fill:#41479B;" d="M400,512H112C50.144,512,0,461.856,0,400V112C0,50.144,50.144,0,112,0h288 c61.856,0,112,50.144,112,112v288C512,461.856,461.856,512,400,512z"/><g> <path style="fill:#F5F5F5;" d="M512,399.989v-24.587l-79.419-52.033H512v-26.948H296.421V512h26.947V348.46L494.3,460.45 c6.054-9.425,10.728-19.82,13.75-30.896"/> <path style="fill:#F5F5F5;" d="M7.531,440.443c2.728,7.04,6.142,13.738,10.168,20.007l170.932-111.99V512h26.947V296.421H0v26.948 h79.419L0,375.402V400c0,4.306,0.252,8.553,0.725,12.733"/> <path style="fill:#F5F5F5;" d="M0,115.807v20.791l79.419,52.034H0v26.947h215.579V0h-26.947v163.54L17.699,51.55 C11.056,61.893,6.073,73.402,3.114,85.7"/> <path style="fill:#F5F5F5;" d="M504.321,71.169c-2.702-6.899-6.068-13.466-10.021-19.62L323.368,163.54V0h-26.947v215.579H512 v-26.947h-79.419L512,136.598V112c0-4.46-0.269-8.858-0.776-13.182"/></g><g> <polygon style="fill:#FF4B55;" points="296.421,0 215.579,0 215.579,215.579 0,215.579 0,296.421 215.579,296.421 215.579,512 296.421,512 296.421,296.421 512,296.421 512,215.579 296.421,215.579 "/> <path style="fill:#FF4B55;" d="M138.395,323.369L0.725,412.733c1.094,9.663,3.414,18.953,6.807,27.71l180.359-117.075h-49.496 L138.395,323.369L138.395,323.369z"/> <path style="fill:#FF4B55;" d="M344.465,323.369l163.586,106.186C510.62,420.138,512,410.231,512,400v-0.011l-118.039-76.621 L344.465,323.369L344.465,323.369z"/> <path style="fill:#FF4B55;" d="M161.684,188.632L3.114,85.7C1.083,94.136,0,102.941,0,112v3.807l112.188,72.825L161.684,188.632 L161.684,188.632z"/> <path style="fill:#FF4B55;" d="M372.863,188.632l138.36-89.814c-1.131-9.644-3.481-18.914-6.902-27.648L323.368,188.632H372.863z"/></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg> --}}
</x-dropdown-link>
</x-slot>
</x-dropdown>
</div>
<div class="col">
<x-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>{{ Auth::user()->name }}</div>
<div class="ml-1">
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg"
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" />
</svg>
</div>
</button>
</x-slot>
<x-slot name="content">
<!-- Navigation Links -->
<x-dropdown-link :href="route('dashboard')" :active="request()->routeIs('dashboard')">
{{ __('lang.dashboard') }}
</x-dropdown-link>
{{-- <hr> --}}
<div id="accordion">
@hasanyrole('Super Admin|Admin')
<div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link" data-toggle="collapse"
data-target="#collapseOne" aria-expanded="true"
aria-controls="collapseOne">
{{ __('lang.system_action') }}
</button>
</h5>
<div id="collapseOne" class="collapse" aria-labelledby="headingOne"
data-parent="#accordion">
@can('view_system')
<div class="col-12">
<x-nav-link :href="route('users.index')" :active="request()->routeIs('users')">
{{ __('lang.users') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('roles.index')" :active="request()->routeIs('roles')">
{{ __('lang.roles') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('permissions.index')" :active="request()->routeIs('permissions')">
{{ __('lang.permission') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('clients.index')" :active="request()->routeIs('clients')">
{{ __('lang.clients') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('currency.index')" :active="request()->routeIs('currency')">
{{ __('lang.currency') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('organization.index')" :active="request()->routeIs('organization')">
{{ __('lang.organization') }}
</x-nav-link>
</div>
@endcan
</div>
</div>
{{-- <hr> --}}
@endhasanyrole
{{-- <div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse"
data-target="#collapseTwo" aria-expanded="false"
aria-controls="collapseTwo">
{{ __('lang.content') }}
</button>
</h5>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo"
data-parent="#accordion">
<div class="col-12">
<x-nav-link :href="route('structures.index')" :active="request()->routeIs('info')" >
{{ __('lang.structure') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('part.index')" :active="request()->routeIs('info')" >
{{ __('lang.part') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('topic.index')" :active="request()->routeIs('info')" >
{{ __('lang.topic') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('questions.index')" :active="request()->routeIs('info')" >
{{ __('lang.question') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('question-type.index')" :active="request()->routeIs('info')" >
{{ __('lang.question_type') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('structure.view_import_example_excel')" :active="request()->routeIs('structure')" >
{{ __('lang.exam_import') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('structure.lesson_import_view')" :active="request()->routeIs('structure')" >
{{ __('lang.lesson_import') }}
</x-nav-link>
</div>
</div>
</div> --}}
{{-- <hr> --}}
{{-- <div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse"
data-target="#collapse3" aria-expanded="false"
aria-controls="collapse3">
{{ __('lang.learn') }}
</button>
</h5>
<div id="collapse3" class="collapse" aria-labelledby="headingTwo"
data-parent="#accordion">
<div class="col-12">
<x-nav-link :href="route('plant.index')" :active="request()->routeIs('info')" >
{{ __('lang.plant') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('unit.index')" :active="request()->routeIs('info')" >
{{ __('lang.unit') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('lesson.index')" :active="request()->routeIs('info')" >
{{ __('lang.lesson') }}
</x-nav-link>
</div>
</div>
</div> --}}
<hr>
{{-- <div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse"
data-target="#collapse4" aria-expanded="false"
aria-controls="collapse4">
{{ __('lang.exam') }}
</button>
</h5>
<div id="collapse4" class="collapse" aria-labelledby="headingTwo"
data-parent="#accordion">
<div class="col-12">
<x-nav-link :href="route('frame.index')" :active="request()->routeIs('info')" >
{{ __('lang.frame') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('exam.index')" :active="request()->routeIs('info')" >
{{ __('lang.exam') }}
</x-nav-link>
</div>
</div>
</div> --}}
{{-- <hr> --}}
<div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse"
data-target="#collapse5" aria-expanded="false"
aria-controls="collapse5">
{{ __('lang.profile') }}
</button>
</h5>
<div id="collapse5" class="collapse" aria-labelledby="headingTwo"
data-parent="#accordion">
<div class="col-12">
<x-nav-link :href="route('info.index')" :active="request()->routeIs('info')">
{{ __('lang.info') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('changepassword.index')" :active="request()->routeIs('changepassword')">
{{ __('lang.change_password') }}
</x-nav-link>
</div>
</div>
</div>
{{-- <hr> --}}
{{-- <div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse6" aria-expanded="false" aria-controls="collapse6">
Language
</button>
</h5>
<div id="collapse6" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="col-12">
<x-nav-link :href="route('lang.changeLang',['lang' => 'en'])" :active="request()->routeIs('changepassword')" >
{{ __('English') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('lang.changeLang',['lang' => 'vi'])" :active="request()->routeIs('changepassword')" >
{{ __('Vietnamese') }}
</x-nav-link>
</div>
</div>
</div> --}}
<hr>
</div>
<!-- Authentication -->
<form method="POST" action="{{ route('logout') }}">
@csrf
<x-dropdown-link :href="route('logout')"
onclick="event.preventDefault();
this.closest('form').submit();">
{{ __('lang.sign_out') }}
</x-dropdown-link>
</form>
</x-slot>
</x-dropdown>
</div>
</div>
</div>
@else
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<div class="hidden sm:flex sm:items-center sm:ml-6">
<x-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>
@if (session()->get('locale') == 'vi')
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1"
x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path style="fill:#FF4B55;"
d="M400,0H112C50.144,0,0,50.144,0,112v288c0,61.856,50.144,112,112,112h288 c61.856,0,112-50.144,112-112V112C512,50.144,461.856,0,400,0z" />
<path style="fill:#FFE15A;"
d="M260.565,146.63l26.164,78.449l82.695,0.641c4.624,0.036,6.541,5.937,2.822,8.684l-66.525,49.125 l24.944,78.845c1.395,4.409-3.625,8.056-7.387,5.367L256,319.654l-67.278,48.088c-3.762,2.689-8.782-0.958-7.387-5.367 l24.944-78.845l-66.525-49.125c-3.72-2.747-1.802-8.648,2.822-8.684l82.695-0.641l26.164-78.449 C252.898,142.243,259.102,142.243,260.565,146.63z" />
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
</svg>
@elseif(session()->get('locale') == 'en')
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1"
x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path style="fill:#41479B;"
d="M400,512H112C50.144,512,0,461.856,0,400V112C0,50.144,50.144,0,112,0h288 c61.856,0,112,50.144,112,112v288C512,461.856,461.856,512,400,512z" />
<g>
<path style="fill:#F5F5F5;"
d="M512,399.989v-24.587l-79.419-52.033H512v-26.948H296.421V512h26.947V348.46L494.3,460.45 c6.054-9.425,10.728-19.82,13.75-30.896" />
<path style="fill:#F5F5F5;"
d="M7.531,440.443c2.728,7.04,6.142,13.738,10.168,20.007l170.932-111.99V512h26.947V296.421H0v26.948 h79.419L0,375.402V400c0,4.306,0.252,8.553,0.725,12.733" />
<path style="fill:#F5F5F5;"
d="M0,115.807v20.791l79.419,52.034H0v26.947h215.579V0h-26.947v163.54L17.699,51.55 C11.056,61.893,6.073,73.402,3.114,85.7" />
<path style="fill:#F5F5F5;"
d="M504.321,71.169c-2.702-6.899-6.068-13.466-10.021-19.62L323.368,163.54V0h-26.947v215.579H512 v-26.947h-79.419L512,136.598V112c0-4.46-0.269-8.858-0.776-13.182" />
</g>
<g>
<polygon style="fill:#FF4B55;"
points="296.421,0 215.579,0 215.579,215.579 0,215.579 0,296.421 215.579,296.421 215.579,512 296.421,512 296.421,296.421 512,296.421 512,215.579 296.421,215.579 " />
<path style="fill:#FF4B55;"
d="M138.395,323.369L0.725,412.733c1.094,9.663,3.414,18.953,6.807,27.71l180.359-117.075h-49.496 L138.395,323.369L138.395,323.369z" />
<path style="fill:#FF4B55;"
d="M344.465,323.369l163.586,106.186C510.62,420.138,512,410.231,512,400v-0.011l-118.039-76.621 L344.465,323.369L344.465,323.369z" />
<path style="fill:#FF4B55;"
d="M161.684,188.632L3.114,85.7C1.083,94.136,0,102.941,0,112v3.807l112.188,72.825L161.684,188.632 L161.684,188.632z" />
<path style="fill:#FF4B55;"
d="M372.863,188.632l138.36-89.814c-1.131-9.644-3.481-18.914-6.902-27.648L323.368,188.632H372.863z" />
</g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
</svg>
@else
<svg class="flag-select-language" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1"
x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path style="fill:#41479B;"
d="M400,512H112C50.144,512,0,461.856,0,400V112C0,50.144,50.144,0,112,0h288 c61.856,0,112,50.144,112,112v288C512,461.856,461.856,512,400,512z" />
<g>
<path style="fill:#F5F5F5;"
d="M512,399.989v-24.587l-79.419-52.033H512v-26.948H296.421V512h26.947V348.46L494.3,460.45 c6.054-9.425,10.728-19.82,13.75-30.896" />
<path style="fill:#F5F5F5;"
d="M7.531,440.443c2.728,7.04,6.142,13.738,10.168,20.007l170.932-111.99V512h26.947V296.421H0v26.948 h79.419L0,375.402V400c0,4.306,0.252,8.553,0.725,12.733" />
<path style="fill:#F5F5F5;"
d="M0,115.807v20.791l79.419,52.034H0v26.947h215.579V0h-26.947v163.54L17.699,51.55 C11.056,61.893,6.073,73.402,3.114,85.7" />
<path style="fill:#F5F5F5;"
d="M504.321,71.169c-2.702-6.899-6.068-13.466-10.021-19.62L323.368,163.54V0h-26.947v215.579H512 v-26.947h-79.419L512,136.598V112c0-4.46-0.269-8.858-0.776-13.182" />
</g>
<g>
<polygon style="fill:#FF4B55;"
points="296.421,0 215.579,0 215.579,215.579 0,215.579 0,296.421 215.579,296.421 215.579,512 296.421,512 296.421,296.421 512,296.421 512,215.579 296.421,215.579 " />
<path style="fill:#FF4B55;"
d="M138.395,323.369L0.725,412.733c1.094,9.663,3.414,18.953,6.807,27.71l180.359-117.075h-49.496 L138.395,323.369L138.395,323.369z" />
<path style="fill:#FF4B55;"
d="M344.465,323.369l163.586,106.186C510.62,420.138,512,410.231,512,400v-0.011l-118.039-76.621 L344.465,323.369L344.465,323.369z" />
<path style="fill:#FF4B55;"
d="M161.684,188.632L3.114,85.7C1.083,94.136,0,102.941,0,112v3.807l112.188,72.825L161.684,188.632 L161.684,188.632z" />
<path style="fill:#FF4B55;"
d="M372.863,188.632l138.36-89.814c-1.131-9.644-3.481-18.914-6.902-27.648L323.368,188.632H372.863z" />
</g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
<g></g>
</svg>
@endif
</div>
<div class="ml-1">
{{-- <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" 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" />
</svg> --}}
</div>
</button>
</x-slot>
<x-slot name="content">
<!-- Navigation Links -->
<x-dropdown-link :href="route('lang.changeLang', ['lang' => 'vi'])" :active="request()->routeIs('dashboard')">
<span>Vietnamese</span>
<div>
{{-- <svg class="flag-select-language-list" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><path style="fill:#FF4B55;" d="M400,0H112C50.144,0,0,50.144,0,112v288c0,61.856,50.144,112,112,112h288 c61.856,0,112-50.144,112-112V112C512,50.144,461.856,0,400,0z"/><path style="fill:#FFE15A;" d="M260.565,146.63l26.164,78.449l82.695,0.641c4.624,0.036,6.541,5.937,2.822,8.684l-66.525,49.125 l24.944,78.845c1.395,4.409-3.625,8.056-7.387,5.367L256,319.654l-67.278,48.088c-3.762,2.689-8.782-0.958-7.387-5.367 l24.944-78.845l-66.525-49.125c-3.72-2.747-1.802-8.648,2.822-8.684l82.695-0.641l26.164-78.449 C252.898,142.243,259.102,142.243,260.565,146.63z"/><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg> --}}
</div>
</x-dropdown-link>
<x-dropdown-link :href="route('lang.changeLang', ['lang' => 'en'])" :active="request()->routeIs('dashboard')">
<span>English</span>
{{-- <svg class="flag-select-language-list" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><path style="fill:#41479B;" d="M400,512H112C50.144,512,0,461.856,0,400V112C0,50.144,50.144,0,112,0h288 c61.856,0,112,50.144,112,112v288C512,461.856,461.856,512,400,512z"/><g> <path style="fill:#F5F5F5;" d="M512,399.989v-24.587l-79.419-52.033H512v-26.948H296.421V512h26.947V348.46L494.3,460.45 c6.054-9.425,10.728-19.82,13.75-30.896"/> <path style="fill:#F5F5F5;" d="M7.531,440.443c2.728,7.04,6.142,13.738,10.168,20.007l170.932-111.99V512h26.947V296.421H0v26.948 h79.419L0,375.402V400c0,4.306,0.252,8.553,0.725,12.733"/> <path style="fill:#F5F5F5;" d="M0,115.807v20.791l79.419,52.034H0v26.947h215.579V0h-26.947v163.54L17.699,51.55 C11.056,61.893,6.073,73.402,3.114,85.7"/> <path style="fill:#F5F5F5;" d="M504.321,71.169c-2.702-6.899-6.068-13.466-10.021-19.62L323.368,163.54V0h-26.947v215.579H512 v-26.947h-79.419L512,136.598V112c0-4.46-0.269-8.858-0.776-13.182"/></g><g> <polygon style="fill:#FF4B55;" points="296.421,0 215.579,0 215.579,215.579 0,215.579 0,296.421 215.579,296.421 215.579,512 296.421,512 296.421,296.421 512,296.421 512,215.579 296.421,215.579 "/> <path style="fill:#FF4B55;" d="M138.395,323.369L0.725,412.733c1.094,9.663,3.414,18.953,6.807,27.71l180.359-117.075h-49.496 L138.395,323.369L138.395,323.369z"/> <path style="fill:#FF4B55;" d="M344.465,323.369l163.586,106.186C510.62,420.138,512,410.231,512,400v-0.011l-118.039-76.621 L344.465,323.369L344.465,323.369z"/> <path style="fill:#FF4B55;" d="M161.684,188.632L3.114,85.7C1.083,94.136,0,102.941,0,112v3.807l112.188,72.825L161.684,188.632 L161.684,188.632z"/> <path style="fill:#FF4B55;" d="M372.863,188.632l138.36-89.814c-1.131-9.644-3.481-18.914-6.902-27.648L323.368,188.632H372.863z"/></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg> --}}
</x-dropdown-link>
</x-slot>
</x-dropdown>
</div>
<x-nav-link :href="route('login')" :active="request()->routeIs('dashboard')">
{{ __('lang.sign_in') }}
</x-nav-link>
@if (Route::has('register'))
<x-nav-link :href="route('register')" :active="request()->routeIs('dashboard')">
{{ __('lang.register') }}
</x-nav-link>
@endif
</div>
@endauth
<!-- Hamburger -->
<div class="-mr-2 flex items-center sm:hidden">
<button @click="open = ! open"
class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out">
<svg class="h-6 w-6" stroke="currentColor" fill="none" viewBox="0 0 24 24">
<path :class="{ 'hidden': open, 'inline-flex': !open }" class="inline-flex"
stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M4 6h16M4 12h16M4 18h16" />
<path :class="{ 'hidden': !open, 'inline-flex': open }" class="hidden" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
</div>
</div>
</div>
<!-- Responsive Navigation Menu -->
<div :class="{ 'block': open, 'hidden': !open }" class="hidden sm:hidden">
@auth
<!-- Responsive Settings Options -->
<div class="pt-4 pb-1 border-t border-gray-200">
<div class="px-4">
<div class="font-medium text-base text-gray-800">{{ Auth::user()->name }}</div>
<div class="font-medium text-sm text-gray-500">{{ Auth::user()->email }}</div>
</div>
<div class="mt-3 space-y-1">
<!-- Navigation Links -->
<x-dropdown-link :href="route('logout')" :active="request()->routeIs('dashboard')">
{{ __('Dashboard') }}
</x-dropdown-link>
<hr>
<div id="maccordion">
@hasanyrole('Super Admin|Admin')
<div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link" data-toggle="collapse" data-target="#mcollapseOne"
aria-expanded="true" aria-controls="mcollapseOne">
System Actions
</button>
</h5>
<div id="mcollapseOne" class="collapse" aria-labelledby="headingOne"
data-parent="#accordion">
@can('view_system')
<div class="col-12">
<x-nav-link :href="route('users.index')" :active="request()->routeIs('users')">
{{ __('lang.users') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('roles.index')" :active="request()->routeIs('roles')">
{{ __('lang.roles') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('permissions.index')" :active="request()->routeIs('permissions')">
{{ __('lang.permission') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('clients.index')" :active="request()->routeIs('clients')">
{{ __('lang.clients') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('currency.index')" :active="request()->routeIs('currency')">
{{ __('lang.currency') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('organization.index')" :active="request()->routeIs('organization')">
{{ __('lang.organization') }}
</x-nav-link>
</div>
@endcan
</div>
</div>
<hr>
@endhasanyrole
{{-- <div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#mcollapseTwo"
aria-expanded="false" aria-controls="mcollapseTwo">
{{ __('lang.content') }}
</button>
</h5>
<div id="mcollapseTwo" class="collapse" aria-labelledby="headingTwo"
data-parent="#accordion">
<div class="col-12">
<x-nav-link :href="route('structures.index')" :active="request()->routeIs('info')" >
{{ __('lang.structure') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('part.index')" :active="request()->routeIs('info')" >
{{ __('lang.part') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('topic.index')" :active="request()->routeIs('info')" >
{{ __('lang.topic') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('questions.index')" :active="request()->routeIs('info')" >
{{ __('lang.question') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('question-type.index')" :active="request()->routeIs('info')" >
{{ __('lang.question_type') }}
</x-nav-link>
</div>
</div>
</div> --}}
<hr>
<div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#mcollapse3"
aria-expanded="false" aria-controls="mcollapse3">
{{ __('lang.learn') }}
</button>
</h5>
<div id="mcollapse3" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
{{-- <div class="col-12">
<x-nav-link :href="route('plant.index')" :active="request()->routeIs('info')" >
{{ __('lang.plant') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('unit.index')" :active="request()->routeIs('info')" >
{{ __('lang.unit') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('lesson.index')" :active="request()->routeIs('info')" >
{{ __('lang.lesson') }}
</x-nav-link>
</div> --}}
</div>
</div>
<hr>
<div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#mcollapse4"
aria-expanded="false" aria-controls="mcollapse4">
{{ __('lang.exam') }}
</button>
</h5>
<div id="mcollapse4" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="col-12">
{{-- <x-nav-link :href="route('frame.index')" :active="request()->routeIs('info')" >
{{ __('lang.frame') }}
</x-nav-link> --}}
</div>
<div class="col-12">
{{-- <x-nav-link :href="route('exam.index')" :active="request()->routeIs('info')" >
{{ __('lang.exam') }}
</x-nav-link> --}}
</div>
</div>
</div>
<hr>
<div class="col-12">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#mcollapse5"
aria-expanded="false" aria-controls="mcollapse5">
{{ __('lang.profile') }}
</button>
</h5>
<div id="mcollapse5" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="col-12">
<x-nav-link :href="route('info.index')" :active="request()->routeIs('info')">
{{ __('lang.info') }}
</x-nav-link>
</div>
<div class="col-12">
<x-nav-link :href="route('changepassword.index')" :active="request()->routeIs('changepassword')">
{{ __('lang.change_password') }}
</x-nav-link>
</div>
</div>
</div>
<hr>
</div>
<hr>
<!-- Authentication -->
<form method="POST" action="{{ route('logout') }}">
@csrf
<x-responsive-nav-link :href="route('logout')"
onclick="event.preventDefault();
this.closest('form').submit();">
{{ __('Sign Out') }}
</x-responsive-nav-link>
</form>
</div>
</div>
@else
<div class="pt-4 pb-1 border-t border-gray-200">
<div class="mt-3 space-y-1">
<!-- Navigation Links -->
<x-dropdown-link :href="route('login')">
{{ __('Sign In') }}
</x-dropdown-link>
@if (Route::has('register'))
<x-dropdown-link :href="route('register')" :active="request()->routeIs('dashboard')">
{{ __('Register') }}
</x-dropdown-link>
@endif
</div>
</div>
@endauth
</div>
</nav>