featured card implemented with dummy data

This commit is contained in:
dimitar committed 2025-01-06 11:40:03 +01:00
1 parent fb090fca55
commit c63b872c28
3 files changed
+47 -8

No files matched your search

+4 -1
View File
@@ -2,9 +2,9 @@ import { Link } from "expo-router";
import {Image, SafeAreaView, Text, TouchableOpacity, View} from "react-native";
import images from "@/constants/images";
import icons from "@/constants/icons";
import search from "@/components/Search";
import Search from "@/components/Search";
import {useGlobalContext} from "@/lib/globalProvider";
import {Card, FeaturedCard} from "@/components/Cards";
export default function Index() {
// create func that determines the time od day [morning, evening, night]
@@ -31,6 +31,9 @@ export default function Index() {
<Text className={'capitalize text-base text-blue-500'}>see all</Text>
</TouchableOpacity>
</View>
<FeaturedCard/>
<Card/>
</View>
</View>
</SafeAreaView>