diff --git a/front/apps/mobile/app/(app)/(tabs)/_layout.tsx b/front/apps/mobile/app/(app)/(tabs)/_layout.tsx new file mode 100644 index 00000000..d1cc32ff --- /dev/null +++ b/front/apps/mobile/app/(app)/(tabs)/_layout.tsx @@ -0,0 +1,50 @@ +/* + * Kyoo - A portable and vast media library solution. + * Copyright (c) Kyoo. + * + * See AUTHORS.md and LICENSE file in the project root for full license information. + * + * Kyoo is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * Kyoo is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Kyoo. If not, see . + */ + +import { Icon } from "@kyoo/primitives"; +import { Tabs } from "expo-router"; +import { useTheme } from "yoshiki/native"; +import Home from "@material-symbols/svg-400/rounded/home.svg"; +import Browse from "@material-symbols/svg-400/rounded/browse.svg"; + +export default function TabsLayout() { + return ( + + , + }} + /> + , + }} + /> + + ); +} diff --git a/front/apps/mobile/app/(app)/browse/index.tsx b/front/apps/mobile/app/(app)/(tabs)/browse.tsx similarity index 100% rename from front/apps/mobile/app/(app)/browse/index.tsx rename to front/apps/mobile/app/(app)/(tabs)/browse.tsx diff --git a/front/apps/mobile/app/(app)/index.tsx b/front/apps/mobile/app/(app)/(tabs)/index.tsx similarity index 96% rename from front/apps/mobile/app/(app)/index.tsx rename to front/apps/mobile/app/(app)/(tabs)/index.tsx index a70766eb..fb6a7dd1 100644 --- a/front/apps/mobile/app/(app)/index.tsx +++ b/front/apps/mobile/app/(app)/(tabs)/index.tsx @@ -19,7 +19,7 @@ */ import { HomePage } from "@kyoo/ui"; -import { withRoute } from "../utils"; +import { withRoute } from "../../utils"; export default withRoute(HomePage, { options: { headerTransparent: true, headerStyle: { backgroundColor: "transparent" } }, diff --git a/front/apps/mobile/app/(app)/_layout.tsx b/front/apps/mobile/app/(app)/_layout.tsx index 4412d2a8..f3f07f05 100644 --- a/front/apps/mobile/app/(app)/_layout.tsx +++ b/front/apps/mobile/app/(app)/_layout.tsx @@ -38,7 +38,6 @@ export default function SignGuard() { if (error) return ; if (!account) return ; - return (