import { Stack } from 'expo-router';
import { useTranslation } from 'react-i18next';

export default function OnboardingLayout() {
  const { t } = useTranslation();

  return (
    <Stack
      screenOptions={{
        headerTitleAlign: 'center',
        headerShown: false, // 隐藏原生导航栏，使用自定义布局
      }}
    >
      <Stack.Screen name="onboarding" options={{ title: t('onboarding.title') }} />
      <Stack.Screen name="push-prompt" options={{ title: t('push.title') }} />
    </Stack>
  );
}

