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"; 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 ); }