import Head from 'next/head' import type { Article } from '@/types/nostr' import type { ArticleFilters } from '@/components/ArticleFilters' import type { NostrProfile } from '@/types/nostr' import { ProfileHeader } from '@/components/ProfileHeader' import { BackButton } from '@/components/ProfileBackButton' import { UserProfile } from '@/components/UserProfile' import { ProfileArticlesSection } from '@/components/ProfileArticlesSection' interface ProfileViewProps { currentPubkey: string profile: NostrProfile | null loadingProfile: boolean searchQuery: string setSearchQuery: (value: string) => void filters: ArticleFilters setFilters: (value: ArticleFilters) => void articles: Article[] allArticles: Article[] loading: boolean error: string | null loadArticleContent: (id: string, pubkey: string) => Promise
selectedSeriesId?: string | undefined onSelectSeries: (seriesId: string | undefined) => void } function ProfileLoading() { return (

Loading profile...

) } function ProfileLayout(props: ProfileViewProps) { const articleFiltersVisible = !props.loading && props.allArticles.length > 0 return ( <> ) } function ProfileHeaderSection({ loadingProfile, profile, currentPubkey, articleCount, }: { loadingProfile: boolean profile: NostrProfile | null currentPubkey: string articleCount: number }) { return ( <> {loadingProfile ? ( ) : profile ? ( ) : null} ) } export function ProfileView(props: ProfileViewProps) { return ( <>
) } function ProfileHead() { return ( My Profile - zapwall4Science ) }