init tab menu and first screen
This commit is contained in:
22
ArtisanConnect/app/(tabs)/index.jsx
Normal file
22
ArtisanConnect/app/(tabs)/index.jsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import { View, Text } from "react-native";
|
||||
import { Link } from "expo-router";
|
||||
import { Button, ButtonText } from "@/components/ui/button";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<View>
|
||||
<Text>Home</Text>
|
||||
<Link href="/notices" asChild>
|
||||
<Button>
|
||||
<ButtonText>Ogłoszenia</ButtonText>
|
||||
</Button>
|
||||
</Link>
|
||||
|
||||
<Link href="/wishlist" asChild>
|
||||
<Button variant="outline" className="mt-2">
|
||||
<ButtonText>Ulubione</ButtonText>
|
||||
</Button>
|
||||
</Link>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user