From 3b7ad0fe19a72f53843a2c6f2f6f5444aad48f3d Mon Sep 17 00:00:00 2001 From: Rupin Khandelwal Date: Thu, 20 Oct 2022 18:35:44 -0500 Subject: [PATCH] Mobile Layout clean up --- packages/web/pages/settings/integrations.tsx | 124 +++++++++---------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/packages/web/pages/settings/integrations.tsx b/packages/web/pages/settings/integrations.tsx index 252cbc8ad..971ba8bf7 100644 --- a/packages/web/pages/settings/integrations.tsx +++ b/packages/web/pages/settings/integrations.tsx @@ -16,39 +16,17 @@ import { Button } from '../../components/elements/Button' // Styles const Header = styled(Box, { - //width: '100%', color: '$utilityTextDefault', fontSize: 'x-large', margin: '10px', }) -const Para = styled(Box, { - //width: '100%', +const Subheader = styled(Box, { padding: '20px', color: '$utilityTextDefault', borderBottom: '1px solid $grayLine', -}) - -const IntegrationCard = styled(Box, { - width: '100%', - borderRadius: '5px', - backgroundColor: '$grayBg', - margin: '10px 0', - padding: '20px', - display: 'flex', - justifyContent: 'space-between', - alignItems: 'center', -}) - -const IntegrationContent = styled(Box, { - width: '60%', - minWidth: '200px', - padding: '10px', - color: '$utilityTextDefault', - m: '10px', - 'h3, p': { - margin: '0', - }, + margin: '0 auto', + width: '80%', }) //interface @@ -115,17 +93,12 @@ export default function Integrations(): JSX.Element { top: '5rem', }} /> - -
Integrations
-
- - - - Connect with other applications can help enhance and streamline your - experience with Omnivore, below are some useful apps to connect your - Omnivore account to. - - +
Integrations
+ + Connect with other applications can help enhance and streamline your + experience with Omnivore, below are some useful apps to connect your + Omnivore account to. +
Applications
+ {integrationsArray.map((item) => { return ( - + integration Image - -

{item.title}

-

{item.subText}

-
- -
+ {item.button.icon} + + {item.button.text} + + + + ) })}