'use client' import Image from 'next/image' import Link from 'next/link' import { useRouter } from 'next/navigation' import { ProjectGrid } from './project-grid' import { HubFooter } from './hub-footer' import type { Project } from '../lib/projects/types' function GitHubIcon({ className }: { className?: string }) { return ( ) } function XIcon({ className }: { className?: string }) { return ( ) } function YouTubeIcon({ className }: { className?: string }) { return ( ) } interface PublicProfilePageProps { profile: { id: string name: string image: string | null username: string githubUrl: string | null xUrl: string | null youtubeUrl: string | null } projects: Project[] } export function PublicProfilePage({ profile, projects }: PublicProfilePageProps) { const router = useRouter() return (