diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx index b1b7df2..7a592e9 100644 --- a/app/(tabs)/_layout.tsx +++ b/app/(tabs)/_layout.tsx @@ -24,9 +24,6 @@ export default function TabLayout() { ( ), }} /> - {/* null,tabBarIcon: ({ color, focused }) => ( - - ),}} /> */} ( ),}} /> diff --git a/app/_layout.tsx b/app/_layout.tsx index 9a25930..b29c0fc 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -10,8 +10,20 @@ MD3LightTheme; export default function RootLayout() { return ( - + + ); diff --git a/app/(tabs)/location/[id].js b/app/location/[id].js similarity index 90% rename from app/(tabs)/location/[id].js rename to app/location/[id].js index fa54733..209184b 100644 --- a/app/(tabs)/location/[id].js +++ b/app/location/[id].js @@ -17,11 +17,14 @@ export default function Location() { return ( - + - Opis + {location.name} + + + Opis: {location.longDescription} @@ -30,7 +33,7 @@ export default function Location() { - Statystyki + Statystyki: Powierzchnia: {location.area} km² diff --git a/tsconfig.json b/tsconfig.json index 5917152..b075e25 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,5 +15,5 @@ "**/*.ts", "**/*.tsx", "**/*.jsx" -, "app/(tabs)/location/[id].js" ] +, "app/location/[id].jss" ] }