Skip to content

Commit a60c33d

Browse files
committed
hide library section for now
1 parent caf6752 commit a60c33d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/App.tsx

+8-4
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ const router = createBrowserRouter([
2020
element: <Layout />,
2121
children: [
2222
{
23-
path: "/browse",
23+
path: "/",
2424
element: <Browse />,
2525
},
26+
// {
27+
// path: "/browse",
28+
// element: <Browse />,
29+
// },
2630
{
2731
path: "/browse/:extensionId",
2832
element: <ExtensionBrowse />,
@@ -49,8 +53,8 @@ function Layout() {
4953

5054
// Définir les onglets et leurs routes
5155
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" },
5458
{ path: "/extensions", icon: <FiGrid />, label: "Extensions" },
5559
{ path: "/more", icon: <FiSettings />, label: "More" },
5660
];
@@ -62,7 +66,7 @@ function Layout() {
6266
</main>
6367
{/* Barre de navigation, shadow vers le haut */}
6468
<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">
6670
{navItems.map((item) => (
6771
<NavLink
6872
key={item.path}

0 commit comments

Comments
 (0)