Skip to content

Commit a9de8a4

Browse files
committed
feat: update ui seepremium
1 parent ed87222 commit a9de8a4

File tree

1 file changed

+40
-11
lines changed

1 file changed

+40
-11
lines changed

src/containers/Landing/SeePremium.tsx

Lines changed: 40 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
import React from "react";
2-
import { Title, Image, Flex, Box, Button, Text, Paper, Container } from "@mantine/core";
2+
import {
3+
Title,
4+
Image,
5+
Flex,
6+
Box,
7+
Button,
8+
Text,
9+
Paper,
10+
Container,
11+
Mark,
12+
Avatar,
13+
Rating,
14+
Stack,
15+
} from "@mantine/core";
316
import styled from "styled-components";
417
import { FaArrowRightLong } from "react-icons/fa6";
518

@@ -11,16 +24,16 @@ const StyledImageWrapper = styled.div`
1124

1225
export const SeePremium = () => {
1326
return (
14-
<Container size="xl">
27+
<Container size="sm">
1528
<Paper
16-
py={12}
29+
py={20}
1730
px={30}
18-
bg="#202842"
31+
bg="#2a954a"
1932
id="premium"
2033
component="section"
2134
w="100%"
2235
style={{
23-
borderRadius: 20,
36+
borderRadius: 12,
2437
overflow: "hidden",
2538
}}
2639
>
@@ -34,21 +47,37 @@ export const SeePremium = () => {
3447
w="fit-content"
3548
loading="eager"
3649
/>
37-
<Title fz="20" fw="500" c="gray.2">
38-
Upgrade to ToDiagram
50+
<Title fz="20" fw="600" c="white">
51+
Upgrade to{" "}
52+
<Mark color="yellow.5" px="4" py="2" style={{ borderRadius: 4 }}>
53+
ToDiagram
54+
</Mark>
3955
</Title>
4056
</Flex>
4157

42-
<Text c="gray.4" fz="h3" mb="xl" maw={410}>
43-
Larger uploads, faster loading, beautiful diagrams and advanced tools.
58+
<Text c="gray.1" mb="sm" maw={410}>
59+
Try out the premium features of ToDiagram and create beautiful diagrams with ease.
4460
</Text>
61+
<Flex align="center" gap="sm">
62+
<Avatar.Group>
63+
<Avatar src="https://todiagram.com/images/landing/user-1.webp" alt="user" />
64+
<Avatar src="https://todiagram.com/images/landing/user-2.webp" alt="user" />
65+
<Avatar src="https://todiagram.com/images/landing/user-3.webp" alt="user" />
66+
</Avatar.Group>
67+
<Stack gap="0">
68+
<Rating color="yellow.5" value={5} readOnly />
69+
<Text c="white" fz="sm">
70+
Loved by 400+ users
71+
</Text>
72+
</Stack>
73+
</Flex>
4574
<Button
4675
component="a"
4776
href="https://todiagram.com"
4877
display="block"
4978
w="fit-content"
5079
miw={200}
51-
color="#fe5e49"
80+
color="yellow.5"
5281
size="md"
5382
mt="xl"
5483
rightSection={<FaArrowRightLong />}
@@ -59,7 +88,7 @@ export const SeePremium = () => {
5988
</Button>
6089
</Box>
6190

62-
<Box visibleFrom="xs">
91+
<Box visibleFrom="xs" style={{ alignSelf: "end" }}>
6392
<StyledImageWrapper>
6493
<Image
6594
mah="200"

0 commit comments

Comments
 (0)