From f7d274954c1860d4b34669a731fe398f2447ea85 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 5 May 2022 18:46:16 -0500 Subject: [PATCH] SoapboxConfig: reorganize and add headings --- app/soapbox/features/soapbox_config/index.tsx | 49 +++++++++++++++---- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/app/soapbox/features/soapbox_config/index.tsx b/app/soapbox/features/soapbox_config/index.tsx index 760616453..e734f1b87 100644 --- a/app/soapbox/features/soapbox_config/index.tsx +++ b/app/soapbox/features/soapbox_config/index.tsx @@ -7,7 +7,17 @@ import { updateConfig } from 'soapbox/actions/admin'; import { uploadMedia } from 'soapbox/actions/media'; import snackbar from 'soapbox/actions/snackbar'; import List, { ListItem } from 'soapbox/components/list'; -import { Column, Form, FormActions, FormGroup, Input, Textarea, Button } from 'soapbox/components/ui'; +import { + Column, + CardHeader, + CardTitle, + Form, + FormActions, + FormGroup, + Input, + Textarea, + Button, +} from 'soapbox/components/ui'; import Streamfield from 'soapbox/components/ui/streamfield/streamfield'; import ThemeSelector from 'soapbox/features/ui/components/theme-selector'; import { useAppSelector, useAppDispatch } from 'soapbox/hooks'; @@ -197,6 +207,10 @@ const SoapboxConfig: React.FC = () => { /> + + } /> + + }> { - - e.target.value)} - /> - + + } /> + @@ -246,7 +255,6 @@ const SoapboxConfig: React.FC = () => { /> - { )} + + } /> + + } hint={} @@ -306,6 +318,19 @@ const SoapboxConfig: React.FC = () => { onRemoveItem={deleteStreamItem(['navlinks', 'homeFooter'])} /> + + e.target.value)} + /> + + + + } /> + + } hint={} @@ -327,6 +352,10 @@ const SoapboxConfig: React.FC = () => { /> + + } /> + +