import { Card, Skeleton } from '../ui' import { t } from '@/lib/i18n' import type { AuthorPresentationArticle, Series } from '@/types/nostr' import { AuthorPageHeader } from './AuthorPageHeader' import { SponsoringSummary } from './SponsoringSummary' import { SeriesList } from './SeriesList' type AuthorPageContentProps = { presentation: AuthorPresentationArticle | null series: Series[] totalSponsoring: number authorPubkey: string loading: boolean error: string | null onSeriesCreated: () => void } function AuthorPageLoadingSkeleton(): React.ReactElement { return (
{error}
} function AuthorPageNotFound(): React.ReactElement { return ({t('author.notFound')}