Skip to content

Commit

Permalink
update upgrade buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Jan 2, 2025
1 parent f4faa3f commit 0494d7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 4 additions & 5 deletions src/features/editor/Toolbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import styled from "styled-components";
import toast from "react-hot-toast";
import { AiOutlineFullscreen } from "react-icons/ai";
import { FiDownload } from "react-icons/fi";
import { LuCrown } from "react-icons/lu";
import { type FileFormat, formats } from "src/enums/file.enum";
import { SearchInput } from "src/features/editor/Toolbar/SearchInput";
import { JSONCrackLogo } from "src/layout/JsonCrackLogo";
Expand Down Expand Up @@ -87,16 +86,16 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
{!isWidget && (
<Button
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"
color="green"
variant="light"
color="gray"
size="compact-sm"
fz="12"
fw="600"
leftSection={<LuCrown />}
mr="6"
>
Unlock Pro Features
JSON Crack v2.0 🔥
</Button>
)}
<SearchInput />
Expand Down
5 changes: 3 additions & 2 deletions src/features/modals/UpgradeModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
</Button>
<Button
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"
color="red"
color="green"
size="md"
onClick={handleCloseModal}
leftSection={
<Image
src="https://todiagram.com/logo.svg"
Expand Down

0 comments on commit 0494d7f

Please sign in to comment.