Skip to content

Commit 12a66ea

Browse files
committed
update button ui
1 parent 1d92db7 commit 12a66ea

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/features/editor/Toolbar/index.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Flex, Group, Select, Button } from "@mantine/core";
44
import styled from "styled-components";
55
import toast from "react-hot-toast";
66
import { AiOutlineFullscreen } from "react-icons/ai";
7-
import { FaBolt, FaGithub } from "react-icons/fa6";
7+
import { FaFireFlameCurved, FaGithub } from "react-icons/fa6";
88
import { type FileFormat, formats } from "../../../enums/file.enum";
99
import { JSONCrackLogo } from "../../../layout/JsonCrackLogo";
1010
import useFile from "../../../store/useFile";
@@ -68,22 +68,24 @@ export const Toolbar = () => {
6868
<FileMenu />
6969
<ViewMenu />
7070
<ToolsMenu />
71+
</Group>
72+
<Group gap="xs" justify="right" w="100%" style={{ flexWrap: "nowrap" }}>
7173
<Button
7274
component={Link}
7375
href="https://todiagram.com/editor?utm_source=jsoncrack&utm_medium=toolbar"
7476
target="_blank"
7577
rel="noopener"
7678
autoContrast
7779
color="green"
80+
variant="outline"
81+
c="bright"
7882
size="compact-sm"
7983
fz="12"
8084
fw="600"
81-
leftSection={<FaBolt />}
85+
leftSection={<FaFireFlameCurved />}
8286
>
83-
JSON Crack v2.0
87+
NEW! JSON Crack v2.0
8488
</Button>
85-
</Group>
86-
<Group gap="xs" justify="right" w="100%" style={{ flexWrap: "nowrap" }}>
8789
<Link href="https://github.com/AykutSarac/jsoncrack.com" rel="noopener" target="_blank">
8890
<StyledToolElement title="GitHub">
8991
<FaGithub size="18" />

0 commit comments

Comments
 (0)