1
- <nav x-data =" { open: false, flyoutMenu: false }" {{ $attributes -> merge ([' class' => ' relative z-10 bg-skin-menu' ]) } } >
1
+ <nav x-data =" { open: false, flyoutMenu: false }" {{ $attributes -> merge ([' class' => ' relative z-10 bg-skin-menu/50 backdrop-blur-sm ' ]) } } >
2
2
<div class =" max-w-7xl mx-auto px-2 sm:px-4" >
3
3
<div class =" flex justify-between h-16" >
4
4
<div class =" flex px-2 lg:px-0" >
@@ -172,7 +172,7 @@ class="absolute z-10 -ml-4 mt-3 transform w-screen max-w-md lg:max-w-3xl lg:ml-0
172
172
<!-- Add actions dropdown -->
173
173
<div x-data =" { open: false }" @keydown .escape.stop =" open = false;" @click .outside =" open = false;" class =" ml-4 relative shrink-0" >
174
174
<div >
175
- <button type =" button" class =" shrink-0 bg-skin-card p-1 text-skin-muted rounded-full hover:text-skin-base focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-body focus:ring-green-500" x-ref =" button" @click =" open =! open" >
175
+ <button type =" button" class =" shrink-0 hover: bg-skin-card p-1 text-skin-muted rounded-full hover:text-skin-base focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-body focus:ring-green-500" x-ref =" button" @click =" open =! open" >
176
176
<svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" stroke-width =" 1.5" stroke =" currentColor" class =" w-5 h-5" >
177
177
<path stroke-linecap =" round" stroke-linejoin =" round" d =" M12 4.5v15m7.5-7.5h-15" />
178
178
</svg >
@@ -231,13 +231,23 @@ class="origin-top absolute right-0 mt-2 w-56 rounded-md shadow-lg py-1 bg-skin-m
231
231
232
232
<div x-show =" open" class =" lg:hidden font-sans" id =" mobile-menu" style =" display : none ;" >
233
233
<div class =" pt-2 pb-3 space-y-1" >
234
- <a href =" {{ route (' forum.index' ) } }" class =" border-transparent hover:bg-skin-card-muted hover:border-skin block pl-3 pr-4 py-2 border-l-4 text-base font-medium {{ active ([' forum' , ' forum*' ], ' bg-green-50 border-green-500 text-skin-primary' , ' text-skin-menu hover:text-skin-menu-hover' ) } }" >{{ __ (' Forum' ) } } </a >
235
- <a href =" {{ route (' articles' ) } }" class =" border-transparent hover:bg-skin-card-muted hover:border-skin block pl-3 pr-4 py-2 border-l-4 text-base font-medium {{ active ([' articles' , ' articles*' ], ' bg-green-50 border-green-500 text-skin-primary' , ' text-skin-menu hover:text-skin-menu-hover' ) } }" >{{ __ (' Articles' ) } } </a >
236
- <a href =" {{ route (' discussions.index' ) } }" class =" border-transparent hover:bg-skin-card-muted hover:border-skin block pl-3 pr-4 py-2 border-l-4 text-base font-medium {{ active ([' discussions' , ' discussions*' ], ' bg-green-50 border-green-500 text-skin-primary' , ' text-skin-menu hover:text-skin-menu-hover' ) } }" >{{ __ (' Discussions' ) } } </a >
237
- <a href =" #" class =" border-transparent hover:bg-skin-card-muted hover:border-skin block pl-3 pr-4 py-2 border-l-4 text-base font-medium {{ active ([' tutorials' , ' tutorials*' ], ' bg-green-50 border-green-500 text-skin-primary' , ' text-skin-menu hover:text-skin-menu-hover' ) } }" >{{ __ (' Vidéos' ) } } </a >
234
+ <a href =" {{ route (' forum.index' ) } }" class =" border-transparent hover:bg-skin-card-muted hover:border-skin block pl-3 pr-4 py-2 border-l-4 text-base font-medium {{ active ([' forum' , ' forum*' ], ' bg-green-50 border-green-500 text-skin-primary' , ' text-skin-menu hover:text-skin-menu-hover' ) } }" >
235
+ {{ __ (' Forum' ) } }
236
+ </a >
237
+ <a href =" {{ route (' articles' ) } }" class =" border-transparent hover:bg-skin-card-muted hover:border-skin block pl-3 pr-4 py-2 border-l-4 text-base font-medium {{ active ([' articles' , ' articles*' ], ' bg-green-50 border-green-500 text-skin-primary' , ' text-skin-menu hover:text-skin-menu-hover' ) } }" >
238
+ {{ __ (' Articles' ) } }
239
+ </a >
240
+ <a href =" {{ route (' discussions.index' ) } }" class =" border-transparent hover:bg-skin-card-muted hover:border-skin block pl-3 pr-4 py-2 border-l-4 text-base font-medium {{ active ([' discussions' , ' discussions*' ], ' bg-green-50 border-green-500 text-skin-primary' , ' text-skin-menu hover:text-skin-menu-hover' ) } }" >
241
+ {{ __ (' Discussions' ) } }
242
+ </a >
243
+ <a href =" #" class =" border-transparent hover:bg-skin-card-muted hover:border-skin block pl-3 pr-4 py-2 border-l-4 text-base font-medium {{ active ([' tutorials' , ' tutorials*' ], ' bg-green-50 border-green-500 text-skin-primary' , ' text-skin-menu hover:text-skin-menu-hover' ) } }" >
244
+ {{ __ (' Vidéos' ) } }
245
+ </a >
238
246
</div >
239
247
<div class =" py-4 px-3 border-t border-skin-light" >
240
- <h4 class =" text-sm leading-5 font-medium uppercase tracking-wide text-skin-muted" >{{ __ (' Autres' ) } } </h4 >
248
+ <h4 class =" text-sm leading-5 font-medium uppercase tracking-wide text-skin-muted" >
249
+ {{ __ (' Autres' ) } }
250
+ </h4 >
241
251
<div class =" mt-5 space-y-6" >
242
252
<a href =" https://snippets.laravel.cm" class =" flex items-center text-skin-base" >
243
253
<svg class =" h-6 w-6 mr-3 -ml-1" fill =" currentColor" xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 24 24" >
@@ -298,8 +308,12 @@ class="origin-top absolute right-0 mt-2 w-56 rounded-md shadow-lg py-1 bg-skin-m
298
308
</button >
299
309
</div >
300
310
<div class =" mt-3 space-y-1" >
301
- <a href =" {{ route (' profile' ) } }" class =" block px-4 py-2 text-base font-medium text-skin-menu hover:text-skin-menu-hover" >{{ __ (' Mon profil' ) } } </a >
302
- <a href =" {{ route (' user.settings' ) } }" class =" block px-4 py-2 text-base font-medium text-skin-menu hover:text-skin-menu-hover" >{{ __ (' Paramètres' ) } } </a >
311
+ <a href =" {{ route (' profile' ) } }" class =" block px-4 py-2 text-base font-medium text-skin-menu hover:text-skin-menu-hover" >
312
+ {{ __ (' Mon profil' ) } }
313
+ </a >
314
+ <a href =" {{ route (' user.settings' ) } }" class =" block px-4 py-2 text-base font-medium text-skin-menu hover:text-skin-menu-hover" >
315
+ {{ __ (' Paramètres' ) } }
316
+ </a >
303
317
<div class =" px-4 py-2" role =" form" >
304
318
<form method =" POST" action =" {{ route (' logout' ) } }" role =" form" >
305
319
@csrf
@@ -311,8 +325,12 @@ class="origin-top absolute right-0 mt-2 w-56 rounded-md shadow-lg py-1 bg-skin-m
311
325
</div >
312
326
@else
313
327
<div class =" space-y-1" >
314
- <a href =" {{ route (' login' ) } }" class =" block px-4 py-2 text-base font-medium text-skin-menu hover:text-skin-menu-hover" >{{ __ (' Se connecter' ) } } </a >
315
- <a href =" {{ route (' register' ) } }" class =" block px-4 py-2 text-base font-medium text-flag-green" >{{ __ (' Créer un compte' ) } } </a >
328
+ <a href =" {{ route (' login' ) } }" class =" block px-4 py-2 text-base font-medium text-skin-menu hover:text-skin-menu-hover" >
329
+ {{ __ (' Se connecter' ) } }
330
+ </a >
331
+ <a href =" {{ route (' register' ) } }" class =" block px-4 py-2 text-base font-medium text-flag-green" >
332
+ {{ __ (' Créer un compte' ) } }
333
+ </a >
316
334
</div >
317
335
@endauth
318
336
</div >
0 commit comments