Skip to content

Commit

Permalink
Merge branch 'AykutSarac:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
louyongjiu authored Mar 1, 2024
2 parents 7bc0d7c + 0571924 commit 335faa9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/containers/Modals/PremiumModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ export const PremiumModal: React.FC<ModalProps> = ({ opened, onClose }) => {
<Title order={3}>JSON Crack Plus</Title>
<Button
component="a"
href="/pricing"
href="https://pro.jsoncrack.com/pricing"
target="_blank"
variant="filled"
color="teal"
size="md"
target="_blank"
>
Upgrade plan
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Views/GraphView/PremiumView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export const PremiumView = () => (
fw="bolder"
variant="gradient"
gradient={{ from: "blue", to: "teal" }}
href="/pricing"
href="https://pro.jsoncrack.com/pricing"
target="_blank"
>
UPGRADE TO PREMIUM
Expand Down
12 changes: 7 additions & 5 deletions src/layout/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ export const Navbar = () => {
<JSONCrackLogo />
<Button
ml="lg"
component={Link}
href="/pricing"
component="a"
href="https://pro.jsoncrack.com/pricing"
target="_blank"
variant="subtle"
color="black"
radius="md"
Expand Down Expand Up @@ -176,8 +177,9 @@ export const Navbar = () => {
>
<Flex pt="lg" direction="column" align="center" justify="center" gap="lg">
<Button
component={Link}
href="/pricing"
component="a"
href="https://pro.jsoncrack.com/pricing"
target="_blank"
variant="transparent"
color="black"
radius="md"
Expand Down Expand Up @@ -270,7 +272,7 @@ export const Navbar = () => {
)}
</Right>
</StyledNavbar>
<Link href="/pricing">
<Link href="https://pro.jsoncrack.com/pricing" target="_blank">
<Alert color="red" variant="filled" radius={0} fw="bold" h={56} visibleFrom="xs">
Unlock premium features now with ~30% discount on the Premium plan!
</Alert>
Expand Down

0 comments on commit 335faa9

Please sign in to comment.