feat: add Settings/Accounts/Emails Emails Sync section with empty state (#2941)

Closes #2823
This commit is contained in:
Thaïs 2023-12-12 12:21:10 +01:00 committed by GitHub
parent 4afa277690
commit 3ed92b2f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
import { H2Title } from '@/ui/display/typography/components/H2Title';
import { Section } from '@/ui/layout/section/components/Section';
import { SettingsAccountsEmptyStateCard } from './SettingsAccountsEmptyStateCard';
export const SettingsAccountsEmailsSyncSection = () => (
<Section>
<H2Title
title="Emails sync"
description="Sync your inboxes and set your privacy settings"
/>
<SettingsAccountsEmptyStateCard />
</Section>
);

View File

@ -1,3 +1,4 @@
import { SettingsAccountsEmailsSyncSection } from '@/settings/accounts/components/SettingsAccountsEmailsSyncSection';
import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
import { IconSettings } from '@/ui/display/icon';
import { SubMenuTopBarContainer } from '@/ui/layout/page/SubMenuTopBarContainer';
@ -12,6 +13,7 @@ export const SettingsAccountsEmails = () => (
{ children: 'Emails' },
]}
/>
<SettingsAccountsEmailsSyncSection />
</SettingsPageContainer>
</SubMenuTopBarContainer>
);