File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import styled from "styled-components";
4
4
import toast from "react-hot-toast" ;
5
5
import { AiOutlineFullscreen } from "react-icons/ai" ;
6
6
import { FiDownload } from "react-icons/fi" ;
7
- import { LuCrown } from "react-icons/lu" ;
8
7
import { type FileFormat , formats } from "src/enums/file.enum" ;
9
8
import { SearchInput } from "src/features/editor/Toolbar/SearchInput" ;
10
9
import { JSONCrackLogo } from "src/layout/JsonCrackLogo" ;
@@ -87,16 +86,16 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
87
86
{ ! isWidget && (
88
87
< Button
89
88
component = "a"
90
- href = "https://todiagram.com/editor ?utm_source=jsoncrack& utm_medium = toolbar "
89
+ href = "https://todiagram.com/?utm_source=jsoncrack& utm_medium = toolbar "
91
90
target = "_blank"
92
- color = "green"
91
+ variant = "light"
92
+ color = "gray"
93
93
size = "compact-sm"
94
94
fz = "12"
95
95
fw = "600"
96
- leftSection = { < LuCrown /> }
97
96
mr = "6"
98
97
>
99
- Unlock Pro Features
98
+ JSON Crack v2.0 🔥
100
99
</ Button >
101
100
) }
102
101
< SearchInput />
Original file line number Diff line number Diff line change @@ -46,10 +46,11 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
46
46
</ Button >
47
47
< Button
48
48
component = "a"
49
- href = "https://todiagram.com/editor ?utm_source=jsoncrack& utm_medium = upgrade_modal "
49
+ href = "https://todiagram.com/?utm_source=jsoncrack& utm_medium = upgrade_modal "
50
50
target = "_blank"
51
- color = "red "
51
+ color = "green "
52
52
size = "md"
53
+ onClick = { handleCloseModal }
53
54
leftSection = {
54
55
< Image
55
56
src = "https://todiagram.com/logo.svg"
You can’t perform that action at this time.
0 commit comments