Skip to content

Commit 9016c45

Browse files
committed
fix: adjust style
1 parent 7fdb5d0 commit 9016c45

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/app/cloak/Hero/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ const CloakHero = () => {
2626
flexDirection: ["column", "column", "column", "row"],
2727
justifyContent: "space-between",
2828
alignItems: "center",
29-
gap: "60px",
29+
gap: ["1.2rem", "1.2rem", "6rem"],
3030
pt: "5%",
31+
32+
pb: ["4rem", 0],
3133
}}
3234
>
3335
<Stack direction="column" sx={{ gap: ["1.2rem", "3rem"], maxWidth: ["auto", "78rem"] }}>

src/app/cloak/LearnMore/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { Box, Container } from "@mui/material"
44

55
import Button from "@/components/Button"
6-
import { CLOAK_HERO_LINKS } from "@/constants"
6+
import { CLOAK_SIGNUP_URL } from "@/constants"
77
import useCheckViewport from "@/hooks/useCheckViewport"
88

99
const LearnMore = () => {
@@ -16,8 +16,8 @@ const LearnMore = () => {
1616
justifyContent: "center",
1717
}}
1818
>
19-
<Button target="_blank" size={isMobile ? "small" : "medium"} whiteButton href={CLOAK_HERO_LINKS[0].href} className="!w-[280px] md:!w-[340px]">
20-
Learn more about Cloak’s design
19+
<Button target="_blank" width="250px" whiteButton href={CLOAK_SIGNUP_URL}>
20+
Sign up for demo
2121
</Button>
2222
</Container>
2323
</Box>

src/app/cloak/SectionWrapper/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ const SectionWrapper = (props: SectionWrapperProps) => {
1818
<Typography
1919
sx={{
2020
typography: "title",
21-
fontSize: ["2.4rem", "3.2rem"],
21+
fontSize: ["2.8rem", "3.2rem"],
2222
lineHeight: 1.4,
23+
maxWidth: ["30rem", "30rem", "unset"],
2324
color,
2425
}}
2526
>
82 Bytes
Loading

0 commit comments

Comments
 (0)