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:
parent
fe48440a27
commit
b052900e5d
@ -22,7 +22,14 @@ export function ConditionalPublishButton() {
|
|||||||
}, [connected, pubkey, checkPresentationExists])
|
}, [connected, pubkey, checkPresentationExists])
|
||||||
|
|
||||||
if (!connected || !pubkey) {
|
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) {
|
if (hasPresentation === null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user