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 {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] const {user, refetch} = useGlobalContext(); return ( good morning {user?.name} featured see all ); }