import { View, Text, ScrollView, TouchableOpacity, TextInput } from 'react-native' import { useRouter } from 'expo-router' import { BottomNavBar } from '../src/components/BottomNavBar' import { usePlayerStore } from '../src/store/playerStore' export default function SearchScreen() { const router = useRouter() const currentSong = usePlayerStore(s => s.currentSong) const isPlaying = usePlayerStore(s => s.isPlaying) const togglePlay = usePlayerStore(s => s.togglePlay) const features = [ { id: 'music', name: 'Music', icon: '🎵', route: '/library' }, { id: 'new', name: 'New Music', icon: '✨', route: '/releases' }, { id: 'events', name: 'Live Events', icon: '🎪', route: '/' }, { id: 'radio', name: 'Internet Radio', icon: '📻', route: '/radio' }, { id: 'mood', name: 'Mood Radio', icon: '😊', route: '/mood' }, ] return ( router.push('/account' as any)} className="w-10 h-10 rounded-full bg-music-card items-center justify-center"> 👤 🔍 {features.map((f) => ( router.push(f.route as any)} className="flex-1 min-w-[30%] p-4 rounded-xl bg-music-card items-center"> {f.icon} {f.name} ))} Music Suggestions {[...Array(10)].map((_, i) => ( ))} Your Library {[1, 2, 3, 4].map((i) => ( Playlist {i} ))} {currentSong && ( {currentSong.title} {currentSong.artist} {isPlaying ? '⏸' : '▶️'} )} ) }