Skip to content

Commit

Permalink
feat: upgrade modal open editor
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Dec 2, 2024
1 parent b1c1989 commit 89e299c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/containers/Modals/UpgradeModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
AspectRatio,
Paper,
CloseButton,
FocusTrap,
} from "@mantine/core";
import { LuCrown, LuTrendingUp } from "react-icons/lu";

Expand All @@ -27,6 +28,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
styles={{ body: { padding: 0 } }}
overlayProps={{ blur: 1 }}
>
<FocusTrap.InitialFocus />
<Stack gap="24" px="40" py="20">
<Flex justify="space-between">
<Title c="bright" fw="500" fz="24">
Expand Down Expand Up @@ -91,7 +93,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
</Paper>
<Button
component="a"
href="https://todiagram.com/sign-up?utm_source=jsoncrack&utm_medium=upgrade_modal"
href="https://todiagram.com/editor?utm_source=jsoncrack&utm_medium=upgrade_modal"
target="_blank"
mb="-16"
color="green"
Expand Down

0 comments on commit 89e299c

Please sign in to comment.