1+ <!-- Global Loader -->
12< mat-progress-bar *ngIf ="loading " mode ="query "> </ mat-progress-bar >
2- < div class ="flex h-screen overflow-hidden ">
3- <!-- Static sidebar for mobile -->
4- < div class ="relative z-40 md:hidden " [ngClass] ="mobileSidebarOpen ? 'block' : 'hidden' ">
5- < div [@openBackdrop] ="openCloseTrigger " class ="fixed inset-0 bg-opacity-75 bg-slate-900 "> </ div >
3+ < div class ="h-screen overflow-hidden bg-gray-100 ">
4+ <!-- Header -->
5+ < admin-header (openMobileSidebar) ="openSidebar($event) "> </ admin-header >
66
7- < admin-sidebar [@openClose] ="openCloseTrigger " ngClass ="fixed inset-0 z-40 flex "> </ admin-sidebar >
8-
9- < div [@closeButton] ="openCloseTrigger " class ="absolute top-0 z-50 pt-2 left-[285px] ">
10- < button
11- type ="button "
12- class ="flex items-center justify-center w-10 h-10 ml-1 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white "
13- (click) ="toggleSidebar() "
14- >
15- < span class ="sr-only "> Close sidebar</ span >
16- < svg class ="w-6 h-6 text-white " xmlns ="http://www.w3.org/2000/svg " fill ="none " viewBox ="0 0 24 24 " stroke-width ="1.5 " stroke ="currentColor " aria-hidden ="true ">
17- < path stroke-linecap ="round " stroke-linejoin ="round " d ="M6 18L18 6M6 6l12 12 " />
18- </ svg >
19- </ button >
7+ < div class ="flex h-full min-h-screen ">
8+ <!-- Static sidebar for mobile -->
9+ < div class ="relative z-40 md:hidden " [ngClass] ="mobileSidebarOpen ? 'block' : 'hidden' ">
10+ < div [@openBackdrop] ="openCloseTrigger " class ="fixed inset-0 bg-gray-900 bg-opacity-75 "> </ div >
11+
12+ < admin-sidebar [@openClose] ="openCloseTrigger " ngClass ="fixed inset-0 z-40 flex "> </ admin-sidebar >
13+
14+ < div [@closeButton] ="openCloseTrigger " class ="absolute top-0 z-50 pt-2 left-[285px] ">
15+ < button
16+ type ="button "
17+ class ="flex items-center justify-center w-10 h-10 ml-1 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white "
18+ (click) ="toggleSidebar() "
19+ >
20+ < span class ="sr-only "> Fermer la sidebar</ span >
21+ < svg class ="w-6 h-6 text-white " xmlns ="http://www.w3.org/2000/svg " fill ="none " viewBox ="0 0 24 24 " stroke-width ="1.5 " stroke ="currentColor " aria-hidden ="true ">
22+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M6 18L18 6M6 6l12 12 " />
23+ </ svg >
24+ </ button >
25+ </ div >
2026 </ div >
21- </ div >
22-
23- <!-- Static sidebar for desktop -->
24- < admin-sidebar ngClass ="hidden md:block "> </ admin-sidebar >
25-
26- <!-- Content layout -->
27- < div class ="flex flex-col flex-1 w-0 bg-white ">
28- < div class ="relative z-0 flex flex-col h-full overflow-hidden overflow-y-auto focus:ouline-none ">
29- <!-- Header -->
30- < admin-header (openMobileSidebar) ="openSidebar($event) "> </ admin-header >
31-
32- < div class ="flex-1 w-full h-full px-4 mx-auto bg-slate-50 max-w-8xl md:bg-transparent sm:px-6 lg:px-8 ">
33- < router-outlet > </ router-outlet >
27+
28+ <!-- Static sidebar for desktop -->
29+ < admin-sidebar ngClass ="hidden md:block "> </ admin-sidebar >
30+
31+ <!-- Content layout -->
32+ < div class ="flex flex-col flex-1 w-0 ">
33+ < div class ="relative z-0 flex flex-col h-full overflow-hidden overflow-y-auto focus:ouline-none ">
34+ < div class ="flex-1 w-full h-full px-4 py-6 mx-auto max-w-8xl sm:px-6 lg:px-8 ">
35+ < router-outlet > </ router-outlet >
36+ </ div >
3437 </ div >
3538 </ div >
3639 </ div >
37- </ div >
40+ </ div >
0 commit comments