From 65dfe1279de4da5a633abec73c0dabeaf72cfd20 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 16 Jan 2023 12:04:48 +0800 Subject: [PATCH] Reduce layout shift from landing page feature graphic + login button --- .../landing/LandingSectionsContainer.tsx | 36 ++++++++----------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/packages/web/components/templates/landing/LandingSectionsContainer.tsx b/packages/web/components/templates/landing/LandingSectionsContainer.tsx index f9df8e2f7..0d2f762cb 100644 --- a/packages/web/components/templates/landing/LandingSectionsContainer.tsx +++ b/packages/web/components/templates/landing/LandingSectionsContainer.tsx @@ -1,38 +1,29 @@ -import Link from 'next/link' import { VStack, Box } from '../../elements/LayoutPrimitives' import { Button } from '../../elements/Button' -import { ArrowRight } from 'phosphor-react' import { LandingSection } from './LandingSection' const buttonStyles = { display: 'flex', borderRadius: 4, - px: 30, background: 'rgb(255, 210, 52)', color: '#3D3D3D', -} - -const arrowStyles = { - marginLeft: 10, - padding: 2, + width: '172px', + height: '42px', + alignItems: 'center', + justifyContent: 'center', } export function GetStartedButton(): JSX.Element { return ( - ) } @@ -115,6 +106,7 @@ export function LandingSectionsContainer(): JSX.Element { style={{ width: '85%', maxWidth: '85%', + aspectRatio: '2029 : 1293', }} />