import { useState } from 'react'; import { Link, useNavigate } from 'react-router-dom'; import { LoaderIcon } from '@shared/icons'; import { ArrowRightCircleIcon } from '@shared/icons/arrowRightCircle'; import { User } from '@shared/user'; import { useAccount } from '@utils/hooks/useAccount'; import { usePublish } from '@utils/hooks/usePublish'; export function OnboardingScreen() { const navigate = useNavigate(); const { publish } = usePublish(); const { status, account } = useAccount(); const [loading, setLoading] = useState(false); const submit = async () => { try { setLoading(true); // publish event publish({ content: 'Running Lume, join with me #nostr #lume : https://lume.nu', kind: 1, tags: [], }); // redirect to home setTimeout(() => navigate('/', { replace: true }), 1200); } catch (error) { console.log(error); } }; return (

👋 Hello, welcome you to Lume

You're a part of Nostr community now

If Lume gets your attention, please help us spread it and don't forget invite your friend join with you, we can have fun togother

{status === 'success' && ( )}

Running Lume, join with me #nostr #lume

https://lume.nu
Skip
); }