From f6ca7ef2b1f358f145e9123372f714557dd4d65a Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Fri, 12 Nov 2021 22:51:29 +0530 Subject: [PATCH] feat: Use new design for signed out pane in preferences (#734) --- .../panes/account/Authentication.tsx | 41 ++++++++----------- app/assets/stylesheets/_sn.scss | 4 ++ app/assets/svg/il-account.svg | 25 +++++++++++ 3 files changed, 47 insertions(+), 23 deletions(-) create mode 100644 app/assets/svg/il-account.svg diff --git a/app/assets/javascripts/preferences/panes/account/Authentication.tsx b/app/assets/javascripts/preferences/panes/account/Authentication.tsx index 72e1e27f6..42a5050d0 100644 --- a/app/assets/javascripts/preferences/panes/account/Authentication.tsx +++ b/app/assets/javascripts/preferences/panes/account/Authentication.tsx @@ -3,7 +3,6 @@ import { Button } from '@/components/Button'; import { PreferencesGroup, PreferencesSegment, - Subtitle, Text, Title, } from '@/preferences/components'; @@ -11,6 +10,7 @@ import { WebApplication } from '@/ui_models/application'; import { AppState } from '@/ui_models/app_state'; import { observer } from 'mobx-react-lite'; import { FunctionComponent } from 'preact'; +import AccountIllustration from '../../../../svg/il-account.svg'; export const Authentication: FunctionComponent<{ application: WebApplication; @@ -32,32 +32,27 @@ export const Authentication: FunctionComponent<{
+ You're not signed in - + Sign in to sync your notes and preferences across all your devices and enable end-to-end encryption. - -
-
-
-
- - Standard Notes is free on every platform, and comes standard with - sync and encryption. + +
diff --git a/app/assets/stylesheets/_sn.scss b/app/assets/stylesheets/_sn.scss index 86134d453..8d827f80e 100644 --- a/app/assets/stylesheets/_sn.scss +++ b/app/assets/stylesheets/_sn.scss @@ -24,6 +24,10 @@ display: none; } +.underline { + text-decoration: underline; +} + .hover\:underline:hover { text-decoration: underline; } diff --git a/app/assets/svg/il-account.svg b/app/assets/svg/il-account.svg new file mode 100644 index 000000000..0b31b807f --- /dev/null +++ b/app/assets/svg/il-account.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file