From ee0ee7936b917bebeb30df496e19aac9d5230e93 Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Sun, 26 Jan 2025 08:51:51 +0530 Subject: [PATCH] online backup - WIP --- .../settings/encryption/Encryption.tsx | 25 ++------------- .../settings/encryption/OnlineBackup.tsx | 31 +++++++++++++++++++ 2 files changed, 34 insertions(+), 22 deletions(-) create mode 100644 src/app/features/settings/encryption/OnlineBackup.tsx diff --git a/src/app/features/settings/encryption/Encryption.tsx b/src/app/features/settings/encryption/Encryption.tsx index 599ed106..1125cc69 100644 --- a/src/app/features/settings/encryption/Encryption.tsx +++ b/src/app/features/settings/encryption/Encryption.tsx @@ -1,10 +1,11 @@ import React from 'react'; -import { Box, Text, IconButton, Icon, Icons, Scroll, Button } from 'folds'; +import { Box, Text, IconButton, Icon, Icons, Scroll } from 'folds'; import { Page, PageContent, PageHeader } from '../../../components/page'; import { SequenceCard } from '../../../components/sequence-card'; import { SequenceCardStyle } from '../styles.css'; import { SettingTile } from '../../../components/setting-tile'; import { LocalBackup } from './LocalBackup'; +import { OnlineBackup } from './OnlineBackup'; type EncryptionProps = { requestClose: () => void; @@ -44,27 +45,7 @@ export function Encryption({ requestClose }: EncryptionProps) { /> - - Online Backup - - - - Restore - - - } - /> - - + diff --git a/src/app/features/settings/encryption/OnlineBackup.tsx b/src/app/features/settings/encryption/OnlineBackup.tsx new file mode 100644 index 00000000..74c1a9f6 --- /dev/null +++ b/src/app/features/settings/encryption/OnlineBackup.tsx @@ -0,0 +1,31 @@ +import React from 'react'; +import { Box, Text, Button } from 'folds'; +import { SettingTile } from '../../../components/setting-tile'; +import { SequenceCard } from '../../../components/sequence-card'; +import { SequenceCardStyle } from '../styles.css'; + +export function OnlineBackup() { + return ( + + Online Backup + + + + Restore + + + } + /> + + + ); +}