From 833c8ef92481186e29f2c2cd1ffecde1cc1831e4 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Sun, 28 Nov 2021 16:14:28 +0000 Subject: [PATCH 01/99] Update postcss to version 8.4.4 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0ce12701..cce7e373 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "intersection-observer": "^0.12.0", "minimatch": "^3.0.4", "next": "^12.0.4", - "postcss": "^8.4.1", + "postcss": "^8.4.4", "postcss-focus-visible": "^5.0.0", "postcss-import": "^14.0.2", "postcss-nested": "^5.0.6", diff --git a/yarn.lock b/yarn.lock index 95756141..e5adb821 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5252,10 +5252,10 @@ postcss@^8.1.6, postcss@^8.2.1: nanoid "^3.1.23" source-map-js "^0.6.2" -postcss@^8.4.1: - version "8.4.1" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.1.tgz#73051f825509ad1a716ef500108001bf3d1fa8f7" - integrity sha512-WqLs/TTzXdG+/A4ZOOK9WDZiikrRaiA+eoEb/jz2DT9KUhMNHgP7yKPO8vwi62ZCsb703Gwb7BMZwDzI54Y2Ag== +postcss@^8.4.4: + version "8.4.4" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.4.tgz#d53d4ec6a75fd62557a66bb41978bf47ff0c2869" + integrity sha512-joU6fBsN6EIer28Lj6GDFoC/5yOZzLCfn0zHAn/MYXI7aPt4m4hK5KC5ovEZXy+lnCjmYIbQWngvju2ddyEr8Q== dependencies: nanoid "^3.1.30" picocolors "^1.0.0" From 67f007d9dd26a0a7b2f14302b0cc2b5137edbc79 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Wed, 1 Dec 2021 11:24:06 +0530 Subject: [PATCH 02/99] Update sitemap.xml --- public/sitemap.xml | 121 +++++++-------------------------------------- 1 file changed, 17 insertions(+), 104 deletions(-) diff --git a/public/sitemap.xml b/public/sitemap.xml index 2316e3c6..f525a794 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -9,174 +9,87 @@ https://javaistic.vercel.app/ - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 1.00 https://javaistic.vercel.app/docs - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.80 https://javaistic.vercel.app/docs/installation - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.80 https://javaistic.vercel.app/programs/introduction - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.80 https://javaistic.vercel.app/programs - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.80 https://javaistic.vercel.app/brand - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.80 https://javaistic.vercel.app/sponsors - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.80 https://javaistic.vercel.app/docs/introduction - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/docs/hello-world - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/docs/jvm-jre-jdk - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/docs/variables-and-literals - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/docs/variables-primitive-data-types - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/docs/operators - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/docs/basic-input-output - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/docs/expressions-statements-blocks - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/docs/comments - 2021-11-14T22:12:56+00:00 + 2021-12-01T05:52:12+00:00 0.64 https://javaistic.vercel.app/programs/print-an-integer - 2021-11-14T22:12:56+00:00 - 0.64 - - - - - - - - - - - https://javaistic.vercel.app/ - 2021-11-02T15:34:38+00:00 - 1.00 - - - https://javaistic.vercel.app/docs - 2021-11-02T15:34:38+00:00 - 0.80 - - - https://javaistic.vercel.app/docs/installation - 2021-11-02T15:34:38+00:00 - 0.80 - - - https://javaistic.vercel.app/programs/introduction - 2021-11-02T15:34:38+00:00 - 0.80 - - - https://javaistic.vercel.app/programs - 2021-11-02T15:34:38+00:00 - 0.80 - - - https://javaistic.vercel.app/brand - 2021-11-02T15:34:38+00:00 - 0.80 - - - https://javaistic.vercel.app/sponsors - 2021-11-02T15:34:38+00:00 - 0.80 - - - https://javaistic.vercel.app/docs/introduction - 2021-11-02T15:34:38+00:00 - 0.64 - - - https://javaistic.vercel.app/docs/hello-world - 2021-11-02T15:34:38+00:00 - 0.64 - - - https://javaistic.vercel.app/docs/jvm-jre-jdk - 2021-11-02T15:34:38+00:00 - 0.64 - - - https://javaistic.vercel.app/docs/variables-and-literals - 2021-11-02T15:34:38+00:00 - 0.64 - - - https://javaistic.vercel.app/docs/variables-primitive-data-types - 2021-11-02T15:34:38+00:00 - 0.64 - - - https://javaistic.vercel.app/docs/operators - 2021-11-02T15:34:38+00:00 - 0.64 - - - https://javaistic.vercel.app/docs/basic-input-output - 2021-11-02T15:34:38+00:00 - 0.64 - - - https://javaistic.vercel.app/programs/print-an-integer - 2021-11-02T15:34:38+00:00 + 2021-12-01T05:52:12+00:00 0.64 From 98f27c26f0dfb4af927ba15421d30b6d5341ced3 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 13:28:35 +0530 Subject: [PATCH 03/99] Update withSyntaxHighlighting.js Update `border-radius` from `rounded-xl` to `rounded-lg` --- remark/withSyntaxHighlighting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remark/withSyntaxHighlighting.js b/remark/withSyntaxHighlighting.js index 45202801..0548621a 100644 --- a/remark/withSyntaxHighlighting.js +++ b/remark/withSyntaxHighlighting.js @@ -17,7 +17,7 @@ module.exports.withSyntaxHighlighting = () => { if (node.lang !== null) { node.type = 'html' node.value = [ - `
`, + `
`, `
`,

From e64f9c7831fd54dafa796ca35c46d4c2007134ed Mon Sep 17 00:00:00 2001
From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com>
Date: Fri, 3 Dec 2021 13:38:04 +0530
Subject: [PATCH 04/99] Update comments.mdx

---
 src/pages/docs/comments.mdx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pages/docs/comments.mdx b/src/pages/docs/comments.mdx
index 65521529..6523dd98 100644
--- a/src/pages/docs/comments.mdx
+++ b/src/pages/docs/comments.mdx
@@ -12,7 +12,7 @@ In computer programming, comments are a portion of the program that are complete
 
 ```java
 // declare and initialize two variables
-int a =1;
+int a = 1;
 int b = 3;
 
 // print the output

From 378e02dc0fcb455a6d69f3f1c8601d80d9170be9 Mon Sep 17 00:00:00 2001
From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com>
Date: Fri, 3 Dec 2021 13:43:31 +0530
Subject: [PATCH 05/99] Create wroking-of-java-statement.svg

---
 src/img/docs/wroking-of-java-statement.svg | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 src/img/docs/wroking-of-java-statement.svg

diff --git a/src/img/docs/wroking-of-java-statement.svg b/src/img/docs/wroking-of-java-statement.svg
new file mode 100644
index 00000000..225cba45
--- /dev/null
+++ b/src/img/docs/wroking-of-java-statement.svg
@@ -0,0 +1 @@
+
\ No newline at end of file

From 369816cd494fb5374a39ddfa95a9d5f3c5ee1ccb Mon Sep 17 00:00:00 2001
From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com>
Date: Fri, 3 Dec 2021 13:43:42 +0530
Subject: [PATCH 06/99] Create if-else-statement.mdx

---
 src/pages/docs/if-else-statement.mdx | 300 +++++++++++++++++++++++++++
 1 file changed, 300 insertions(+)
 create mode 100644 src/pages/docs/if-else-statement.mdx

diff --git a/src/pages/docs/if-else-statement.mdx b/src/pages/docs/if-else-statement.mdx
new file mode 100644
index 00000000..4bfd06eb
--- /dev/null
+++ b/src/pages/docs/if-else-statement.mdx
@@ -0,0 +1,300 @@
+---
+title: Java if...else Statement
+description: n this tutorial, you will learn about control flow statements using Java if and if...else statements with the help of examples.
+---
+
+import { Heading } from '@/components/Heading'
+import { TipInfo } from '@/components/Tip'
+import Link from 'next/link'
+import NextImage from 'next/image'
+
+In programming, we use the `if..else` statement to run a block of code among more than one alternatives.
+
+For example, assigning grades (A, B, C) based on the percentage obtained by a student.
+
+- if the percentage is above **90**, assign grade **A**
+- if the percentage is above **75**, assign grade **B**
+- if the percentage is above **65**, assign grade **C**
+
+## 1. Java if (if-then) Statement
+The syntax of an **if-then** statement is:
+
+```java
+if (condition) {
+  // statements
+}
+```
+Here, `condition` is a boolean expression such as `age >= 18`.
+
+- if `condition` evaluates to `true` , statements are executed
+- if `condition` evaluates to `false` , statements are skipped
+
+
+## Working of if Statement
+
+
+ + + +

Working of Java if statement

+ +
+ + +### Example 1: Java if Statement + +```java +class IfStatement { + public static void main(String[] args) { + + int number = 10; + + // checks if number is less than 0 + if (number < 0) { + System.out.println("The number is negative."); + } + + System.out.println("Statement outside if block"); + } +} +``` +#### Output + +```text +Statement outside if block +``` + +In the program, `number < 0` is `false`. Hence, the code inside the parenthesis is **skipped**. + + + +**Note:** If you want to learn more about about test conditions, visit [Java Relational Operators](/docs/operators#3-java-relational-operators) and [Java Logical Operators](/docs/operators#4-java-logical-operators). + + + +We can also use Java Strings as the test condition. + +### Example 2: Java if with String + +```java +class Main { + public static void main(String[] args) { + // create a string variable + String language = "Java"; + + // if statement + if (language == "Java") { + System.out.println("Best Programming Language"); + } + } +} +``` +#### Output + +```text +Best Programming Language +``` + +In the above example, we are comparing two strings in the `if` block. + +## 2. Java if...else (if-then-else) Statement +The `if` statement executes a certain section of code if the test expression is evaluated to `true`. However, if the test expression is evaluated to `false`, it does nothing. + +In this case, we can use an optional `else` block. Statements inside the body of `else` block are executed if the test expression is evaluated to `false`. This is known as the **if-...else** statement in Java. + +The syntax of the **if...else** statement is: + +```java +if (condition) { + // codes in if block +} +else { + // codes in else block +} +``` +Here, the program will do one task (codes inside if block) if the condition is true and another task (codes inside else block) if the condition is false. + +## How the if...else statement works? +If the condition is true, the code inside the if block is executed, otherwise, code inside the else block is executed +Working of Java if-else statements + +### Example 3: Java if...else Statement + +```java +class Main { + public static void main(String[] args) { + int number = 10; + + // checks if number is greater than 0 + if (number > 0) { + System.out.println("The number is positive."); + } + + // execute this block + // if number is not greater than 0 + else { + System.out.println("The number is not positive."); + } + + System.out.println("Statement outside if...else block"); + } +} +``` +#### Output + +```text +The number is positive. +Statement outside if...else block +``` +In the above example, we have a variable named `number`. Here, the test expression `number > 0` checks if `number` is greater than 0. + +Since the value of the `number` is `10`, the test expression evaluates to `true`. Hence code inside the body of `if` is executed. + +Now, change the value of the `number` to a negative integer. Let's say `-5`. + +```java +int number = -5; +``` +If we run the program with the new value of `number`, the output will be: + +```text +The number is not positive. +Statement outside if...else block +``` +Here, the value of number is `-5`. So the test expression evaluates to `false`. Hence code inside the body of `else` is executed. + +## 3. Java if...else...if Statement +In Java, we have an if...else...if ladder, that can be used to execute one block of code among multiple other blocks. + +```java +if (condition1) { + // codes +} +else if(condition2) { + // codes +} +else if (condition3) { + // codes +} +. +. +else { + // codes +} +``` +Here, `if` statements are executed from the top towards the bottom. When the test condition is `true`, codes inside the body of that `if` block is executed. And, program control jumps outside the **if...else...if** ladder. + +If all test expressions are `false`, codes inside the body of `else` are executed. + +## How the if...else...if ladder works? + +If the first test condition if true, code inside first if block is executed, if the second condition is true, block inside second if is executed, and if all conditions are false, the else block is executed +Working of if...else...if ladder + +### Example 4: Java if...else...if Statement + +```java +class Main { + public static void main(String[] args) { + + int number = 0; + + // checks if number is greater than 0 + if (number > 0) { + System.out.println("The number is positive."); + } + + // checks if number is less than 0 + else if (number < 0) { + System.out.println("The number is negative."); + } + + // if both condition is false + else { + System.out.println("The number is 0."); + } + } +} +``` + +#### Output + +```text +The number is 0. +``` +In the above example, we are checking whether `number` is **positive**, **negative**, or **zero**. Here, we have two condition expressions: + +- `number > 0` - checks if `number` is greater than `0`. +- `number < 0` - checks if `number` is less than `0`. + +Here, the value of `number` is `0`. So both the conditions evaluate to `false`. Hence the statement inside the body of `else` is executed. + + + +**Note:** Java provides a special operator called **ternary operator**, which is a kind of shorthand notation of **if...else...if** statement. To learn about the ternary operator, visit [Java Ternary Operator](/docs/operators#java-ternary-operator). + + + +## 4. Java Nested if..else Statement + +In Java, it is also possible to use `if..else` statements inside an `if...else` statement. It's called the nested `if...else` statement. + +Here's a program to find the largest of **3** numbers using the nested `if...else` statement. + +### Example 5: Nested if...else Statement + +```java +class Main { + public static void main(String[] args) { + + // declaring double type variables + Double n1 = -1.0, n2 = 4.5, n3 = -5.3, largest; + + // checks if n1 is greater than or equal to n2 + if (n1 >= n2) { + + // if...else statement inside the if block + // checks if n1 is greater than or equal to n3 + if (n1 >= n3) { + largest = n1; + } + + else { + largest = n3; + } + } else { + + // if..else statement inside else block + // checks if n2 is greater than or equal to n3 + if (n2 >= n3) { + largest = n2; + } + + else { + largest = n3; + } + } + + System.out.println("Largest Number: " + largest); + } +} +``` +#### Output: + +```text +Largest Number: 4.5 +``` +In the above programs, we have assigned the value of variables ourselves to make this easier. + +However, in real-world applications, these values may come from user input data, log files, form submission, etc. \ No newline at end of file From b050d6c63832c8b03aad93209465cd43a43bf858 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 13:47:42 +0530 Subject: [PATCH 07/99] Update documentation.js --- src/navs/documentation.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/navs/documentation.js b/src/navs/documentation.js index e4de7a62..82a5d30f 100644 --- a/src/navs/documentation.js +++ b/src/navs/documentation.js @@ -6,9 +6,7 @@ const pages = createPageList( ) export const documentationNav = { - 'Getting started': [ - pages['installation'], - ], + 'Getting started': [pages['installation']], 'Java Introduction': [ pages['introduction'], pages['hello-world'], @@ -20,4 +18,5 @@ export const documentationNav = { pages['expressions-statements-blocks'], pages['comments'], ], + 'Java Flow Control': [pages['if-else-statement']], } From 34125295c4f88b2dc0db431c7bb663612ada32d1 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 16:23:10 +0530 Subject: [PATCH 08/99] Delete wroking-of-java-statement.svg --- src/img/docs/wroking-of-java-statement.svg | 1 - 1 file changed, 1 deletion(-) delete mode 100644 src/img/docs/wroking-of-java-statement.svg diff --git a/src/img/docs/wroking-of-java-statement.svg b/src/img/docs/wroking-of-java-statement.svg deleted file mode 100644 index 225cba45..00000000 --- a/src/img/docs/wroking-of-java-statement.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file From ad940a9f96b334f47f6f08d2ff729083ae17d66e Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 16:23:25 +0530 Subject: [PATCH 09/99] Create wroking-of-if-else-statement.svg --- src/img/docs/wroking-of-if-else-statement.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/img/docs/wroking-of-if-else-statement.svg diff --git a/src/img/docs/wroking-of-if-else-statement.svg b/src/img/docs/wroking-of-if-else-statement.svg new file mode 100644 index 00000000..953ed61b --- /dev/null +++ b/src/img/docs/wroking-of-if-else-statement.svg @@ -0,0 +1 @@ + \ No newline at end of file From 3d2a27cc073ee57dee648f9b1b6a378e1fcd2a10 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 16:23:28 +0530 Subject: [PATCH 10/99] Create wroking-of-java-if-statement.svg --- src/img/docs/wroking-of-java-if-statement.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/img/docs/wroking-of-java-if-statement.svg diff --git a/src/img/docs/wroking-of-java-if-statement.svg b/src/img/docs/wroking-of-java-if-statement.svg new file mode 100644 index 00000000..98faac80 --- /dev/null +++ b/src/img/docs/wroking-of-java-if-statement.svg @@ -0,0 +1 @@ + \ No newline at end of file From 8f11e4647e1c8e9be531bb8ae3fdccf1b5aa763a Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 16:23:56 +0530 Subject: [PATCH 11/99] Update if-else-statement.mdx --- src/pages/docs/if-else-statement.mdx | 30 ++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/src/pages/docs/if-else-statement.mdx b/src/pages/docs/if-else-statement.mdx index 4bfd06eb..a22c3053 100644 --- a/src/pages/docs/if-else-statement.mdx +++ b/src/pages/docs/if-else-statement.mdx @@ -37,11 +37,11 @@ Here, `condition` is a boolean expression such as `age >= 18`. + + + +

Working of Java if-else statements

+ +
+ ### Example 3: Java if...else Statement From 3bb0eef7f4298a2fa1e3481400d0f5cc7c83c890 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 18:06:10 +0530 Subject: [PATCH 12/99] Update Header.js --- src/components/Header.js | 165 --------------------------------------- 1 file changed, 165 deletions(-) diff --git a/src/components/Header.js b/src/components/Header.js index b80f3907..f1e385c9 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -4,171 +4,6 @@ import clsx from 'clsx' import Link from 'next/link' import Router from 'next/router' -function BannerMarkMobile(props) { - return ( - - - - - - - - - - - - - - - - - - - - - - ) -} - -function BannerMarkLeft(props) { - return ( - - - - - - - - - - - - - - - - - ) -} - -function BannerMarkRight(props) { - return ( - - - - - - - - - - - - ) -} - export function Header({ navIsOpen, onNavToggle }) { return ( <> From 56c3639214de08f7d4b92704a7910fe22eae1353 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 18:06:15 +0530 Subject: [PATCH 13/99] Update index.js --- src/pages/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index 33cbc408..5679876e 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -86,18 +86,18 @@ export default function Home() {

- + - + - @@ -106,7 +106,7 @@ export default function Home() {  Sponsor - +
From b9b0d56271f8d22ba544e0dca7cc590891979dd2 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 18:15:38 +0530 Subject: [PATCH 14/99] Update if-else-statement.mdx --- src/pages/docs/if-else-statement.mdx | 30 ++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/src/pages/docs/if-else-statement.mdx b/src/pages/docs/if-else-statement.mdx index 4bfd06eb..a22c3053 100644 --- a/src/pages/docs/if-else-statement.mdx +++ b/src/pages/docs/if-else-statement.mdx @@ -37,11 +37,11 @@ Here, `condition` is a boolean expression such as `age >= 18`. + + + +

Working of Java if-else statements

+ + + ### Example 3: Java if...else Statement From 5608dcdc4bc3a2d4e4cb1e2f870fb6b68ab9e7c6 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 18:22:49 +0530 Subject: [PATCH 15/99] Delete wroking-of-java-statement.svg --- src/img/docs/wroking-of-java-statement.svg | 1 - 1 file changed, 1 deletion(-) delete mode 100644 src/img/docs/wroking-of-java-statement.svg diff --git a/src/img/docs/wroking-of-java-statement.svg b/src/img/docs/wroking-of-java-statement.svg deleted file mode 100644 index 225cba45..00000000 --- a/src/img/docs/wroking-of-java-statement.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file From 8b7ee4a0aa74150817e00d14733c422c838e8030 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 18:22:58 +0530 Subject: [PATCH 16/99] Create wroking-of-java-if-statement.svg --- src/img/docs/wroking-of-java-if-statement.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/img/docs/wroking-of-java-if-statement.svg diff --git a/src/img/docs/wroking-of-java-if-statement.svg b/src/img/docs/wroking-of-java-if-statement.svg new file mode 100644 index 00000000..98faac80 --- /dev/null +++ b/src/img/docs/wroking-of-java-if-statement.svg @@ -0,0 +1 @@ + \ No newline at end of file From d7042c19732bab8e1fb47ec2575237566c7815e4 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Fri, 3 Dec 2021 18:23:02 +0530 Subject: [PATCH 17/99] Create wroking-of-if-else-statement.svg --- src/img/docs/wroking-of-if-else-statement.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/img/docs/wroking-of-if-else-statement.svg diff --git a/src/img/docs/wroking-of-if-else-statement.svg b/src/img/docs/wroking-of-if-else-statement.svg new file mode 100644 index 00000000..953ed61b --- /dev/null +++ b/src/img/docs/wroking-of-if-else-statement.svg @@ -0,0 +1 @@ + \ No newline at end of file From cfcb2c3a9a1e5a6c60af258cb928b25e0c5c0955 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 02:52:30 +0530 Subject: [PATCH 18/99] Update Community.js --- src/components/Community.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Community.js b/src/components/Community.js index 67d3dd77..63ed8351 100644 --- a/src/components/Community.js +++ b/src/components/Community.js @@ -1,7 +1,7 @@ export function Community() { return ( - ) } From 54f56bace6257204046aa66441128e576cbefcfe Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 02:59:25 +0530 Subject: [PATCH 19/99] Update index.js Update border radius. --- src/pages/docs/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/docs/index.js b/src/pages/docs/index.js index d81c4149..0d3fd44b 100644 --- a/src/pages/docs/index.js +++ b/src/pages/docs/index.js @@ -17,7 +17,7 @@ export default function DocsLandingPage() {

-
+

Read the docs

@@ -25,7 +25,7 @@ export default function DocsLandingPage() { Learn how to get Java set up in your project.

- + Start learning @@ -43,7 +43,7 @@ export default function DocsLandingPage() {
-
+

Java Programs

@@ -52,7 +52,7 @@ export default function DocsLandingPage() {

Start coding 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 20/99] 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 21/99] 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 22/99] 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 23/99] 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 24/99] 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 From 767933423e16f929b40aa0deae24f0613cebc0ee Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 03:15:12 +0530 Subject: [PATCH 25/99] Update Menu.js --- src/components/home/Menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/home/Menu.js b/src/components/home/Menu.js index 2b725a04..60918128 100644 --- a/src/components/home/Menu.js +++ b/src/components/home/Menu.js @@ -30,7 +30,7 @@ export default function MenuButton() { {({ active }) => ( Date: Sat, 4 Dec 2021 03:19:06 +0530 Subject: [PATCH 26/99] Update redirects.json --- redirects.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redirects.json b/redirects.json index 60a2833d..bfe8dfe8 100644 --- a/redirects.json +++ b/redirects.json @@ -7,8 +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": "/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 f196576b4f67fe7cce75a93bce535358ebbad545 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 04:35:04 +0530 Subject: [PATCH 27/99] Update manifest.json --- public/manifest.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index 1c92d384..7df95861 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "short_name": "Javaistic", "name": "Javaistic", - "start_url": "/", + "start_url": "https://javaistic.vercel.app/", "theme_color": "#ffffff", "background_color": "#ffffff", "display": "standalone", @@ -9,7 +9,8 @@ { "src": "/android-chrome-192x192.png", "sizes": "192x192", - "type": "image/png" + "type": "image/png", + "purpose": "any maskable" }, { "src": "/android-chrome-512x512.png", From 86698d7569047690cd7ac3cb641164803f7b0bcd Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 04:45:12 +0530 Subject: [PATCH 28/99] Update manifest.json --- public/manifest.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index 7df95861..3e6e948b 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -9,8 +9,7 @@ { "src": "/android-chrome-192x192.png", "sizes": "192x192", - "type": "image/png", - "purpose": "any maskable" + "type": "image/png" }, { "src": "/android-chrome-512x512.png", @@ -18,4 +17,4 @@ "type": "image/png" } ] -} +} \ No newline at end of file From 21127f806e54862cb9265b89d1023871d44b8932 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Sat, 4 Dec 2021 20:06:06 +0530 Subject: [PATCH 29/99] Create CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 133 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 00000000..45d257b2 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,133 @@ + +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, caste, color, religion, or sexual +identity and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the overall + community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or advances of + any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email address, + without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +[INSERT CONTACT METHOD]. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series of +actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or permanent +ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within the +community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.1, available at +[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. + +Community Impact Guidelines were inspired by +[Mozilla's code of conduct enforcement ladder][Mozilla CoC]. + +For answers to common questions about this code of conduct, see the FAQ at +[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at +[https://www.contributor-covenant.org/translations][translations]. + +[homepage]: https://www.contributor-covenant.org +[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html +[Mozilla CoC]: https://github.com/mozilla/diversity +[FAQ]: https://www.contributor-covenant.org/faq +[translations]: https://www.contributor-covenant.org/translations From a1ef475b5fb3706cc6854771a109e91f8c41e13b Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Sun, 5 Dec 2021 15:49:14 +0000 Subject: [PATCH 30/99] Update prettier to version 2.5.1 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c1e929a8..845bc159 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "eslint-plugin-jsx-a11y": "6.x", "eslint-plugin-react": "7.x", "eslint-plugin-react-hooks": "2.x", - "prettier": "^2.5.0", + "prettier": "^2.5.1", "typescript": "^4.5.2" } } diff --git a/yarn.lock b/yarn.lock index 842f08db..f407f559 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5276,10 +5276,10 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.0.tgz#a6370e2d4594e093270419d9cc47f7670488f893" - integrity sha512-FM/zAKgWTxj40rH03VxzIPdXmj39SwSjwG0heUcNFwI+EMZJnY93yAiKXM3dObIKAM5TA88werc8T/EwhB45eg== +prettier@^2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a" + integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg== pretty-hrtime@^1.0.3: version "1.0.3" From 2553408a341ed65b25f382d0c305496ccb9fefdd Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 02:27:59 +0000 Subject: [PATCH 31/99] Update @next/bundle-analyzer to version 12.0.7 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 845bc159..f8299078 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@juggle/resize-observer": "^3.3.1", "@mdx-js/loader": "^1.6.22", "@mdx-js/react": "^1.6.22", - "@next/bundle-analyzer": "^12.0.4", + "@next/bundle-analyzer": "^12.0.7", "@next/mdx": "^12.0.4", "@reach/rect": "^0.16.0", "@silvenon/remark-smartypants": "^1.0.0", diff --git a/yarn.lock b/yarn.lock index f407f559..9837bf09 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1445,10 +1445,10 @@ resolved "https://registry.yarnpkg.com/@napi-rs/triples/-/triples-1.0.3.tgz#76d6d0c3f4d16013c61e45dfca5ff1e6c31ae53c" integrity sha512-jDJTpta+P4p1NZTFVLHJ/TLFVYVcOqv6l8xwOeBKNPMgY/zDYH/YH7SJbvrr/h1RcS9GzbPcLKGzpuK9cV56UA== -"@next/bundle-analyzer@^12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/bundle-analyzer/-/bundle-analyzer-12.0.4.tgz#258141b291f87439362b62684d1e1a9fd5f9ec1b" - integrity sha512-hl9SmruSHMMMjmcUXJYdP12HbencBOpuy4gHPpQLbRmfErUsY7ia+eF5Xt9vAkim7s6HKByoDg7cu6HJQzfpfg== +"@next/bundle-analyzer@^12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/bundle-analyzer/-/bundle-analyzer-12.0.7.tgz#2822e2c530ca7d7b83948154a69221e309eaa073" + integrity sha512-u3er2QTSPrcouO8CqfNraHrj9e/A+sBMQWe4w4yy2kSmK4L7PXkWDb8OFWB25eaDD24LrnMPTuuEq2pNCnbujA== dependencies: webpack-bundle-analyzer "4.3.0" From e5bb2ed0626b935f374d3bc8290b3cfa4ed3995b Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 02:32:33 +0000 Subject: [PATCH 32/99] Update @next/mdx to version 12.0.7 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 845bc159..46dcefcb 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@mdx-js/loader": "^1.6.22", "@mdx-js/react": "^1.6.22", "@next/bundle-analyzer": "^12.0.4", - "@next/mdx": "^12.0.4", + "@next/mdx": "^12.0.7", "@reach/rect": "^0.16.0", "@silvenon/remark-smartypants": "^1.0.0", "@sindresorhus/slugify": "^1.1.0", diff --git a/yarn.lock b/yarn.lock index f407f559..269dda50 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1457,10 +1457,10 @@ resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.4.tgz#effe19526fa51ab2da1a39e594b80a257b3fa1c5" integrity sha512-QtZ6X5c6Zqa7oWs5csEmZ7xy+gLdtRKKg02SOT5l0Ziea4P5IU8mSOCyNC4fZmXewcRVjpbY+yGqAAP7hJUfOA== -"@next/mdx@^12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/mdx/-/mdx-12.0.4.tgz#8c3e74ba1fd8322f3a883e36718b5f00109f5041" - integrity sha512-WsiuZkzhECLp91ZGErhPKzASsFSRwcoHATOeZZvrkyjXiBodem/M3qFev6GPe9g2Ejw5Kt2DdbwUlkELDpz8aw== +"@next/mdx@^12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/mdx/-/mdx-12.0.7.tgz#5095198e85a0fe6d3687db9813aa373f185dece8" + integrity sha512-yudu/ZxkFznvcQtVKKWkLYVja4kCah/yz09x5tpphr5g+xmaJNA6RylheaORIY8qdgdKRqVXt3hMnpfdH9bBtw== "@next/polyfill-module@12.0.4": version "12.0.4" From 93a6be720461b3142d3979dd575d64a800322db8 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 02:38:26 +0000 Subject: [PATCH 33/99] Update next to version 12.0.7 --- package.json | 2 +- yarn.lock | 192 ++++++++++++++++++++++++--------------------------- 2 files changed, 93 insertions(+), 101 deletions(-) diff --git a/package.json b/package.json index 845bc159..394f225e 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "glob": "^7.2.0", "intersection-observer": "^0.12.0", "minimatch": "^3.0.4", - "next": "^12.0.4", + "next": "^12.0.7", "postcss": "^8.4.4", "postcss-focus-visible": "^5.0.0", "postcss-import": "^14.0.2", diff --git a/yarn.lock b/yarn.lock index f407f559..e836aa96 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1452,25 +1452,25 @@ dependencies: webpack-bundle-analyzer "4.3.0" -"@next/env@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.4.tgz#effe19526fa51ab2da1a39e594b80a257b3fa1c5" - integrity sha512-QtZ6X5c6Zqa7oWs5csEmZ7xy+gLdtRKKg02SOT5l0Ziea4P5IU8mSOCyNC4fZmXewcRVjpbY+yGqAAP7hJUfOA== +"@next/env@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.7.tgz#316f7bd1b6b69f554d2676cfc91a16bc7e32ee79" + integrity sha512-TNDqBV37wd95SiNdZsSUq8gnnrTwr+aN9wqy4Zxrxw4bC/jCHNsbK94DxjkG99VL30VCRXXDBTA1/Wa2jIpF9Q== "@next/mdx@^12.0.4": version "12.0.4" resolved "https://registry.yarnpkg.com/@next/mdx/-/mdx-12.0.4.tgz#8c3e74ba1fd8322f3a883e36718b5f00109f5041" integrity sha512-WsiuZkzhECLp91ZGErhPKzASsFSRwcoHATOeZZvrkyjXiBodem/M3qFev6GPe9g2Ejw5Kt2DdbwUlkELDpz8aw== -"@next/polyfill-module@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-12.0.4.tgz#ef4f4fd6d773ad655db1859ca71127e0c358af50" - integrity sha512-mk9yCDNpfXINTJKFTZNgwYs7eqRFpc5D/49O/fKB59blihyKl1GY1sZ0l7a2bn5l1X/WuaZzcIfqnrwkneqeaQ== +"@next/polyfill-module@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-12.0.7.tgz#140e698557113cd3a3c0833f15ca8af1b608f2dc" + integrity sha512-sA8LAMMlmcspIZw/jeQuJTyA3uGrqOhTBaQE+G9u6DPohqrBFRkaz7RzzJeqXkUXw600occsIBknSjyVd1R67A== -"@next/react-dev-overlay@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-12.0.4.tgz#c97113df84986233c62eed37382aab85a0ec006e" - integrity sha512-9O0lXyzv5goFSmDwq9Hp8JE+DcObvd+bTXvmGSSvYR91AlIoVlH8/PwATx8Rf5YEuqggn/XKR1hn2kBYcbcGnA== +"@next/react-dev-overlay@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-12.0.7.tgz#ae8f9bd14b1786e52330b729ff63061735d21c77" + integrity sha512-dSQLgpZ5uzyittFtIHlJCLAbc0LlMFbRBSYuGsIlrtGyjYN+WMcnz8lK48VLxNPFGuB/hEzkWV4TW5Zu75+Fzg== dependencies: "@babel/code-frame" "7.12.11" anser "1.4.9" @@ -1484,65 +1484,65 @@ stacktrace-parser "0.1.10" strip-ansi "6.0.1" -"@next/react-refresh-utils@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-12.0.4.tgz#20d43626498c451f71bb0bb26c3f780ad90f5fd6" - integrity sha512-kNUDmpBaJ+8Lb8CtKNynRFF9oijCjUKKru6Ont+JKhti9//5dNFFIcuo607bJSH86un06OEK0TZUt5XWVlbkjw== - -"@next/swc-android-arm64@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.0.4.tgz#e3ad69d3aadbd1d3ff0768b4f02b66c3806aa6b2" - integrity sha512-6mXumia8ZPcy7bYu9kjItfWxrE6SFaJyqQDaFy9G9WrU9x3M1R1Yok8B2X1mboM8itD0tq+t3R/ebQEkkmevUw== - -"@next/swc-darwin-arm64@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.0.4.tgz#bc083ed3ad5e6971d2f374f38a7d8f3c46a6de0a" - integrity sha512-7WMen1qhF5JmjKD9S5IEgEoaPJOXyIZj/Nsqa8ZSWxdF5oogp3uYYbKb/rvMYoKzpIbjyoLH/OCM5lm5IFM4iw== - -"@next/swc-darwin-x64@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.0.4.tgz#84855d4c9fef3b3a094c0f2424ae2b7e6dc29caa" - integrity sha512-PVgefMWjxP6CU1HQs39+Bfpjcue6qErJfvJ/+n2zimjLzyeQAmD6LM9f1lDSttW2LjKjasoxR5qkRNLVlqzlaA== - -"@next/swc-linux-arm-gnueabihf@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.0.4.tgz#090156c4fc88d86ebc67df35e99daa97ddb232de" - integrity sha512-8xGQu3sJiIdriKiCux3jDJ9pwivELEg7z2zfW0CqmQMbKNB7qP9lc0pq6CxshtKyXRMczNWRMtQ3Cjwep+UvNg== - -"@next/swc-linux-arm64-gnu@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.0.4.tgz#3ddda6eb703eda411b117d1974f08e028bb987ed" - integrity sha512-HhEWcBkqGr3E7SYLtN9VnYUGamAWaLcXawHN33Em0WP7gzXrBqz0iIJNH7uEzHDS6980EqU/rrkLyhCHrYSZgQ== - -"@next/swc-linux-arm64-musl@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.0.4.tgz#a17985b811166bb3598816009e5f025539827c21" - integrity sha512-oZyQ9wjtE7OX9RlnovP7izNx2AR/RzTuYWU4Ttim8ssABsipQSxSlfRaeb+Qi6jTc6k+lrPhjRfaZ+fGv/m2Ag== - -"@next/swc-linux-x64-gnu@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.0.4.tgz#46fa9f4a4d381d41c0fc75912810e72468b0fb49" - integrity sha512-aBuf78QzL93T59Lk9kEGfHcA+9SzYIH7dGon1nqVxtAd2iqicKYNVaVcb38VKeiIBXMSUHXTdu6Ee053ZCOmSw== - -"@next/swc-linux-x64-musl@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.0.4.tgz#5e07982c84df77ddad537f3abca7d0f52504fc08" - integrity sha512-yDgqUqL4H8M3Y0hv30ZyL9UvjnK4iXmD4I6iJz+XIHSRdA/VUiyKKoL7okf9hxr0mSxBtagbZ5A3qEoW/VliUQ== - -"@next/swc-win32-arm64-msvc@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.0.4.tgz#17705a3d20b35fddd2f61c4d2e491bbf6909e71a" - integrity sha512-evDUrEYsUo+PMHsedaymfZO98VwV9wNFzuWVCyKgqg6SD1ZRpzbpqYQY7aINIuqZVdIWZElBE6EM+oxaj7PuWQ== - -"@next/swc-win32-ia32-msvc@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.0.4.tgz#a2a6d5c09a07c62d3a6b5b6dbc4443b566b8385b" - integrity sha512-Lbmz0xlo8vW4EDWyzCfy3nGfqt7skqwxaERwe+vDVTBZ56mvJ5dsdyjqK24sxu4FFkWR7SaU4eNlHwZR+A3kTg== - -"@next/swc-win32-x64-msvc@12.0.4": - version "12.0.4" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.0.4.tgz#acb9ffb17118b797d8c76dd688dd0aec5fa65cd4" - integrity sha512-f+7WNIJOno5QEelrmob+3vN5EZJb3KCkOrnvUsQ0+LCCD0dIPIhCjeHAh3BGj9msGu8ijnXvD7JxVxE5V26cnQ== +"@next/react-refresh-utils@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-12.0.7.tgz#921c403798e188b4f1d9e609283c0e8d3e532f89" + integrity sha512-Pglj1t+7RxH0txEqVcD8ZxrJgqLDmKvQDqxKq3ZPRWxMv7LTl7FVT2Pnb36QFeBwCvMVl67jxsADKsW0idz8sA== + +"@next/swc-android-arm64@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.0.7.tgz#9b0a9e4bc646a045eef725764112096f0a6ea204" + integrity sha512-yViT7EEc7JqxncRT+ZTeTsrAYXLlcefo0Y0eAfYmmalGD2605L4FWAVrJi4WnrSLji7l+veczw1WBmNeHICKKA== + +"@next/swc-darwin-arm64@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.0.7.tgz#2fd506dba91e4a35036b9fc7930a4d6b8895f16a" + integrity sha512-vhAyW2rDEUcQesRVaj0z1hSoz7QhDzzGd0V1/5/5i9YJOfOtyrPsVJ82tlf7BfXl6/Ep+eKNfWVIb5/Jv89EKg== + +"@next/swc-darwin-x64@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.0.7.tgz#b3016503caa5ed5cc6a20051517d5b2a79cfdc58" + integrity sha512-km+6Rx6TvbraoQ1f0MXa69ol/x0RxzucFGa2OgZaYJERas0spy0iwW8hpASsGcf597D8VRW1x+R2C7ZdjVBSTw== + +"@next/swc-linux-arm-gnueabihf@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.0.7.tgz#8e91ecddc2d6d26946949a67d481110db3063d09" + integrity sha512-d0zWr877YqZ2cf/DQy6obouaR39r0FPebcXj2nws9AC99m68CO2xVpWv9jT7mFvpY+T40HJisLH80jSZ2iQ9sA== + +"@next/swc-linux-arm64-gnu@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.0.7.tgz#1eefcf7b063610315b74e5c7dc24c3437370e49d" + integrity sha512-fdobh5u6gG13Gd5LkHhJ+W8tF9hbaFolRW99FhzArMe5/nMKlLdBymOxvitE3K4gSFQxbXJA6TbU0Vv0e59Kww== + +"@next/swc-linux-arm64-musl@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.0.7.tgz#e9e764519dfb75e43355c442181346cd6e72459b" + integrity sha512-vx0c5Q3oIScFNT/4jI9rCe0yPzKuCqWOkiO/OOV0ixSI2gLhbrwDIcdkm79fKVn3i8JOJunxE4zDoFeR/g8xqQ== + +"@next/swc-linux-x64-gnu@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.0.7.tgz#fef02e14ed8f9c114479dabba1475ae2d3bb040d" + integrity sha512-9ITyp6s6uGVKNx3C/GP7GrYycbcwTADG7TdIXzXUxOOZORrdB1GNg3w/EL3Am4VMPPEpO6v1RfKo2IKZpVKfTA== + +"@next/swc-linux-x64-musl@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.0.7.tgz#07dc334b1924d9f5a8c4a891b91562af19ff5de4" + integrity sha512-C+k+cygbIZXYfc+Hx2fNPUBEg7jzio+mniP5ywZevuTXW14zodIfQ3ZMoMJR8EpOVvYpjWFk2uAjiwqgx8vo/g== + +"@next/swc-win32-arm64-msvc@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.0.7.tgz#6c559d87ce142693173039a18b1c1d65519762dd" + integrity sha512-7jTRjOKkDVnb5s7VoHT7eX+eyT/5BQJ/ljP2G56riAgKGqPL63/V7FXemLhhLT67D+OjoP8DRA2E2ne6IPHk4w== + +"@next/swc-win32-ia32-msvc@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.0.7.tgz#16b23f2301b16877b3623f0e8364e8177e2ef7db" + integrity sha512-2u5pGDsk7H6gGxob2ATIojzlwKzgYsrijo7RRpXOiPePVqwPWg6/pmhaJzLdpfjaBgRg1NFmwSp/7Ump9X8Ijg== + +"@next/swc-win32-x64-msvc@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.0.7.tgz#8d75d3b6a872ab97ab73e3b4173d56dbb2991917" + integrity sha512-frEWtbf+q8Oz4e2UqKJrNssk6DZ6/NLCQXn5/ORWE9dPAfe9XS6aK5FRZ6DuEPmmKd5gOoRkKJFFz5nYd+TeyQ== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -4697,18 +4697,18 @@ neo-async@^2.6.2: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -next@^12.0.4: - version "12.0.4" - resolved "https://registry.yarnpkg.com/next/-/next-12.0.4.tgz#096578b320f0faf0bd51798decb39aaf00052efe" - integrity sha512-1pvjcSZBm5OLoGmDhp4JwKwIE798WbqUNLuyU7w6a2jUkdWaxOYtkE/ROXQTi2pXHj7+6rm68AvhxROLX2NHQg== +next@^12.0.7: + version "12.0.7" + resolved "https://registry.yarnpkg.com/next/-/next-12.0.7.tgz#33ebf229b81b06e583ab5ae7613cffe1ca2103fc" + integrity sha512-sKO8GJJYfuk9c+q+zHSNumvff+wP7ufmOlwT6BuzwiYfFJ61VTTkfTcDLSJ+95ErQJiC54uS4Yg5JEE8H6jXRA== dependencies: "@babel/runtime" "7.15.4" "@hapi/accept" "5.0.2" "@napi-rs/triples" "1.0.3" - "@next/env" "12.0.4" - "@next/polyfill-module" "12.0.4" - "@next/react-dev-overlay" "12.0.4" - "@next/react-refresh-utils" "12.0.4" + "@next/env" "12.0.7" + "@next/polyfill-module" "12.0.7" + "@next/react-dev-overlay" "12.0.7" + "@next/react-refresh-utils" "12.0.7" acorn "8.5.0" assert "2.0.0" browserify-zlib "0.2.0" @@ -4750,19 +4750,19 @@ next@^12.0.4: use-subscription "1.5.1" util "0.12.4" vm-browserify "1.1.2" - watchpack "2.1.1" + watchpack "2.3.0" optionalDependencies: - "@next/swc-android-arm64" "12.0.4" - "@next/swc-darwin-arm64" "12.0.4" - "@next/swc-darwin-x64" "12.0.4" - "@next/swc-linux-arm-gnueabihf" "12.0.4" - "@next/swc-linux-arm64-gnu" "12.0.4" - "@next/swc-linux-arm64-musl" "12.0.4" - "@next/swc-linux-x64-gnu" "12.0.4" - "@next/swc-linux-x64-musl" "12.0.4" - "@next/swc-win32-arm64-msvc" "12.0.4" - "@next/swc-win32-ia32-msvc" "12.0.4" - "@next/swc-win32-x64-msvc" "12.0.4" + "@next/swc-android-arm64" "12.0.7" + "@next/swc-darwin-arm64" "12.0.7" + "@next/swc-darwin-x64" "12.0.7" + "@next/swc-linux-arm-gnueabihf" "12.0.7" + "@next/swc-linux-arm64-gnu" "12.0.7" + "@next/swc-linux-arm64-musl" "12.0.7" + "@next/swc-linux-x64-gnu" "12.0.7" + "@next/swc-linux-x64-musl" "12.0.7" + "@next/swc-win32-arm64-msvc" "12.0.7" + "@next/swc-win32-ia32-msvc" "12.0.7" + "@next/swc-win32-x64-msvc" "12.0.7" nice-try@^1.0.4: version "1.0.5" @@ -6674,15 +6674,7 @@ vm-browserify@1.1.2: resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== -watchpack@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.1.1.tgz#e99630550fca07df9f90a06056987baa40a689c7" - integrity sha512-Oo7LXCmc1eE1AjyuSBmtC3+Wy4HcV8PxWh2kP6fOl8yTlNS7r0K9l1ao2lrrUza7V39Y3D/BbJgY8VeSlc5JKw== - dependencies: - glob-to-regexp "^0.4.1" - graceful-fs "^4.1.2" - -watchpack@^2.3.0: +watchpack@2.3.0, watchpack@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.3.0.tgz#a41bca3da6afaff31e92a433f4c856a0c25ea0c4" integrity sha512-MnN0Q1OsvB/GGHETrFeZPQaOelWh/7O+EiFlj8sM9GPjtQkis7k01aAxrg/18kTfoIVcLL+haEVFlXDaSRwKRw== From 1b32d9abaf99bb22c35c58888152ab4476fcfd6c Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Mon, 6 Dec 2021 13:02:33 +0530 Subject: [PATCH 34/99] Moved to a new folder --- public/img/docs/jvm-jre-jdk/1.svg | 27 ---------------------- public/img/docs/jvm-jre-jdk/2.svg | 13 ----------- public/img/docs/jvm-jre-jdk/4.svg | 26 --------------------- src/img/docs/jvm-jre-jdk/1.svg | 1 + src/img/docs/jvm-jre-jdk/2.svg | 1 + {public => src}/img/docs/jvm-jre-jdk/3.svg | 0 src/img/docs/jvm-jre-jdk/4.svg | 1 + 7 files changed, 3 insertions(+), 66 deletions(-) delete mode 100644 public/img/docs/jvm-jre-jdk/1.svg delete mode 100644 public/img/docs/jvm-jre-jdk/2.svg delete mode 100644 public/img/docs/jvm-jre-jdk/4.svg create mode 100644 src/img/docs/jvm-jre-jdk/1.svg create mode 100644 src/img/docs/jvm-jre-jdk/2.svg rename {public => src}/img/docs/jvm-jre-jdk/3.svg (100%) create mode 100644 src/img/docs/jvm-jre-jdk/4.svg diff --git a/public/img/docs/jvm-jre-jdk/1.svg b/public/img/docs/jvm-jre-jdk/1.svg deleted file mode 100644 index c18e63a9..00000000 --- a/public/img/docs/jvm-jre-jdk/1.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/img/docs/jvm-jre-jdk/2.svg b/public/img/docs/jvm-jre-jdk/2.svg deleted file mode 100644 index 8d16d87e..00000000 --- a/public/img/docs/jvm-jre-jdk/2.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/public/img/docs/jvm-jre-jdk/4.svg b/public/img/docs/jvm-jre-jdk/4.svg deleted file mode 100644 index 05bbde33..00000000 --- a/public/img/docs/jvm-jre-jdk/4.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/img/docs/jvm-jre-jdk/1.svg b/src/img/docs/jvm-jre-jdk/1.svg new file mode 100644 index 00000000..9659078a --- /dev/null +++ b/src/img/docs/jvm-jre-jdk/1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/img/docs/jvm-jre-jdk/2.svg b/src/img/docs/jvm-jre-jdk/2.svg new file mode 100644 index 00000000..deaf1fed --- /dev/null +++ b/src/img/docs/jvm-jre-jdk/2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/docs/jvm-jre-jdk/3.svg b/src/img/docs/jvm-jre-jdk/3.svg similarity index 100% rename from public/img/docs/jvm-jre-jdk/3.svg rename to src/img/docs/jvm-jre-jdk/3.svg diff --git a/src/img/docs/jvm-jre-jdk/4.svg b/src/img/docs/jvm-jre-jdk/4.svg new file mode 100644 index 00000000..8c78e1bd --- /dev/null +++ b/src/img/docs/jvm-jre-jdk/4.svg @@ -0,0 +1 @@ + \ No newline at end of file From 787a9f889cafed788bc2abf26b93568ff0e621fe Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Mon, 6 Dec 2021 13:02:56 +0530 Subject: [PATCH 35/99] Update jvm-jre-jdk.mdx --- src/pages/docs/jvm-jre-jdk.mdx | 76 +++++++++++++++++++++++++++------- 1 file changed, 62 insertions(+), 14 deletions(-) diff --git a/src/pages/docs/jvm-jre-jdk.mdx b/src/pages/docs/jvm-jre-jdk.mdx index a45a1131..9756873a 100644 --- a/src/pages/docs/jvm-jre-jdk.mdx +++ b/src/pages/docs/jvm-jre-jdk.mdx @@ -5,6 +5,7 @@ description: Definations of JDK, JRE and JVM import { Heading } from '@/components/Heading' import Link from 'next/link' +import NextImage from 'next/image' In this tutorial, you will learn about [JDK](#what-is-jdk), [JRE](#what-is-jre), and [JVM](#what-is-jvm). You will also learn the key differences between them. @@ -19,10 +20,21 @@ Java is a **platform-independent language**. It's because when you write Java co
- - -**Working of a Java Program** - + + + +

Working of a Java Program

If you are interested in learning about JVM Architecture, visit [The JVM Architecture Explained](https://dzone.com/articles/jvm-architecture-explained). @@ -34,10 +46,23 @@ If you are interested in learning about JVM Architecture, visit [The JVM Archite JRE is the superset of JVM.
-
- -**Java Runtime Environment** +
+ + + +

Java Runtime Environment

@@ -50,10 +75,22 @@ If you need to run Java programs, but not develop them, JRE is what you need. Yo In addition to JRE, JDK also contains a number of development tools (compilers, JavaDoc, Java Debugger, etc).
-
- - **Java Development Kit** +
+ + +

Java Development Kit

@@ -62,9 +99,20 @@ If you want to develop Java applications, [download JDK](http://www.oracle.com/t ## Relationship between JVM, JRE, and JDK.
-
- - - **Relationship between JVM, JRE, and JDK** +
+ + +

Relationship between JVM, JRE, and JDK

\ No newline at end of file From 20f3f3dd4b567cd10198667ec28b83436fd240d6 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Tue, 7 Dec 2021 04:06:12 +0530 Subject: [PATCH 36/99] Update @docsearch/react to version 3.0.0-alpha.42 --- package.json | 2 +- yarn.lock | 51 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 31 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 504bfea1..b45be385 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ ], "dependencies": { "@badrap/bar-of-progress": "^0.1.2", - "@docsearch/react": "^1.0.0-alpha.28", + "@docsearch/react": "3.0.0-alpha.42", "@formspree/react": "^2.2.4", "@headlessui/react": "^1.4.2", "@heroicons/react": "^1.0.5", diff --git a/yarn.lock b/yarn.lock index b77fc45f..f4a32528 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,25 @@ # yarn lockfile v1 +"@algolia/autocomplete-core@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.5.0.tgz#6c91c9de7748e9c103846828a58dfe92bd4d6689" + integrity sha512-E7+VJwcvwMM8vPeaVn7fNUgix8WHV8A1WUeHDi2KHemCaaGc8lvUnP3QnvhMxiDhTe7OpMEv4o2TBUMyDgThaw== + dependencies: + "@algolia/autocomplete-shared" "1.5.0" + +"@algolia/autocomplete-preset-algolia@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.0.tgz#61671f09c0c77133d9baf1356719f8378c48437a" + integrity sha512-iiFxKERGHkvkiupmrFJbvESpP/zv5jSgH714XRiP5LDvUHaYOo4GLAwZCFf2ef/L5tdtPBARvekn6k1Xf33gjA== + dependencies: + "@algolia/autocomplete-shared" "1.5.0" + +"@algolia/autocomplete-shared@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.0.tgz#09580bc89408a2ab5f29e312120dad68f58019bd" + integrity sha512-bRSkqHHHSwZYbFY3w9hgMyQRm86Wz27bRaGCbNldLfbk0zUjApmE4ajx+ZCVSLqxvcUEjMqZFJzDsder12eKsg== + "@algolia/cache-browser-local-storage@4.10.3": version "4.10.3" resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.10.3.tgz#3bf81e0f66a4a1079a75914a987eb1ef432c7c68" @@ -1308,19 +1327,19 @@ resolved "https://registry.yarnpkg.com/@badrap/bar-of-progress/-/bar-of-progress-0.1.2.tgz#5d9cf85759e1f77bddcb74398530976d87bb5077" integrity sha512-bCwx/HbgUfJEndzlubJF5FVQrFEcGX4HZsoCfoa+gSq37pjbJBvIyqMBLIGnb5y0ICovIrxJUxvlbmxeic0rSQ== -"@docsearch/css@^1.0.0-alpha.28": - version "1.0.0-alpha.28" - resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-1.0.0-alpha.28.tgz#c8a2cd8c1bb3a6855c51892e9dbdab5d42fe6e23" - integrity sha512-1AhRzVdAkrWwhaxTX6/R7SnFHz8yLz1W8I/AldlTrfbNvZs9INk1FZiEFTJdgHaP68nhgQNWSGlQiDiI3y2RYg== +"@docsearch/css@3.0.0-alpha.42": + version "3.0.0-alpha.42" + resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.0.0-alpha.42.tgz#deb6049e999d6ca9451eba4793cb5b6da28c8773" + integrity sha512-AGwI2AXUacYhVOHmYnsXoYDJKO6Ued2W+QO80GERbMLhC7GH5tfvtW5REs/s7jSdcU3vzFoxT8iPDBCh/PkrlQ== -"@docsearch/react@^1.0.0-alpha.28": - version "1.0.0-alpha.28" - resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-1.0.0-alpha.28.tgz#4f039ed79f8b3332b19a57677b219aebc5010e9d" - integrity sha512-XjJOnCBXn+UZmtuDmgzlVIHnnvh6yHVwG4aFq8AXN6xJEIX3f180FvGaowFWAxgdtHplJxFGux0Xx4piHqBzIw== +"@docsearch/react@3.0.0-alpha.42": + version "3.0.0-alpha.42" + resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.0.0-alpha.42.tgz#1d22a2b05779f24d090ff8d7ff2699e4d50dff5c" + integrity sha512-1aOslZJDxwUUcm2QRNmlEePUgL8P5fOAeFdOLDMctHQkV2iTja9/rKVbkP8FZbIUnZxuuCCn8ErLrjD/oXWOag== dependencies: - "@docsearch/css" "^1.0.0-alpha.28" - "@francoischalifour/autocomplete-core" "^1.0.0-alpha.28" - "@francoischalifour/autocomplete-preset-algolia" "^1.0.0-alpha.28" + "@algolia/autocomplete-core" "1.5.0" + "@algolia/autocomplete-preset-algolia" "1.5.0" + "@docsearch/css" "3.0.0-alpha.42" algoliasearch "^4.0.0" "@emotion/is-prop-valid@^0.8.2": @@ -1351,16 +1370,6 @@ dependencies: "@formspree/core" "^2.6.1" -"@francoischalifour/autocomplete-core@^1.0.0-alpha.28": - version "1.0.0-alpha.28" - resolved "https://registry.yarnpkg.com/@francoischalifour/autocomplete-core/-/autocomplete-core-1.0.0-alpha.28.tgz#6b9d8491288e77f831e9b345d461623b0d3f5005" - integrity sha512-rL9x+72btViw+9icfBKUJjZj87FgjFrD2esuTUqtj4RAX3s4AuVZiN8XEsfjQBSc6qJk31cxlvqZHC/BIyYXgg== - -"@francoischalifour/autocomplete-preset-algolia@^1.0.0-alpha.28": - version "1.0.0-alpha.28" - resolved "https://registry.yarnpkg.com/@francoischalifour/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.0.0-alpha.28.tgz#a5ad7996f42e43e4acbb4e0010d663746d0e9997" - integrity sha512-bprfNmYt1opFUFEtD2XfY/kEsm13bzHQgU80uMjhuK0DJ914IjolT1GytpkdM6tJ4MBvyiJPP+bTtWO+BZ7c7w== - "@hapi/accept@5.0.2": version "5.0.2" resolved "https://registry.yarnpkg.com/@hapi/accept/-/accept-5.0.2.tgz#ab7043b037e68b722f93f376afb05e85c0699523" From 21617271fda3d47e25f8de074e3bc2d3305c1ed1 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Tue, 7 Dec 2021 04:14:13 +0530 Subject: [PATCH 37/99] Update SidebarLayout.js --- src/layouts/SidebarLayout.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/layouts/SidebarLayout.js b/src/layouts/SidebarLayout.js index f6e9be60..f0cfd22c 100644 --- a/src/layouts/SidebarLayout.js +++ b/src/layouts/SidebarLayout.js @@ -55,7 +55,7 @@ function Nav({ nav, children, fallbackHref }) {