update upgrade buttons

This commit is contained in:
AykutSarac 2025-01-02 10:11:55 +03:00
parent f4faa3f140
commit 0494d7f070
No known key found for this signature in database
2 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,6 @@ import styled from "styled-components";
import toast from "react-hot-toast"; import toast from "react-hot-toast";
import { AiOutlineFullscreen } from "react-icons/ai"; import { AiOutlineFullscreen } from "react-icons/ai";
import { FiDownload } from "react-icons/fi"; import { FiDownload } from "react-icons/fi";
import { LuCrown } from "react-icons/lu";
import { type FileFormat, formats } from "src/enums/file.enum"; import { type FileFormat, formats } from "src/enums/file.enum";
import { SearchInput } from "src/features/editor/Toolbar/SearchInput"; import { SearchInput } from "src/features/editor/Toolbar/SearchInput";
import { JSONCrackLogo } from "src/layout/JsonCrackLogo"; import { JSONCrackLogo } from "src/layout/JsonCrackLogo";
@ -87,16 +86,16 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
{!isWidget && ( {!isWidget && (
<Button <Button
component="a" component="a"
href="https://todiagram.com/editor?utm_source=jsoncrack&utm_medium=toolbar" href="https://todiagram.com/?utm_source=jsoncrack&utm_medium=toolbar"
target="_blank" target="_blank"
color="green" variant="light"
color="gray"
size="compact-sm" size="compact-sm"
fz="12" fz="12"
fw="600" fw="600"
leftSection={<LuCrown />}
mr="6" mr="6"
> >
Unlock Pro Features JSON Crack v2.0 🔥
</Button> </Button>
)} )}
<SearchInput /> <SearchInput />

View File

@ -46,10 +46,11 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
</Button> </Button>
<Button <Button
component="a" component="a"
href="https://todiagram.com/editor?utm_source=jsoncrack&utm_medium=upgrade_modal" href="https://todiagram.com/?utm_source=jsoncrack&utm_medium=upgrade_modal"
target="_blank" target="_blank"
color="red" color="green"
size="md" size="md"
onClick={handleCloseModal}
leftSection={ leftSection={
<Image <Image
src="https://todiagram.com/logo.svg" src="https://todiagram.com/logo.svg"