Skip to content

Commit 3a2346d

Browse files
committed
Remove unused component
Remove `import { Heading } from '@/components/Heading'` from all pages
1 parent 1cc2544 commit 3a2346d

13 files changed

Lines changed: 12 additions & 17 deletions

src/pages/docs/basic-input-output.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ description: In this tutorial, you will learn simple ways to display output to
44

55
---
66

7-
import { Heading } from '@/components/Heading'
8-
import Link from 'next/link'
97
import { TipInfo } from '@/components/Tip'
108

11-
12-
139
## Java Output
1410
In Java, you can simply use
1511

src/pages/docs/comments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Java Comments
33
description: In this tutorial, you will learn about Java comments, why we use them, and how to use comments in right way.
44
---
55

6-
import { Heading } from '@/components/Heading'
6+
77
import Link from 'next/link'
88
import { TipInfo } from '@/components/Tip'
99

src/pages/docs/expressions-statements-blocks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Java Expressions, Statements and Blocks
33
description: In this tutorial, you will learn about Java expressions, Java statements, difference between expression and statement, and Java blocks with the help of examples.
44
---
55

6-
import { Heading } from '@/components/Heading'
6+
77
import Link from 'next/link'
88
import { TipInfo } from '@/components/Tip'
99

src/pages/docs/hello-world.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ title: Hello World
33
description: In this tutorial, you will learn to write "Hello World" program in Java.
44
---
55

6-
import { Heading } from '@/components/Heading'
76
import { List, ListItemGood } from '@/components/List'
8-
import Link from 'next/link'
7+
98

109
A "Hello, World!" is a simple program that outputs `Hello, World!` on the screen. Since it's a very simple program, it's often used to introduce a new programming language to a newbie.
1110

src/pages/docs/if-else-statement.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Java if...else Statement
33
description: n this tutorial, you will learn about control flow statements using Java if and if...else statements with the help of examples.
44
---
55

6-
import { Heading } from '@/components/Heading'
6+
77
import { TipInfo } from '@/components/Tip'
88
import Link from 'next/link'
99
import NextImage from 'next/image'

src/pages/docs/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Installation
33
description: Learn how to get Java up and running in your project.
44
---
55

6-
import { Heading } from '@/components/Heading'
6+
77
import Link from 'next/link'
88

99
## Installation

src/pages/docs/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Introduction
33
description: A guick intro to Java programming language
44
---
55

6-
import { Heading } from '@/components/Heading'
6+
77
import { List, ListItemGood,ListItemBad } from '@/components/List'
88
import Link from 'next/link'
99

src/pages/docs/jvm-jre-jdk.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Java JDK, JRE and JVM
33
description: Definations of JDK, JRE and JVM
44
---
55

6-
import { Heading } from '@/components/Heading'
6+
77
import Link from 'next/link'
88
import NextImage from 'next/image'
99

src/pages/docs/operators.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: In this tutorial, you'll learn about different types of operators i
44

55
---
66

7-
import { Heading } from '@/components/Heading'
7+
88
import { TipInfo } from '@/components/Tip'
99
import Link from 'next/link'
1010

src/pages/docs/variables-and-literals.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Java Variables and Literals
33
description: Variables and Literals in Java
44
---
55

6-
import { Heading } from '@/components/Heading'
6+
77
import Link from 'next/link'
88
import { TipInfo } from '@/components/Tip'
99

0 commit comments

Comments
 (0)