Skip to content

Commit e67801c

Browse files
committed
feat: update upgrade texts
1 parent d614bf9 commit e67801c

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

src/containers/Modals/UpgradeModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
100100
size="md"
101101
radius="md"
102102
>
103-
Upgrade to ToDiagram
103+
Try premium for free
104104
</Button>
105105
<Button size="md" variant="subtle" color="gray" radius="md" onClick={onClose}>
106106
Maybe later

src/containers/Toolbar/index.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { Text, Flex, Group, Select } from "@mantine/core";
2+
import { Flex, Group, Select, Button } from "@mantine/core";
33
import styled from "styled-components";
44
import toast from "react-hot-toast";
55
import { AiOutlineFullscreen } from "react-icons/ai";
@@ -86,14 +86,16 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
8686
)}
8787
<Group gap="xs" justify="right" w="100%" style={{ flexWrap: "nowrap" }}>
8888
{!isWidget && (
89-
<StyledToolElement onClick={() => setVisible("upgrade")(true)} $highlight>
90-
<Flex align="center" gap="6">
91-
<LuCrown size="16" />
92-
<Text c="bright" fw={600} fz="xs">
93-
Unlock advanced features
94-
</Text>
95-
</Flex>
96-
</StyledToolElement>
89+
<Button
90+
color="gray"
91+
variant="light"
92+
size="compact-sm"
93+
fz="12"
94+
onClick={() => setVisible("upgrade")(true)}
95+
leftSection={<LuCrown />}
96+
>
97+
Try premium for free
98+
</Button>
9799
)}
98100

99101
<SearchInput />

0 commit comments

Comments
 (0)