sidebar
This commit is contained in:
parent
4bd8f3351a
commit
50109bc283
2 changed files with 44 additions and 9 deletions
|
@ -116,15 +116,50 @@
|
||||||
}
|
}
|
||||||
<!-- ========== END HEADER ========== -->
|
<!-- ========== END HEADER ========== -->
|
||||||
|
|
||||||
<!-- Sidebar -->
|
|
||||||
@if (auth.loggedIn) {
|
@if (auth.loggedIn) {
|
||||||
<div
|
<div class="-mt-px">
|
||||||
id="hs-application-sidebar"
|
<!-- Breadcrumb -->
|
||||||
class="hs-overlay [--auto-close:lg] hs-overlay-open:translate-x-0 -translate-x-full transition-all duration-300 transform w-[260px] h-full hidden fixed inset-y-0 start-0 z-[60] bg-white border-e border-gray-200 lg:block lg:translate-x-0 lg:end-auto lg:bottom-0 dark:bg-neutral-800 dark:border-neutral-700"
|
<div class="sticky top-0 inset-x-0 z-20 bg-white border-y px-4 sm:px-6 lg:px-8 lg:hidden dark:bg-neutral-800 dark:border-neutral-700">
|
||||||
role="dialog"
|
<div class="flex items-center py-2">
|
||||||
tabindex="-1"
|
<!-- Navigation Toggle -->
|
||||||
aria-label="Sidebar"
|
<button type="button" class="size-8 flex justify-center items-center gap-x-2 border border-gray-200 text-gray-800 hover:text-gray-500 rounded-lg focus:outline-none focus:text-gray-500 disabled:opacity-50 disabled:pointer-events-none dark:border-neutral-700 dark:text-neutral-200 dark:hover:text-neutral-500 dark:focus:text-neutral-500" aria-haspopup="dialog" aria-expanded="false" aria-controls="hs-application-sidebar" aria-label="Toggle navigation" data-hs-overlay="#hs-application-sidebar">
|
||||||
>
|
<span class="sr-only">Toggle Navigation</span>
|
||||||
|
<svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<rect width="18" height="18" x="3" y="3" rx="2" />
|
||||||
|
<path d="M15 3v18" />
|
||||||
|
<path d="m8 9 3 3-3 3" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<!-- End Navigation Toggle -->
|
||||||
|
|
||||||
|
<!-- Breadcrumb -->
|
||||||
|
<ol class="ms-3 flex items-center whitespace-nowrap">
|
||||||
|
<li class="flex items-center text-sm text-gray-800 dark:text-neutral-400">
|
||||||
|
Application Layout
|
||||||
|
<svg class="shrink-0 mx-3 overflow-visible size-2.5 text-gray-400 dark:text-neutral-500" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14" stroke="currentColor" stroke-width="2" stroke-linecap="round" />
|
||||||
|
</svg>
|
||||||
|
</li>
|
||||||
|
<li class="text-sm font-semibold text-gray-800 truncate dark:text-neutral-400" aria-current="page">
|
||||||
|
Dashboard
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
<!-- End Breadcrumb -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Breadcrumb -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<div id="hs-application-sidebar" class="hs-overlay [--auto-close:lg]
|
||||||
|
hs-overlay-open:translate-x-0
|
||||||
|
-translate-x-full transition-all duration-300 transform
|
||||||
|
w-[260px] h-full
|
||||||
|
hidden
|
||||||
|
fixed inset-y-0 start-0 z-[60]
|
||||||
|
bg-white border-e border-gray-200
|
||||||
|
lg:block lg:translate-x-0 lg:end-auto lg:bottom-0
|
||||||
|
dark:bg-neutral-800 dark:border-neutral-700" role="dialog" tabindex="-1" aria-label="Sidebar">
|
||||||
<div class="relative flex flex-col h-full max-h-full">
|
<div class="relative flex flex-col h-full max-h-full">
|
||||||
<div class="px-6 pt-4">
|
<div class="px-6 pt-4">
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="w-3/5 justify-center overflow-x-auto">
|
<div class="w-100 justify-center overflow-x-auto">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<!-- head -->
|
<!-- head -->
|
||||||
<thead>
|
<thead>
|
||||||
|
|
Loading…
Reference in a new issue