import { useTranslation } from 'react-i18next' import { useState } from 'react' import Layout from '../components/Layout' import '../App.css' interface FriendLink { id: number name: string description: string url: string avatar?: string category: string } function Friends() { const { t } = useTranslation() const [selectedCategory, setSelectedCategory] = useState('All') // Mock friend links data const friendLinks: FriendLink[] = [ { id: 1, name: "Steam Profile", description: "Follow my gaming journey, see what I'm playing, and connect with me on Steam", url: "https://steamcommunity.com/profiles/76561198281616762", category: "Admin" }, { id: 2, name: "VRChat", description: "Join me in virtual reality! Explore worlds, hang out, and experience VR together", url: "https://vrchat.com/home/user/usr_621802be-d8eb-4e82-bea0-97463c0d1a57", category: "Admin" }, { id: 3, name: "GitHub", description: "Check out my code repositories, open source projects, and development work", url: "https://github.com/moemoequte", category: "Admin" } ] const categories = [...new Set(friendLinks.map(link => link.category))] // Filter friends based on selected category const filteredFriends = selectedCategory === 'All' ? friendLinks : friendLinks.filter(link => link.category === selectedCategory) return ( {/* Friends Page Content */}

{t('friends.title')}

{t('friends.subtitle')}

{/* Category Filter */}
{categories.map(category => ( ))}
{/* Friends Grid */}
{filteredFriends.map(friend => (
{ e.currentTarget.style.transform = 'translateY(-5px)' e.currentTarget.style.boxShadow = '0 10px 30px var(--accent-shadow)' }} onMouseLeave={(e) => { e.currentTarget.style.transform = 'translateY(0)' e.currentTarget.style.boxShadow = 'none' }} >
{friend.name.charAt(0)}

{friend.name}

{friend.category}

{friend.description}

{ e.currentTarget.style.background = 'var(--accent-color)' e.currentTarget.style.color = 'white' }} onMouseLeave={(e) => { e.currentTarget.style.background = 'transparent' e.currentTarget.style.color = 'var(--accent-color)' }} > {t('friends.visitSite')}
))}
{/* Call to Action */}

{t('friends.wantToJoin')}

{t('friends.joinDescription')}

{ e.currentTarget.style.transform = 'translateY(-2px)' }} onMouseLeave={(e) => { e.currentTarget.style.transform = 'translateY(0)' }} > {t('friends.contactUs')}
) } export default Friends