From 737adb7c73d37ac7536d00ea95649e30f817a835 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Mon, 7 Feb 2022 00:12:10 +0530 Subject: [PATCH 01/10] Delete Vercel.js --- src/components/Vercel.js | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 src/components/Vercel.js diff --git a/src/components/Vercel.js b/src/components/Vercel.js deleted file mode 100644 index 61e95321..00000000 --- a/src/components/Vercel.js +++ /dev/null @@ -1,10 +0,0 @@ -export function Vercel(props) { - return ( - - ) -} From 11cae048b7ecea6c5b8416eb10fd60dd2706b497 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Mon, 7 Feb 2022 00:12:18 +0530 Subject: [PATCH 02/10] Delete LogoMark.js --- src/components/LogoMark.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/components/LogoMark.js diff --git a/src/components/LogoMark.js b/src/components/LogoMark.js deleted file mode 100644 index 4c470477..00000000 --- a/src/components/LogoMark.js +++ /dev/null @@ -1,18 +0,0 @@ -export function LogoMark(props) { - return ( - - ) -} From 39d230ce65e90df6efac75c9f5ab9a70b77d4782 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Mon, 7 Feb 2022 00:12:37 +0530 Subject: [PATCH 03/10] Update redirects.json --- redirects.json | 49 +++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/redirects.json b/redirects.json index 999d445e..e5a21cf9 100644 --- a/redirects.json +++ b/redirects.json @@ -1,14 +1,47 @@ [ - { "source": "/docs/what-is-javaistic", "destination": "/", "permanent": false }, + { + "source": "/blog", + "destination": "https://blog-javaistic.vercel.app/", + "permanent": false + }, + { + "source": "/changelog", + "destination": "https://changelog-javaistic.vercel.app/", + "permanent": false + }, + { + "source": "/community", + "destination": "https://discord.gg/RkHJqvK9r8", + "permanent": false + }, + { + "source": "/discord", + "destination": "https://discord.gg/RkHJqvK9r8", + "permanent": false + }, + { + "source": "/docs/what-is-javaistic", + "destination": "/", + "permanent": false + }, { "source": "/forum", "destination": "https://github.com/javaistic/javaistic/discussions", "permanent": false }, - { "source": "/community", "destination": "https://discord.gg/RkHJqvK9r8", "permanent": false }, - { "source": "/changelog", "destination": "https://javaistic-changelog.vercel.app/", "permanent": false }, - { "source": "/license", "destination": "https://raw.githubusercontent.com/javaistic/javaistic/main/LICENSE", "permanent": false }, - { "source": "/discord", "destination": "https://discord.gg/RkHJqvK9r8", "permanent": false }, - { "source": "/status", "destination": "https://javaistic.betteruptime.com/", "permanent": false }, - { "source": "/stats", "destination": "https://javaistic.betteruptime.com/", "permanent": false } -] + { + "source": "/license", + "destination": "https://raw.githubusercontent.com/javaistic/javaistic/main/LICENSE", + "permanent": false + }, + { + "source": "/stats", + "destination": "https://javaistic.betteruptime.com/", + "permanent": false + }, + { + "source": "/status", + "destination": "https://javaistic.betteruptime.com/", + "permanent": false + } +] \ No newline at end of file From 81168d83f7b41fd344966f374130a9c633637570 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Mon, 7 Feb 2022 00:12:51 +0530 Subject: [PATCH 04/10] Update Header.js --- src/components/Header.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Header.js b/src/components/Header.js index e4999531..b2841b11 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -3,8 +3,8 @@ import { Search } from '@/components/Search' import clsx from 'clsx' import Link from 'next/link' import Router from 'next/router' -import ThemeChanger from './ThemeChanger' import MenuButton from './home/Menu' +import ThemeChanger from './ThemeChanger' export function Header({ navIsOpen, onNavToggle }) { return ( @@ -29,7 +29,6 @@ export function Header({ navIsOpen, onNavToggle }) {