Skip to content

Commit

Permalink
hide library section for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sehnryr committed Dec 14, 2024
1 parent caf6752 commit a60c33d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ const router = createBrowserRouter([
element: <Layout />,
children: [
{
path: "/browse",
path: "/",
element: <Browse />,
},
// {
// path: "/browse",
// element: <Browse />,
// },
{
path: "/browse/:extensionId",
element: <ExtensionBrowse />,
Expand All @@ -49,8 +53,8 @@ function Layout() {

// Définir les onglets et leurs routes
const navItems = [
{ path: "/", icon: <FiBook />, label: "Library" },
{ path: "/browse", icon: <FiGlobe />, label: "Browse" },
// { path: "/", icon: <FiBook />, label: "Library" },
{ path: "/", icon: <FiGlobe />, label: "Browse" },
{ path: "/extensions", icon: <FiGrid />, label: "Extensions" },
{ path: "/more", icon: <FiSettings />, label: "More" },
];
Expand All @@ -62,7 +66,7 @@ function Layout() {
</main>
{/* Barre de navigation, shadow vers le haut */}
<nav className="w-full bg-base-200 px-2 border-t border-base-100 shadow-[rgba(0,_0,_0,_0.4)_0px_30px_90px]">
<div className="grid grid-cols-4 max-w-xl mx-auto py-3">
<div className="grid grid-cols-3 max-w-xl mx-auto py-3">
{navItems.map((item) => (
<NavLink
key={item.path}
Expand Down

0 comments on commit a60c33d

Please sign in to comment.