Skip to content

Commit

Permalink
mobile responsive footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeshau committed Nov 11, 2024
1 parent 00e5f39 commit 345809b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
21 changes: 17 additions & 4 deletions packages/app/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,19 @@ const Footer = () => {
borderColor="grey.100"
py={2}
bgcolor="white"

>
<Box
maxWidth="lg"
mx="auto"
px={2}
px={{xs:1, md:2}}
display="flex"
justifyContent="space-between"
alignItems="center"
>
{/* Left Side - Links */}
<Box display="flex" alignItems="center" gap={2}>
<Box display="flex" alignItems="center" gap={{xs:1, sm:2}}>
<Typography>
<Link
href="https://docs.prove.email/introduction"
target="_blank"
Expand All @@ -47,14 +49,18 @@ const Footer = () => {
>
Documentation
</Link>
</Typography>
<Typography color="grey.500"></Typography>
<Typography>
<Link
href="/privacy"
color="grey.900"
underline="hover"
noWrap={true}
>
Privacy Policy
</Link>
</Typography>
</Box>

{/* Right Side - Social Icons */}
Expand All @@ -76,8 +82,15 @@ const Footer = () => {
onMouseLeave={() => handleMouseLeave(icon.name as ImgNames)}
src={hoveredImgs[icon.name as ImgNames] ? icon.hoveredImgSrc : icon.imgSrc}
alt={icon.alt}
height={20}
width={20}
sx={{
height: {
xs: 15,
sm: 17,
md: 20,
lg: 25,
xl: 30,
}
}}
/>
</Link>
))}
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/TopBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Container = styled.div`
right: 0;
width: 100%;
padding: 16px;
background: #8742f5;
background: #68A3E9;
color: #fff;
font-weight: 500;
`;

0 comments on commit 345809b

Please sign in to comment.