Skip to content

Commit

Permalink
fix: padding
Browse files Browse the repository at this point in the history
  • Loading branch information
javinchua committed Feb 1, 2024
1 parent c31b796 commit 3069de3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/features/home/components/DefaultBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const DefaultBanner = () => {
return (
<Flex
px="1.5rem"
pt="2rem"
justifyContent="space-between"
alignItems="flex-end"
alignSelf="stretch"
Expand Down
1 change: 0 additions & 1 deletion src/features/home/components/NoteHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export const NoteHome = (): JSX.Element => {
return (
<Suspense fallback={<Skeleton height="100vh" />}>
<Flex
padding="2rem 0rem"
flexDirection="column"
alignItems="center"
gap="1.5rem"
Expand Down
4 changes: 2 additions & 2 deletions src/features/landing/components/LandingSection.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { type FC } from 'react'
import { Flex, type FlexProps } from '@chakra-ui/react'
import { type FC } from 'react'
import { AppGrid } from '~/templates/AppGrid'

export const LandingSection: FC<FlexProps> = ({ bg, children, ...props }) => {
return (
<AppGrid px="1.5rem" bg={bg}>
<Flex
gridColumn={{ base: '1 / -1', md: '2 / 12' }}
pt={{ base: '3.5rem', md: '5.5rem' }}
pt={{ base: '1rem', md: '5.5rem' }}
pb={{ base: '3.5rem', md: '5.5rem' }}
flexDir="column"
{...props}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Image, Stack, Text } from '@chakra-ui/react'
export const EmptyMyNoteList = () => {
return (
<Stack p="1rem">
<Stack>
<Image src="/assets/Empty-MyNotes.svg" alt="Empty Notes Received" />
<Stack gap="0.25rem" justifyContent="center" alignItems="center">
<Text textStyle="subhead-1">No notes written ... yet</Text>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const LandingPage = () => {
<>
<Box bgGradient="linear(78deg, #FFF0FD 4.62%, #FAFBFC 89.25%)">
<AppNavbar />
<LandingSection p="4.5rem 9.25rem 6 rem 9.25rem">
<LandingSection>
<Stack
direction={{ base: 'column', lg: 'row' }}
align="center"
Expand Down Expand Up @@ -61,7 +61,7 @@ const LandingPage = () => {
delivered when they are most needed.
</SectionBodyText>
</Stack>
<Box mt="2.5rem">
<Box>
<SignInContextProvider>
<SgidLoginButton />
</SignInContextProvider>
Expand Down

0 comments on commit 3069de3

Please sign in to comment.