import { ThemedText } from "@/components/themed-text"; import { ThemedView } from "@/components/themed-view"; import { IconSymbol } from "@/components/ui/icon-symbol"; import { Colors } from "@/constants/theme"; import { useTheme } from "@/context/ThemeContext"; import { useRouter } from "expo-router"; import React from "react"; import { useTranslation } from "react-i18next"; import { StyleSheet, TouchableOpacity } from "react-native"; import { SafeAreaView } from "react-native-safe-area-context"; export function HomeHeader() { const router = useRouter(); const { theme } = useTheme(); const { t } = useTranslation(); const iconColor = theme === "light" ? Colors.light.icon : Colors.dark.icon; return ( {t("home.title")} router.push("/search")} > router.push("/profile")} > ); } const styles = StyleSheet.create({ container: { paddingTop: 0, }, safeArea: { paddingBottom: 10, paddingHorizontal: 16, }, headerContent: { flexDirection: "row", alignItems: "center", justifyContent: "space-between", paddingTop: 8, }, title: { fontSize: 24, fontWeight: "bold", }, actions: { flexDirection: "row", gap: 16, alignItems: "center", }, iconButton: { padding: 4, }, });