File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11import React from "react" ;
2- import { Text , Flex , Group , Select } from "@mantine/core" ;
2+ import { Flex , Group , Select , Button } from "@mantine/core" ;
33import styled from "styled-components" ;
44import toast from "react-hot-toast" ;
55import { 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 />
You can’t perform that action at this time.
0 commit comments