From c281b232dfcddee0b3df36631374e6f9b11233b7 Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Mon, 19 Jun 2023 19:38:08 +0300 Subject: [PATCH] feat: set Link prefetch false & add ads --- public/assets/herowand_banner.webp | Bin 20768 -> 0 bytes src/components/FlexBar/index.tsx | 19 ++ src/constants/globalStyle.ts | 9 - src/layout/EditorMantine/index.tsx | 3 + src/layout/JsonCrackLogo/index.tsx | 2 +- src/layout/Navbar/index.tsx | 8 +- src/pages/404.tsx | 27 +-- src/pages/_app.tsx | 1 + src/pages/_document.tsx | 9 +- src/pages/index.tsx | 363 +++++++++++++++-------------- src/pages/oss.tsx | 5 +- src/typings/global.d.ts | 3 + 12 files changed, 235 insertions(+), 214 deletions(-) delete mode 100644 public/assets/herowand_banner.webp create mode 100644 src/components/FlexBar/index.tsx create mode 100644 src/typings/global.d.ts diff --git a/public/assets/herowand_banner.webp b/public/assets/herowand_banner.webp deleted file mode 100644 index f335a29cef12e51013d58b6677f91a4220d4b567..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20768 zcmdqIQ;;vbw&>foZ5y*O+qP}nw()P(|+f>@pmc~MC*v9c!PEDE%_ z-OqU!{3nkKJ@xR2Y(wSTI9iB2)yU(`Z4Z-Ago%IT$;z@`&sW-hZP+JkKWbUe;g9dL z<5|ml+>gBh|J=@sUay{!-&)tw4-s#Uudsi=tNc6kcgef+2mANF-`aX{tewp_<@j@fkV2f%$9o-6b!_Fa*o)cqGA;8u5si( z0*8QdUz(=$$5R3gIakFHvi*w= zATT7KEh#_Ogk~Im!hOI0S7i!(n<4lw6*f3=3k(|Skl{G* zQ4i=UC$<|={hN}-ORec*%*3k+EB%L|7v>{yvvFdio5e}_K4i#l|5sD6(eyFU`H3nB z`@Ho01m&KZVo%0&1QB%|WGX8eEx|*z{=?9c);WHGKF)t7*z6tkJI!JVqtIxP$3y35 z!&?#T*8v8gLrM0B#1?Je=5LRqnCr*yGu_=PBK0v@X%AaZmC5tRyy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>mch&?>wclRw=W$Ibj1sV|EnY{$ zboNOgN*7e($keQn>Bv2{nFdUBC1%9}c9%7RY=Sm;XRy@n1@-+RPI@uF-D(k~9`T0f zZ#rQg2Tt!++)qx6>x`W4|0l~}tZ8#68RF$|vKRSB4H(Dsr$P1V{8G#qkWE8xk>1(f zhHy7H6^Eygzaogd&bKS1Rnh8yK!sp4w%Q0VwQt(qEYE7pA<9mbSSmhU9DUotq)yU# zv17wd@@Jb$9*=HU50XH5^<4U|1sD3bJ`?{S1%5J5^ZTK#J~B$F_7l87$bRQ!q33Bv z0Ud@hZ*cVb#Vou(L_ALVVAi2P;aO@@)u2)Ugv#f#GG2AwX$LrOv zQ@pRPij9K)i*`yfqrSVbR z`c+INA51w&%kDqEWcvqz!3yq1dlXen~=`#JjA z@-mtUWNFQ@epv$OPo3u*O8{7xO}b8Nd>xDrU{@Wg!u|G9ZUw=A)jm_vtpy4ejpSJ& zTT*--Na(}g6}Ct}3clSJ6mh^7sF};{$yHa<3Za8WCI#;zRJPK)4u9*LzyJUM001Xe YZ~d5gzhC1an6DJz00000000000DPlQJpcdz diff --git a/src/components/FlexBar/index.tsx b/src/components/FlexBar/index.tsx new file mode 100644 index 0000000..922c6f7 --- /dev/null +++ b/src/components/FlexBar/index.tsx @@ -0,0 +1,19 @@ +import React from "react"; +import { useRouter } from "next/router"; + +export const HoverCard = () => { + const router = useRouter(); + + React.useEffect(() => { + const isAvailable = document.querySelectorAll("#_hellobar_")[0]; + if (typeof window._bsa !== "undefined" && window._bsa && !!!isAvailable) { + window._bsa.init("hellobar", "CE7IPKQL", "placement:jsoncrackcom"); + } + + if (isAvailable) { + window._bsa.reload("#_hellobar_"); + } + }, [router.asPath]); + + return
; +}; diff --git a/src/constants/globalStyle.ts b/src/constants/globalStyle.ts index cd26f94..1522f0e 100644 --- a/src/constants/globalStyle.ts +++ b/src/constants/globalStyle.ts @@ -1,19 +1,10 @@ -import localFont from "next/font/local"; import { createGlobalStyle } from "styled-components"; -const monaSans = localFont({ - src: "../pages/Mona-Sans.woff2", - variable: "--mona-sans", - display: "swap", - fallback: ["Arial, Helvetica, sans-serif", "Tahoma, Verdana, sans-serif"], -}); - const GlobalStyle = createGlobalStyle` html, body { color: ${({ theme }) => theme.FULL_WHITE} !important; font-weight: 400; font-size: 16px; - font-family: ${monaSans.style.fontFamily}; background: #F1F1F1 !important; @media only screen and (max-width: 768px) { diff --git a/src/layout/EditorMantine/index.tsx b/src/layout/EditorMantine/index.tsx index bb35548..e488ad7 100644 --- a/src/layout/EditorMantine/index.tsx +++ b/src/layout/EditorMantine/index.tsx @@ -17,6 +17,9 @@ export const EditorMantine: React.FC<{ children: React.ReactNode }> = ({ childre theme={{ colorScheme: lightmode ? "light" : "dark", fontFamily: monaSans.style.fontFamily, + headings: { + fontFamily: monaSans.style.fontFamily, + }, components: { Divider: { styles: () => ({ diff --git a/src/layout/JsonCrackLogo/index.tsx b/src/layout/JsonCrackLogo/index.tsx index a6155e5..c47c085 100644 --- a/src/layout/JsonCrackLogo/index.tsx +++ b/src/layout/JsonCrackLogo/index.tsx @@ -21,7 +21,7 @@ const StyledGradientText = styled.span` export const JSONCrackLogo: React.FC<{ fontSize?: string }> = ({ fontSize = "1.2rem" }) => { return ( - + JSON CRACK diff --git a/src/layout/Navbar/index.tsx b/src/layout/Navbar/index.tsx index 059612a..96e25e7 100644 --- a/src/layout/Navbar/index.tsx +++ b/src/layout/Navbar/index.tsx @@ -59,17 +59,17 @@ export const Navbar = () => { > GitHub - + - + - + @@ -86,7 +86,7 @@ export const Navbar = () => { > Star us on GitHub - + diff --git a/src/pages/404.tsx b/src/pages/404.tsx index 1db4078..1315305 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -1,7 +1,8 @@ import React from "react"; import { useRouter } from "next/router"; import styled from "styled-components"; -import { Button } from "@mantine/core"; +import { Button, Text, Title } from "@mantine/core"; +import Layout from "src/layout/Layout"; const StyledNotFound = styled.div` display: flex; @@ -33,18 +34,18 @@ const NotFound: React.FC = () => { const router = useRouter(); return ( - - - not found - - WIZARDS BEHIND CURTAINS? - - Looks like you're lost, let's head back to the home! - - - + + + + not found + + WIZARDS BEHIND CURTAINS? + Looks like you're lost, let's head back to the home! + + + ); }; diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index fc9dceb..8e5d3cc 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -40,6 +40,7 @@ function JsonCrack({ Component, pageProps }: AppProps) { theme={{ colorScheme: "light", fontFamily: monaSans.style.fontFamily, + headings: { fontFamily: monaSans.style.fontFamily }, }} > diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index b2bbafd..2f73027 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -20,14 +20,13 @@ class MyDocument extends Document { -