@@ -20,9 +20,13 @@ const router = createBrowserRouter([
20
20
element : < Layout /> ,
21
21
children : [
22
22
{
23
- path : "/browse " ,
23
+ path : "/" ,
24
24
element : < Browse /> ,
25
25
} ,
26
+ // {
27
+ // path: "/browse",
28
+ // element: <Browse />,
29
+ // },
26
30
{
27
31
path : "/browse/:extensionId" ,
28
32
element : < ExtensionBrowse /> ,
@@ -49,8 +53,8 @@ function Layout() {
49
53
50
54
// Définir les onglets et leurs routes
51
55
const navItems = [
52
- { path : "/" , icon : < FiBook /> , label : "Library" } ,
53
- { path : "/browse " , icon : < FiGlobe /> , label : "Browse" } ,
56
+ // { path: "/", icon: <FiBook />, label: "Library" },
57
+ { path : "/" , icon : < FiGlobe /> , label : "Browse" } ,
54
58
{ path : "/extensions" , icon : < FiGrid /> , label : "Extensions" } ,
55
59
{ path : "/more" , icon : < FiSettings /> , label : "More" } ,
56
60
] ;
@@ -62,7 +66,7 @@ function Layout() {
62
66
</ main >
63
67
{ /* Barre de navigation, shadow vers le haut */ }
64
68
< nav className = "w-full bg-base-200 px-2 border-t border-base-100 shadow-[rgba(0,_0,_0,_0.4)_0px_30px_90px]" >
65
- < div className = "grid grid-cols-4 max-w-xl mx-auto py-3" >
69
+ < div className = "grid grid-cols-3 max-w-xl mx-auto py-3" >
66
70
{ navItems . map ( ( item ) => (
67
71
< NavLink
68
72
key = { item . path }
0 commit comments