import { View, Text, Image } from "react-native";

interface AuthHeaderProps {
  title?: string;
}

export const AuthHeader = ({ title = "Bird Eye View" }: AuthHeaderProps) => {
  return (
    <View style={{ alignItems: "center", marginBottom: 36 }}>
      <Image
        source={require("../../assets/images/logo_no_background.png")}
        style={{ width: 80, height: 80, marginBottom: 16 }}
        resizeMode="contain"
      />
      <Text
        style={{
          fontSize: 28,
          fontWeight: "bold",
          color: "white",
          marginBottom: 4,
        }}
      >
        {title}
      </Text>
    </View>
  );
};
