import { useState } from 'react' import Head from 'next/head' import { useRouter } from 'next/router' import { ConnectButton } from '@/components/ConnectButton' import { ArticleEditor } from '@/components/ArticleEditor' export default function PublishPage() { const router = useRouter() const [published, setPublished] = useState(false) const handlePublishSuccess = (articleId: string) => { setPublished(true) // Redirect to home page after a short delay setTimeout(() => { router.push('/') }, 2000) } return ( <> Publish Article - Nostr Paywall

Nostr Paywall

Publish New Article

Create an article with a free preview and paid full content

) }