This commit is contained in:
amel
2025-02-25 15:09:41 +08:00
parent 46508b9f05
commit 31b85dad69
37 changed files with 421 additions and 699 deletions

View File

@@ -0,0 +1,14 @@
import { Headers } from "@/constants/Headers";
import { Stack } from "expo-router";
import { StatusBar } from 'expo-status-bar';
export default function RootLayout() {
return (
<>
<Stack screenOptions={Headers.shadow}>
<Stack.Screen name="home" options={{ title: 'Home' }} />
</Stack>
<StatusBar style="light" />
</>
)
}

View File

@@ -0,0 +1,22 @@
import CaraouselHome from "@/components/home/carouselHome";
import { HeaderRightHome } from "@/components/home/headerRightHome";
import { Stack } from "expo-router";
import { SafeAreaView, ScrollView } from "react-native";
export default function Home() {
return (
<SafeAreaView>
<Stack.Screen
options={{
title: 'Home',
headerLeft: () => <></>,
headerTitle: 'Darmasaba',
headerRight: () => <HeaderRightHome />
}}
/>
<ScrollView>
<CaraouselHome/>
</ScrollView>
</SafeAreaView>
)
}