From 279d58a21c41b1bb67ca8b3e2066cf33e3a0f534 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 03:04:43 +0530 Subject: [PATCH 1/5] Update package.json - Add `@headlessui/react` - Add `@heroicons/react` --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cce7e373..c1e929a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "javaistic", - "version": "1.4.0", + "version": "1.5.0", "description": "The official website for Javaistic.", "private": true, "main": "index.js", @@ -21,6 +21,8 @@ "@badrap/bar-of-progress": "^0.1.2", "@docsearch/react": "^1.0.0-alpha.28", "@formspree/react": "^2.2.4", + "@headlessui/react": "^1.4.2", + "@heroicons/react": "^1.0.5", "@juggle/resize-observer": "^3.3.1", "@mdx-js/loader": "^1.6.22", "@mdx-js/react": "^1.6.22", @@ -75,4 +77,4 @@ "prettier": "^2.5.0", "typescript": "^4.5.2" } -} \ No newline at end of file +} From ce92e5631585caefc5b915525f5595986035130f Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 03:04:46 +0530 Subject: [PATCH 2/5] Update yarn.lock --- yarn.lock | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/yarn.lock b/yarn.lock index e5adb821..842f08db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1381,6 +1381,16 @@ resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.2.0.tgz#f3933a44e365864f4dad5db94158106d511e8131" integrity sha512-sqKVVVOe5ivCaXDWivIJYVSaEgdQK9ul7a4Kity5Iw7u9+wBAPbX1RMSnLLmp7O4Vzj0WOWwMAJsTL00xwaNug== +"@headlessui/react@^1.4.2": + version "1.4.2" + resolved "https://registry.yarnpkg.com/@headlessui/react/-/react-1.4.2.tgz#87e264f190dbebbf8dfdd900530da973dad24576" + integrity sha512-N8tv7kLhg9qGKBkVdtg572BvKvWhmiudmeEpOCyNwzOsZHCXBtl8AazGikIfUS+vBoub20Fse3BjawXDVPPdug== + +"@heroicons/react@^1.0.5": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-1.0.5.tgz#2fe4df9d33eb6ce6d5178a0f862e97b61c01e27d" + integrity sha512-UDMyLM2KavIu2vlWfMspapw9yii7aoLwzI2Hudx4fyoPwfKfxU8r3cL8dEBXOjcLG0/oOONZzbT14M1HoNtEcg== + "@juggle/resize-observer@^3.3.1": version "3.3.1" resolved "https://registry.yarnpkg.com/@juggle/resize-observer/-/resize-observer-3.3.1.tgz#b50a781709c81e10701004214340f25475a171a0" From 8c56db52e0226b86669201201ba750f07fe9560a Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 03:04:52 +0530 Subject: [PATCH 3/5] Create Menu.js --- src/components/home/Menu.js | 123 ++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 src/components/home/Menu.js diff --git a/src/components/home/Menu.js b/src/components/home/Menu.js new file mode 100644 index 00000000..2b725a04 --- /dev/null +++ b/src/components/home/Menu.js @@ -0,0 +1,123 @@ +import { Menu, Transition } from '@headlessui/react' +import { ChevronDownIcon } from '@heroicons/react/solid' +import { Fragment } from 'react' + +function classNames(...classes) { + return classes.filter(Boolean).join(' ') +} + +export default function MenuButton() { + return ( + +
+ + Menu + +
+ + + +
+ + {({ active }) => ( + + Documentation + + )} + + + {({ active }) => ( + + About + + )} + + + {({ active }) => ( + + Sponsors + + )} + + + {({ active }) => ( + + License + + )} + + + {({ active }) => ( + + Change Log + + )} + + + {({ active }) => ( + +
+ Javaistic on GitHub + + + + GitHub +
+
+ )} +
+ +
+
+
+
+ ) +} From cd665b34e8cd8daff10e8e8d87d07c5c0139acfa Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 03:05:19 +0530 Subject: [PATCH 4/5] Update redirects.json --- redirects.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redirects.json b/redirects.json index 41839d94..60a2833d 100644 --- a/redirects.json +++ b/redirects.json @@ -7,6 +7,8 @@ }, { "source": "/docs/slug", "destination": "/docs/slug", "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 } From 7a29808a7b58b1aac0e1ec82a9abb3f58fe097fc Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 03:05:30 +0530 Subject: [PATCH 5/5] Update index.js --- src/pages/index.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index 5679876e..069c4d94 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,6 +1,7 @@ import { BigText, InlineCode, Paragraph, Widont } from '@/components/home/common' import { Footer } from '@/components/home/Footer' import { Hero } from '@/components/home/Hero' +import MenuButton from '@/components/home/Menu' import { Newsletter } from '@/components/home/Newsletter' import { OpenSource } from '@/components/home/OpenSource' import { Logo } from '@/components/Logo' @@ -46,17 +47,17 @@ export default function Home() { -
+
- - Docs + Documentation + Javaistic on GitHub pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy