Reduce prop scope

This commit is contained in:
Manav Rathi 2024-05-25 06:02:47 +05:30
parent e23bc2602f
commit 92a2506f8a
No known key found for this signature in database

View file

@ -115,7 +115,9 @@ export default function LandingPage() {
) : (
<>
<SlideContainer>
<EnteLogo height={24} sx={{ mb: 8 }} />
<Logo_>
<EnteLogo height={24} />
</Logo_>
<Slideshow />
</SlideContainer>
<MobileBox>
@ -174,6 +176,10 @@ const SlideContainer = styled("div")`
}
`;
const Logo_ = styled("div")`
margin-block-end: 64px;
`
const DesktopBox = styled("div")`
flex: 1;
height: 100%;