File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/features/editor/Toolbar Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 11import React from "react" ;
2+ import Link from "next/link" ;
23import { Flex , Group , Select , Button } from "@mantine/core" ;
34import styled from "styled-components" ;
45import toast from "react-hot-toast" ;
56import { AiOutlineFullscreen } from "react-icons/ai" ;
7+ import { FaGithub } from "react-icons/fa6" ;
68import { FiDownload } from "react-icons/fi" ;
79import { type FileFormat , formats } from "src/enums/file.enum" ;
810import { SearchInput } from "src/features/editor/Toolbar/SearchInput" ;
@@ -108,6 +110,11 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
108110 < FiDownload size = "18" />
109111 </ StyledToolElement >
110112 < ZoomMenu />
113+ < Link href = "https://github.com/AykutSarac/jsoncrack.com" rel = "noopener" target = "_blank" >
114+ < StyledToolElement title = "GitHub" >
115+ < FaGithub size = "18" />
116+ </ StyledToolElement >
117+ </ Link >
111118 < OptionsMenu />
112119 < StyledToolElement title = "Fullscreen" $hide = { isWidget } onClick = { fullscreenBrowser } >
113120 < AiOutlineFullscreen size = "18" />
You can’t perform that action at this time.
0 commit comments