import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { useSelector } from 'react-redux'; import VerificationBadge from 'soapbox/components/verification_badge'; import { Button, Card, CardBody, Stack, Text } from '../../components/ui'; const LandingPage = () => { const instance = useSelector((state) => state.get('instance')); const isOpen = useSelector(state => state.getIn(['verification', 'instance', 'registrations'], false) === true); const renderClosed = () => { return ( ); }; return ( {instance.title} {instance.description} {isOpen ? ( Let's get started! Social Media Without Discrimination Create an account ) : renderClosed()} ); }; export default LandingPage;