import Button from '@/Components/Button/Button' import { Text, Title } from '@/Components/Preferences/PreferencesComponents/Content' import { WebApplication } from '@/Application/Application' import { ViewControllerManager } from '@/Services/ViewControllerManager' import { observer } from 'mobx-react-lite' import { FunctionComponent } from 'react' import { AccountIllustration } from '@standardnotes/icons' import { AccountMenuPane } from '@/Components/AccountMenu/AccountMenuPane' import PreferencesGroup from '../../PreferencesComponents/PreferencesGroup' import PreferencesSegment from '../../PreferencesComponents/PreferencesSegment' type Props = { application: WebApplication viewControllerManager: ViewControllerManager } const Authentication: FunctionComponent = ({ viewControllerManager }) => { const clickSignIn = () => { viewControllerManager.preferencesController.closePreferences() viewControllerManager.accountMenuController.setCurrentPane(AccountMenuPane.SignIn) viewControllerManager.accountMenuController.setShow(true) } const clickRegister = () => { viewControllerManager.preferencesController.closePreferences() viewControllerManager.accountMenuController.setCurrentPane(AccountMenuPane.Register) viewControllerManager.accountMenuController.setShow(true) } return (
You're not signed in Sign in to sync your notes and preferences across all your devices and enable end-to-end encryption.
) } export default observer(Authentication)