import { Link } from "expo-router";
import {Image, SafeAreaView, Text, View} from "react-native";
import images from "@/constants/images";
import icons from "@/constants/icons";
import search from "@/components/Search";
import Search from "@/components/Search";

export default function Index() {
  return (
      <SafeAreaView className={'bg-white h-full'}>
          <View className={'px-5'}>
              <View className={'flex flex-row items-center justify-between mt-5'}>
                  <View className={'flex flex-row items-cente'}>
                      <Image source={images.car1} className={'rounded-full size-24'}/>
                      <View className={'flex flex-col items-start ml-2 justify-center'}>
                          <Text>good morning</Text>
                          <Text>pero</Text>
                      </View>
                  </View>
                  <Image source={icons.bell} className={'size-6'}/>
              </View>
          </View>

          <Search />
      </SafeAreaView>
  );
}
