Initial commit

Generated by create-expo-app 3.2.0.
This commit is contained in:
Dennis Hundertmark
2025-02-25 11:38:57 +01:00
commit 0e7f7e1dfd
31 changed files with 18794 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
import { COLORS } from "@/constants/colors";
import { Tabs } from "expo-router";
import { Ionicons } from "@expo/vector-icons";
import React from "react";
export default function RootLayout() {
return (
<Tabs
screenOptions={{
headerShadowVisible: false,
headerStyle: {
backgroundColor: COLORS.background,
},
headerTintColor: COLORS.text,
headerTitleStyle: {
fontWeight: "bold",
},
tabBarStyle: {
backgroundColor: COLORS.containerBackground,
borderTopColor: COLORS.text,
borderTopWidth: 1,
},
tabBarActiveTintColor: COLORS.text,
tabBarInactiveTintColor: COLORS.inactive,
}}
>
<Tabs.Screen
name={"index"}
options={{
href: null,
}}
></Tabs.Screen>
<Tabs.Screen
name="films"
options={{
title: "All Films",
headerShown: false,
tabBarLabel: "Films",
tabBarIcon: ({ color, size }) => (
<Ionicons name="film-outline" size={size} color={color} />
),
}}
></Tabs.Screen>
<Tabs.Screen
name="people"
options={{
title: "All Characters",
headerShown: false,
tabBarLabel: "People",
tabBarIcon: ({ color, size }) => (
<Ionicons name="person-outline" size={size} color={color} />
),
}}
></Tabs.Screen>
<Tabs.Screen
name="fav"
options={{
title: "Favorites",
tabBarIcon: ({ color, size }) => (
<Ionicons name="star-outline" size={size} color={color} />
),
}}
></Tabs.Screen>
</Tabs>
);
}