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 publish = usePublish(); const navigate = useNavigate(); const { status, account } = useAccount(); const [loading, setLoading] = useState(false); const submit = async () => { try { setLoading(true); // publish event publish({ content: 'Running Lume, fighting for better future, join us here: 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 better future that we're fighting

If Lume gets your attention, please help us spread via button below

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

Running Lume, fighting for better future

join us here:{' '} https://lume.nu

Skip for now
); }