Show 'Create author page' button even when not connected

- Display button for creating author page even when user is not connected
- Button redirects to /presentation page
- Improves discoverability of author page creation feature
This commit is contained in:
Nicolas Cantu 2025-12-27 23:14:34 +01:00
parent fe48440a27
commit b052900e5d

View File

@ -22,7 +22,14 @@ export function ConditionalPublishButton() {
}, [connected, pubkey, checkPresentationExists])
if (!connected || !pubkey) {
return null
return (
<Link
href="/presentation"
className="px-4 py-2 bg-neon-cyan/20 hover:bg-neon-cyan/30 text-neon-cyan rounded-lg text-sm font-medium transition-all border border-neon-cyan/50 hover:shadow-glow-cyan"
>
{t('nav.createAuthorPage')}
</Link>
)
}
if (hasPresentation === null) {