-
+
{isLaptop && (
-
+
Layout
@@ -86,10 +88,10 @@ const AccountManageSubscriptionPage = (): ReactElement => {
offLabel="Cards"
onLabel="List"
/>
-
+
)}
-
+
Density
@@ -119,9 +121,9 @@ const AccountManageSubscriptionPage = (): ReactElement => {
}}
reverse
/>
-
+
-
+
Preferences
@@ -149,9 +151,9 @@ const AccountManageSubscriptionPage = (): ReactElement => {
>
Show companion widget on external sites
-
+
-
+
Accessibility
@@ -163,8 +165,8 @@ const AccountManageSubscriptionPage = (): ReactElement => {
>
Auto-hide notifications after a few seconds
-
-
+
+
);
};
diff --git a/packages/webapp/pages/settings/composition.tsx b/packages/webapp/pages/settings/composition.tsx
new file mode 100644
index 0000000000..419fefa50d
--- /dev/null
+++ b/packages/webapp/pages/settings/composition.tsx
@@ -0,0 +1,65 @@
+import React from 'react';
+import type { ReactElement } from 'react';
+import type { NextSeoProps } from 'next-seo';
+
+import { useSettingsContext } from '@dailydotdev/shared/src/contexts/SettingsContext';
+import {
+ Typography,
+ TypographyType,
+} from '@dailydotdev/shared/src/components/typography/Typography';
+import type { RadioItemProps } from '@dailydotdev/shared/src/components/fields/Radio';
+import { Radio } from '@dailydotdev/shared/src/components/fields/Radio';
+
+import { WriteFormTab } from '@dailydotdev/shared/src/components/fields/form/common';
+import { FlexCol } from '@dailydotdev/shared/src/components/utilities';
+import { AccountPageContainer } from '../../components/layouts/SettingsLayout/AccountPageContainer';
+import { getSettingsLayout } from '../../components/layouts/SettingsLayout';
+import { defaultSeo } from '../../next-seo';
+import { getTemplatedTitle } from '../../components/layouts/utils';
+
+const defaultWriteTabs: RadioItemProps[] = Object.keys(WriteFormTab).map(
+ (key) => ({
+ label: WriteFormTab[key],
+ value: key,
+ }),
+);
+
+const AccountManageSubscriptionPage = (): ReactElement => {
+ const { updateFlag, flags } = useSettingsContext();
+
+ return (
+