✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix: fonts & degrade next version
AykutSarac7c84ca9fa3d4
diff --git a/package.json b/package.jsonindex dcdeecad..2a5bac2c 100644--- a/package.json+++ b/package.json@@ -40,7 +40,7 @@"lodash.get": "^4.4.2","lodash.set": "^4.3.2","maketypes": "^1.1.2",- "next": "14.0.4",+ "next": "13.5.6","react": "^18.2.0","react-dom": "^18.2.0","react-ga4": "^2.1.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 0fd6dca9..19774f5a 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -19,7 +19,7 @@ dependencies:'@sentry/nextjs':specifier: ^7.91.0- version: 7.91.0([email protected])([email protected])+ version: 7.91.0([email protected])([email protected])'@supabase/auth-helpers-nextjs':specifier: ^0.8.1version: 0.8.1(@supabase/[email protected])@@ -84,8 +84,8 @@ dependencies:specifier: ^1.1.2version: 1.1.2next:- specifier: 14.0.4- version: 14.0.4([email protected])([email protected])+ specifier: 13.5.6+ version: 13.5.6([email protected])([email protected])react:specifier: ^18.2.0version: 18.2.0@@ -588,8 +588,8 @@ packages:- utf-8-validatedev: true- /@next/[email protected]:- resolution: {integrity: sha512-irQnbMLbUNQpP1wcE5NstJtbuA/69kRfzBrpAD7Gsn8zm/CY6YQYc3HQBz8QPxwISG26tIm5afvvVbu508oBeQ==}+ /@next/[email protected]:+ resolution: {integrity: sha512-Yac/bV5sBGkkEXmAX5FWPS9Mmo2rthrOPRQQNfycJPkjUAUclomCPH7QFVCDQ4Mp2k2K1SSM6m0zrxYrOwtFQw==}dev: false/@next/[email protected]:@@ -598,8 +598,8 @@ packages:glob: 7.1.7dev: true- /@next/[email protected]:- resolution: {integrity: sha512-mF05E/5uPthWzyYDyptcwHptucf/jj09i2SXBPwNzbgBNc+XnwzrL0U6BmPjQeOL+FiB+iG1gwBeq7mlDjSRPg==}+ /@next/[email protected]:+ resolution: {integrity: sha512-5nvXMzKtZfvcu4BhtV0KH1oGv4XEW+B+jOfmBdpFI3C7FrB/MfujRpWYSBBO64+qbW8pkZiSyQv9eiwnn5VIQA==}engines: {node: '>= 10'}cpu: [arm64]os: [darwin]@@ -607,8 +607,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-IZQ3C7Bx0k2rYtrZZxKKiusMTM9WWcK5ajyhOZkYYTCc8xytmwSzR1skU7qLgVT/EY9xtXDG0WhY6fyujnI3rw==}+ /@next/[email protected]:+ resolution: {integrity: sha512-6cgBfxg98oOCSr4BckWjLLgiVwlL3vlLj8hXg2b+nDgm4bC/qVXXLfpLB9FHdoDu4057hzywbxKvmYGmi7yUzA==}engines: {node: '>= 10'}cpu: [x64]os: [darwin]@@ -616,8 +616,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-VwwZKrBQo/MGb1VOrxJ6LrKvbpo7UbROuyMRvQKTFKhNaXjUmKTu7wxVkIuCARAfiI8JpaWAnKR+D6tzpCcM4w==}+ /@next/[email protected]:+ resolution: {integrity: sha512-txagBbj1e1w47YQjcKgSU4rRVQ7uF29YpnlHV5xuVUsgCUf2FmyfJ3CPjZUvpIeXCJAoMCFAoGnbtX86BK7+sg==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]@@ -625,8 +625,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-8QftwPEW37XxXoAwsn+nXlodKWHfpMaSvt81W43Wh8dv0gkheD+30ezWMcFGHLI71KiWmHK5PSQbTQGUiidvLQ==}+ /@next/[email protected]:+ resolution: {integrity: sha512-cGd+H8amifT86ZldVJtAKDxUqeFyLWW+v2NlBULnLAdWsiuuN8TuhVBt8ZNpCqcAuoruoSWynvMWixTFcroq+Q==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]@@ -634,8 +634,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-/s/Pme3VKfZAfISlYVq2hzFS8AcAIOTnoKupc/j4WlvF6GQ0VouS2Q2KEgPuO1eMBwakWPB1aYFIA4VNVh667A==}+ /@next/[email protected]:+ resolution: {integrity: sha512-Mc2b4xiIWKXIhBy2NBTwOxGD3nHLmq4keFk+d4/WL5fMsB8XdJRdtUlL87SqVCTSaf1BRuQQf1HvXZcy+rq3Nw==}engines: {node: '>= 10'}cpu: [x64]os: [linux]@@ -643,8 +643,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-m8z/6Fyal4L9Bnlxde5g2Mfa1Z7dasMQyhEhskDATpqr+Y0mjOBZcXQ7G5U+vgL22cI4T7MfvgtrM2jdopqWaw==}+ /@next/[email protected]:+ resolution: {integrity: sha512-CFHvP9Qz98NruJiUnCe61O6GveKKHpJLloXbDSWRhqhkJdZD2zU5hG+gtVJR//tyW897izuHpM6Gtf6+sNgJPQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]@@ -652,8 +652,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-7Wv4PRiWIAWbm5XrGz3D8HUkCVDMMz9igffZG4NB1p4u1KoItwx9qjATHz88kwCEal/HXmbShucaslXCQXUM5w==}+ /@next/[email protected]:+ resolution: {integrity: sha512-aFv1ejfkbS7PUa1qVPwzDHjQWQtknzAZWGTKYIAaS4NMtBlk3VyA6AYn593pqNanlicewqyl2jUhQAaFV/qXsg==}engines: {node: '>= 10'}cpu: [arm64]os: [win32]@@ -661,8 +661,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-zLeNEAPULsl0phfGb4kdzF/cAVIfaC7hY+kt0/d+y9mzcZHsMS3hAS829WbJ31DkSlVKQeHEjZHIdhN+Pg7Gyg==}+ /@next/[email protected]:+ resolution: {integrity: sha512-XqqpHgEIlBHvzwG8sp/JXMFkLAfGLqkbVsyN+/Ih1mR8INb6YCc2x/Mbwi6hsAgUnqQztz8cvEbHJUbSl7RHDg==}engines: {node: '>= 10'}cpu: [ia32]os: [win32]@@ -670,8 +670,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-yEh2+R8qDlDCjxVpzOTEpBLQTEFAcP2A8fUFLaWNap9GitYKkKv1//y2S6XY6zsR4rCOPRpU7plYDR+az2n30A==}+ /@next/[email protected]:+ resolution: {integrity: sha512-Cqfe1YmOS7k+5mGu92nl5ULkzpKuxJrP3+4AEuPmrpFZ3BHxTY3TnHmU1On3bFmFFs6FbTcdF58CCUProGpIGQ==}engines: {node: '>= 10'}cpu: [x64]os: [win32]@@ -818,7 +818,7 @@ packages:localforage: 1.10.0dev: falseresolution: {integrity: sha512-wE83+OTEH4yYnDrhMw9eVEARSfZc6xY5qJb9xyYm5rW3+gVjNQZQaUY+wkM61Xdo0T35BN+7U4T88HbwzGeMqA==}engines: {node: '>=8'}peerDependencies:@@ -839,7 +839,7 @@ packages:'@sentry/vercel-edge': 7.91.0'@sentry/webpack-plugin': 1.21.0chalk: 3.0.0- next: 14.0.4([email protected])([email protected])+ next: 13.5.6([email protected])([email protected])react: 18.2.0resolve: 1.22.8rollup: 2.78.0@@ -3403,9 +3403,9 @@ packages:resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}dev: true- resolution: {integrity: sha512-qbwypnM7327SadwFtxXnQdGiKpkuhaRLE2uq62/nRul9cj9KhQ5LhHmlziTNqUidZotw/Q1I9OjirBROdUJNgA==}- engines: {node: '>=18.17.0'}+ resolution: {integrity: sha512-Y2wTcTbO4WwEsVb4A8VSnOsG1I9ok+h74q0ZdxkwM3EODqrs4pasq7O0iUxbcS9VtWMicG7f3+HAj0r1+NtKSw==}+ engines: {node: '>=16.14.0'}hasBin: truepeerDependencies:'@opentelemetry/api': ^1.1.0@@ -3418,26 +3418,25 @@ packages:sass:optional: truedependencies:- '@next/env': 14.0.4+ '@next/env': 13.5.6'@swc/helpers': 0.5.2busboy: 1.6.0caniuse-lite: 1.0.30001571- graceful-fs: 4.2.11postcss: 8.4.31react: 18.2.0react-dom: 18.2.0([email protected])styled-jsx: 5.1.1([email protected])watchpack: 2.4.0optionalDependencies:- '@next/swc-darwin-arm64': 14.0.4- '@next/swc-darwin-x64': 14.0.4- '@next/swc-linux-arm64-gnu': 14.0.4- '@next/swc-linux-arm64-musl': 14.0.4- '@next/swc-linux-x64-gnu': 14.0.4- '@next/swc-linux-x64-musl': 14.0.4- '@next/swc-win32-arm64-msvc': 14.0.4- '@next/swc-win32-ia32-msvc': 14.0.4- '@next/swc-win32-x64-msvc': 14.0.4+ '@next/swc-darwin-arm64': 13.5.6+ '@next/swc-darwin-x64': 13.5.6+ '@next/swc-linux-arm64-gnu': 13.5.6+ '@next/swc-linux-arm64-musl': 13.5.6+ '@next/swc-linux-x64-gnu': 13.5.6+ '@next/swc-linux-x64-musl': 13.5.6+ '@next/swc-win32-arm64-msvc': 13.5.6+ '@next/swc-win32-ia32-msvc': 13.5.6+ '@next/swc-win32-x64-msvc': 13.5.6transitivePeerDependencies:- '@babel/core'- babel-plugin-macrosdiff --git a/src/constants/globalStyle.ts b/src/constants/globalStyle.tsindex 26859f0a..2e05c86c 100644--- a/src/constants/globalStyle.ts+++ b/src/constants/globalStyle.ts@@ -4,6 +4,7 @@ const GlobalStyle = createGlobalStyle`html, body {background: rgb(246,249,253);background: radial-gradient(circle, rgb(245 245 245) 33%, rgb(252 252 255) 100%);+ -webkit-font-smoothing: subpixel-antialiased !important;}*,@@ -14,6 +15,7 @@ const GlobalStyle = createGlobalStyle`padding: 0;scroll-behavior: smooth !important;-webkit-tap-highlight-color: transparent;+ -webkit-font-smoothing: never;}.hide {diff --git a/src/layout/JsonCrackLogo/index.tsx b/src/layout/JsonCrackLogo/index.tsxindex fbb7c630..e16c0655 100644--- a/src/layout/JsonCrackLogo/index.tsx+++ b/src/layout/JsonCrackLogo/index.tsx@@ -4,7 +4,7 @@ import styled from "styled-components";import { monaSans } from "src/constants/fonts";const StyledTitle = styled.div<{ fontSize: string }>`- font-weight: 900;+ font-weight: 800;margin: 0;font-family: ${monaSans.style.fontFamily};font-size: ${({ fontSize }) => fontSize};diff --git a/src/pages/_app.tsx b/src/pages/_app.tsxindex b03c7ae1..56b06c0c 100644--- a/src/pages/_app.tsx+++ b/src/pages/_app.tsx@@ -8,15 +8,12 @@ import "@mantine/code-highlight/styles.css";import { ThemeProvider } from "styled-components";import { SessionContextProvider, Session } from "@supabase/auth-helpers-react";import ReactGA from "react-ga4";-import { monaSans } from "src/constants/fonts";import GlobalStyle from "src/constants/globalStyle";import { lightTheme } from "src/constants/theme";import { supabase } from "src/lib/api/supabase";import useUser from "src/store/useUser";const mantineTheme = createTheme({- fontFamily: monaSans.style.fontFamily,- headings: { fontFamily: monaSans.style.fontFamily },primaryShade: 8,});