import { Stack } from "expo-router";
import { LIGTHT_THEME } from "../../../../src/constants/theme";

export default function Layout() {
    return (
        <Stack>
            <Stack.Screen name="[townId]/index" options={{
                title: "Select an activity",
                headerStyle: {
                    backgroundColor: LIGTHT_THEME.color.primary,
                },
                headerTitleStyle: {
                    color: LIGTHT_THEME.color.white,
                },
                headerTitleAlign: "center",
                headerTintColor: LIGTHT_THEME.color.white,
            }}/>
            <Stack.Screen name="[townId]/activity" options={{
                headerShown: false
            }}/>
        </Stack>
    );
}