You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
3.3 KiB
HTML
77 lines
3.3 KiB
HTML
<div>
|
|
<div class="grid grid-cols-1 sm:hidden">
|
|
<!-- Use an "onChange" listener to redirect the user to the selected tab URL. -->
|
|
<select
|
|
aria-label="Select a tab"
|
|
class="col-start-1 row-start-1 w-full appearance-none rounded-md bg-white py-2 pr-8 pl-3 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600"
|
|
>
|
|
<option>My Account</option>
|
|
<option>Company</option>
|
|
<option selected>Team Members</option>
|
|
<option>Billing</option>
|
|
</select>
|
|
<svg
|
|
viewBox="0 0 16 16"
|
|
fill="currentColor"
|
|
data-slot="icon"
|
|
aria-hidden="true"
|
|
class="pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end fill-gray-500"
|
|
>
|
|
<path
|
|
d="M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z"
|
|
clip-rule="evenodd"
|
|
fill-rule="evenodd"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
<div class="hidden sm:block">
|
|
<nav
|
|
aria-label="Tabs"
|
|
class="isolate flex divide-x divide-gray-200 rounded-lg shadow-sm"
|
|
>
|
|
<!-- Current: "text-gray-900", Default: "text-gray-500 hover:text-gray-700" -->
|
|
<a
|
|
href="#"
|
|
class="group relative min-w-0 flex-1 overflow-hidden rounded-l-lg bg-white px-4 py-4 text-center text-sm font-medium text-gray-500 hover:bg-gray-50 hover:text-gray-700 focus:z-10"
|
|
>
|
|
<span>My Account</span>
|
|
<span
|
|
aria-hidden="true"
|
|
class="absolute inset-x-0 bottom-0 h-0.5 bg-transparent"
|
|
></span>
|
|
</a>
|
|
<a
|
|
href="#"
|
|
class="group relative min-w-0 flex-1 overflow-hidden bg-white px-4 py-4 text-center text-sm font-medium text-gray-500 hover:bg-gray-50 hover:text-gray-700 focus:z-10"
|
|
>
|
|
<span>Company</span>
|
|
<span
|
|
aria-hidden="true"
|
|
class="absolute inset-x-0 bottom-0 h-0.5 bg-transparent"
|
|
></span>
|
|
</a>
|
|
<a
|
|
href="#"
|
|
aria-current="page"
|
|
class="group relative min-w-0 flex-1 overflow-hidden bg-white px-4 py-4 text-center text-sm font-medium text-gray-900 hover:bg-gray-50 focus:z-10"
|
|
>
|
|
<span>Team Members</span>
|
|
<span
|
|
aria-hidden="true"
|
|
class="absolute inset-x-0 bottom-0 h-0.5 bg-indigo-500"
|
|
></span>
|
|
</a>
|
|
<a
|
|
href="#"
|
|
class="group relative min-w-0 flex-1 overflow-hidden rounded-r-lg bg-white px-4 py-4 text-center text-sm font-medium text-gray-500 hover:bg-gray-50 hover:text-gray-700 focus:z-10"
|
|
>
|
|
<span>Billing</span>
|
|
<span
|
|
aria-hidden="true"
|
|
class="absolute inset-x-0 bottom-0 h-0.5 bg-transparent"
|
|
></span>
|
|
</a>
|
|
</nav>
|
|
</div>
|
|
</div>
|