Mangane/app/soapbox/features/enlistment/steps/step3.tsx

71 lines
3.9 KiB
TypeScript

import React from 'react';
import { FormattedMessage } from 'react-intl';
import Icon from './../../../components/icon';
const Step3: React.FC = () => {
return (
<div className="enlistment__step3 mx-auto py-10 px-5">
<div>
<h3 className="text-2xl font-bold">
<FormattedMessage id="enlistment.step3.title" defaultMessage="Privacy" />
</h3>
<p>
<FormattedMessage id="enlistment.step3.description" defaultMessage="This site offers precise control over who can see your posts and therefore interact with you." />
</p>
</div>
<div className="mt-10">
<div className='flex gap-4'>
<div className='flex-grow-1 w-1/2'>
<h4 className="items-center text-xl font-bold">
<Icon className="inline-block align-middle mr-1 w-6 h-6" src={require("@tabler/icons/world.svg")} />
<span className='align-middle'>
<FormattedMessage id="enlistment.step3.public-title" defaultMessage="Public" />
</span>
</h4>
<p>
<FormattedMessage id="enlistment.step3.public-description" defaultMessage="The post is displayed on all feeds, including other instances." />
</p>
</div>
<div className="flex-grow-1 w-1/2">
<h4 className='items-center text-xl font-bold'>
<Icon className='inline-block align-middle mr-1 w-6 h-6' src={require("@tabler/icons/lock-open.svg")} />
<span className='align-middle'>
<FormattedMessage id="enlistment.step3.unlisted-title" defaultMessage="Unlisted" />
</span>
</h4>
<p>
<FormattedMessage id="enlistment.step3.unlisted-description" defaultMessage="The post is public but only appears in your subscribers' feeds and on your profile" />
</p>
</div>
</div>
<div className='mt-10 flex gap-4'>
<div className='flex-grow-1 w-1/2'>
<h4 className='items-center text-xl font-bold'>
<Icon className='inline-block align-middle mr-1 w-6 h-6' src={require("@tabler/icons/lock.svg")} />
<span className='align-middle'>
<FormattedMessage id="enlistment.step3.followers-title" defaultMessage="Followers only" />
</span>
</h4>
<p>
<FormattedMessage id="enlistment.step3.followers-description" defaultMessage="The post is not displayed on any public feeds and is only visible to people who follow you" />
</p>
</div>
<div className='flex-grow-1 w-1/2'>
<h4 className='items-center text-xl font-bold'>
<Icon className='inline-block align-middle mr-1 w-6 h-6' src={require("@tabler/icons/mail.svg")} />
<span className='align-middle'>
<FormattedMessage id="enlistment.step3.direct-title" defaultMessage="Direct" />
</span>
</h4>
<p>
<FormattedMessage id="enlistment.step3.direct-description" defaultMessage="The post is only visible to people mentioned via @username@instance" />
</p>
</div>
</div>
</div>
</div>
)
};
export default Step3;