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.

212 lines
10 KiB

  1. <!-- Main navigation container -->
  2. <nav
  3. class="flex-no-wrap relative flex w-full items-center justify-between bg-neutral-100 py-2 shadow-lg shadow-black/5 dark:bg-neutral-800 dark:shadow-black/10 lg:flex-wrap lg:justify-start lg:py-4"
  4. data-te-navbar-ref>
  5. <div class="flex w-full flex-wrap items-center justify-between px-3">
  6. <!-- Hamburger button for mobile view -->
  7. <button
  8. class="block border-0 bg-transparent px-2 text-neutral-500 hover:no-underline hover:shadow-none focus:no-underline focus:shadow-none focus:outline-none focus:ring-0 dark:text-neutral-200 lg:hidden"
  9. type="button"
  10. data-te-collapse-init
  11. data-te-target="#navbarSupportedContent1"
  12. aria-controls="navbarSupportedContent1"
  13. aria-expanded="false"
  14. aria-label="Toggle navigation">
  15. <!-- Hamburger icon -->
  16. <span class="[&>svg]:w-7">
  17. <svg
  18. xmlns="http://www.w3.org/2000/svg"
  19. viewBox="0 0 24 24"
  20. fill="currentColor"
  21. class="h-7 w-7">
  22. <path
  23. fill-rule="evenodd"
  24. d="M3 6.75A.75.75 0 013.75 6h16.5a.75.75 0 010 1.5H3.75A.75.75 0 013 6.75zM3 12a.75.75 0 01.75-.75h16.5a.75.75 0 010 1.5H3.75A.75.75 0 013 12zm0 5.25a.75.75 0 01.75-.75h16.5a.75.75 0 010 1.5H3.75a.75.75 0 01-.75-.75z"
  25. clip-rule="evenodd" />
  26. </svg>
  27. </span>
  28. </button>
  29. <!-- Collapsible navigation container -->
  30. <div
  31. class="!visible hidden flex-grow basis-[100%] items-center lg:!flex lg:basis-auto"
  32. id="navbarSupportedContent1"
  33. data-te-collapse-item>
  34. <!-- Logo -->
  35. <a
  36. class="pl-2 mb-4 mr-2 mt-3 flex items-center text-neutral-900 hover:text-neutral-900 focus:text-neutral-900 dark:text-neutral-200 dark:hover:text-neutral-400 dark:focus:text-neutral-400 lg:mb-0 lg:mt-0"
  37. href="/">
  38. <img
  39. src="https://www.tailwind-kit.com/icons/rocket.svg"
  40. style="height: 25px"
  41. alt=""
  42. loading="lazy" />
  43. </a>
  44. <!-- Left navigation links -->
  45. <ul
  46. class="list-style-none mr-auto flex flex-col pl-0 lg:flex-row"
  47. data-te-navbar-nav-ref>
  48. <li class="mb-4 lg:mb-0 lg:pr-2" data-te-nav-item-ref>
  49. <!-- Dashboard link -->
  50. <a
  51. class="text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 lg:px-2 [&.active]:text-black/90 dark:[&.active]:text-zinc-400"
  52. href="/main/about"
  53. data-te-nav-link-ref
  54. >Dashboard</a
  55. >
  56. </li>
  57. <!-- Team link -->
  58. <li class="mb-4 lg:mb-0 lg:pr-2" data-te-nav-item-ref>
  59. <a
  60. class="text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 lg:px-2 [&.active]:text-black/90 dark:[&.active]:text-neutral-400"
  61. href="#"
  62. data-te-nav-link-ref
  63. >Team</a
  64. >
  65. </li>
  66. <!-- Projects link -->
  67. <li class="mb-4 lg:mb-0 lg:pr-2" data-te-nav-item-ref>
  68. <a
  69. class="text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 lg:px-2 [&.active]:text-black/90 dark:[&.active]:text-neutral-400"
  70. href="#"
  71. data-te-nav-link-ref
  72. >Projects</a
  73. >
  74. </li>
  75. </ul>
  76. </div>
  77. <!-- Right elements -->
  78. <div class="relative flex items-center">
  79. <!-- Cart Icon -->
  80. <a
  81. class="mr-4 text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 [&.active]:text-black/90 dark:[&.active]:text-neutral-400"
  82. href="#">
  83. <span class="[&>svg]:w-5">
  84. <svg
  85. xmlns="http://www.w3.org/2000/svg"
  86. viewBox="0 0 24 24"
  87. fill="currentColor"
  88. class="h-5 w-5">
  89. <path
  90. d="M2.25 2.25a.75.75 0 000 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 00-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 000-1.5H5.378A2.25 2.25 0 017.5 15h11.218a.75.75 0 00.674-.421 60.358 60.358 0 002.96-7.228.75.75 0 00-.525-.965A60.864 60.864 0 005.68 4.509l-.232-.867A1.875 1.875 0 003.636 2.25H2.25zM3.75 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zM16.5 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z" />
  91. </svg>
  92. </span>
  93. </a>
  94. <!-- Container with two dropdown menus -->
  95. <div class="relative" data-te-dropdown-ref>
  96. <!-- First dropdown trigger -->
  97. <a
  98. class="hidden-arrow mr-4 flex items-center text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 [&.active]:text-black/90 dark:[&.active]:text-neutral-400"
  99. href="#"
  100. id="dropdownMenuButton1"
  101. role="button"
  102. data-te-dropdown-toggle-ref
  103. aria-expanded="false">
  104. <!-- Dropdown trigger icon -->
  105. <span class="[&>svg]:w-5">
  106. <svg
  107. xmlns="http://www.w3.org/2000/svg"
  108. viewBox="0 0 24 24"
  109. fill="currentColor"
  110. class="h-5 w-5">
  111. <path
  112. fill-rule="evenodd"
  113. d="M5.25 9a6.75 6.75 0 0113.5 0v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 01-.297 1.206c-1.544.57-3.16.99-4.831 1.243a3.75 3.75 0 11-7.48 0 24.585 24.585 0 01-4.831-1.244.75.75 0 01-.298-1.205A8.217 8.217 0 005.25 9.75V9zm4.502 8.9a2.25 2.25 0 104.496 0 25.057 25.057 0 01-4.496 0z"
  114. clip-rule="evenodd" />
  115. </svg>
  116. </span>
  117. <!-- Notification counter -->
  118. <span
  119. class="border-red-700 border-2 shadow-lg absolute -mt-2.5 ml-2 rounded-full bg-danger px-[0.45em] py-[0.2em] text-[0.6rem] leading-none bg-red-300 text-black"
  120. >
  121. 8
  122. </span
  123. >
  124. </a>
  125. <!-- First dropdown menu -->
  126. <ul
  127. class="absolute left-auto right-0 z-[1000] float-left m-0 mt-1 hidden min-w-max list-none overflow-hidden rounded-lg border-none bg-white bg-clip-padding text-left text-base shadow-lg dark:bg-neutral-700 [&[data-te-dropdown-show]]:block"
  128. aria-labelledby="dropdownMenuButton1"
  129. data-te-dropdown-menu-ref>
  130. <!-- First dropdown menu items -->
  131. <li>
  132. <a
  133. class="block w-full whitespace-nowrap bg-transparent px-4 py-2 text-sm font-normal text-neutral-700 hover:bg-neutral-100 active:text-neutral-800 active:no-underline disabled:pointer-events-none disabled:bg-transparent disabled:text-neutral-400 dark:text-neutral-200 dark:hover:bg-white/30"
  134. href="#"
  135. data-te-dropdown-item-ref
  136. >Action</a
  137. >
  138. </li>
  139. <li>
  140. <a
  141. class="block w-full whitespace-nowrap bg-transparent px-4 py-2 text-sm font-normal text-neutral-700 hover:bg-neutral-100 active:text-neutral-800 active:no-underline disabled:pointer-events-none disabled:bg-transparent disabled:text-neutral-400 dark:text-neutral-200 dark:hover:bg-white/30"
  142. href="#"
  143. data-te-dropdown-item-ref
  144. >Another action</a
  145. >
  146. </li>
  147. <li>
  148. <a
  149. class="block w-full whitespace-nowrap bg-transparent px-4 py-2 text-sm font-normal text-neutral-700 hover:bg-neutral-100 active:text-neutral-800 active:no-underline disabled:pointer-events-none disabled:bg-transparent disabled:text-neutral-400 dark:text-neutral-200 dark:hover:bg-white/30"
  150. href="#"
  151. data-te-dropdown-item-ref
  152. >Something else here</a
  153. >
  154. </li>
  155. </ul>
  156. </div>
  157. <!-- Second dropdown container -->
  158. <div class="relative" data-te-dropdown-ref>
  159. <!-- Second dropdown trigger -->
  160. <a
  161. class="hidden-arrow flex items-center whitespace-nowrap transition duration-150 ease-in-out motion-reduce:transition-none"
  162. href="#"
  163. id="dropdownMenuButton2"
  164. role="button"
  165. data-te-dropdown-toggle-ref
  166. aria-expanded="false">
  167. <!-- User avatar -->
  168. <img
  169. src="https://tecdn.b-cdn.net/img/new/avatars/2.jpg"
  170. class="rounded-full shadow-lg"
  171. style="height: 25px; width: 25px"
  172. alt=""
  173. loading="lazy" />
  174. </a>
  175. <!-- Second dropdown menu -->
  176. <ul
  177. class="absolute left-auto right-0 z-[1000] float-left m-0 mt-1 hidden min-w-max list-none overflow-hidden rounded-lg border-none bg-white bg-clip-padding text-left text-base shadow-lg dark:bg-neutral-700 [&[data-te-dropdown-show]]:block"
  178. aria-labelledby="dropdownMenuButton2"
  179. data-te-dropdown-menu-ref>
  180. <!-- Second dropdown menu items -->
  181. <li>
  182. <a
  183. class="block w-full whitespace-nowrap bg-transparent px-4 py-2 text-sm font-normal text-neutral-700 hover:bg-neutral-100 active:text-neutral-800 active:no-underline disabled:pointer-events-none disabled:bg-transparent disabled:text-neutral-400 dark:text-neutral-200 dark:hover:bg-white/30"
  184. href="#"
  185. data-te-dropdown-item-ref
  186. >Action</a
  187. >
  188. </li>
  189. <li>
  190. <a
  191. class="block w-full whitespace-nowrap bg-transparent px-4 py-2 text-sm font-normal text-neutral-700 hover:bg-neutral-100 active:text-neutral-800 active:no-underline disabled:pointer-events-none disabled:bg-transparent disabled:text-neutral-400 dark:text-neutral-200 dark:hover:bg-white/30"
  192. href="#"
  193. data-te-dropdown-item-ref
  194. >Another action</a
  195. >
  196. </li>
  197. <li>
  198. <a
  199. class="block w-full whitespace-nowrap bg-transparent px-4 py-2 text-sm font-normal text-neutral-700 hover:bg-neutral-100 active:text-neutral-800 active:no-underline disabled:pointer-events-none disabled:bg-transparent disabled:text-neutral-400 dark:text-neutral-200 dark:hover:bg-white/30"
  200. href="#"
  201. data-te-dropdown-item-ref
  202. >Something else here</a
  203. >
  204. </li>
  205. </ul>
  206. </div>
  207. </div>
  208. </div>
  209. </nav>