import { AccountMenuPane } from '@/Components/AccountMenu' import { Button } from '@/Components/Button/Button' import { PreferencesGroup, PreferencesSegment, Text, Title } from '@/Components/Preferences/PreferencesComponents' import { WebApplication } from '@/UIModels/Application' import { AppState } from '@/UIModels/AppState' import { observer } from 'mobx-react-lite' import { FunctionComponent } from 'preact' import { AccountIllustration } from '@standardnotes/icons' export const Authentication: FunctionComponent<{ application: WebApplication appState: AppState }> = observer(({ appState }) => { const clickSignIn = () => { appState.preferences.closePreferences() appState.accountMenu.setCurrentPane(AccountMenuPane.SignIn) appState.accountMenu.setShow(true) } const clickRegister = () => { appState.preferences.closePreferences() appState.accountMenu.setCurrentPane(AccountMenuPane.Register) appState.accountMenu.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.
) })