diff --git a/content/docs/for-loop.mdx b/content/docs/for-loop.mdx index 80e0fa47..42538283 100644 --- a/content/docs/for-loop.mdx +++ b/content/docs/for-loop.mdx @@ -38,7 +38,7 @@ To learn more about the conditions, visit [Java relational](operators#3-java-rel ![Working of Java if statement](/img/docs/working-of-for-loop.svg) -

+

Flowchart of Java for loop

diff --git a/content/docs/if-else-statement.mdx b/content/docs/if-else-statement.mdx index e7db83be..222f09d0 100644 --- a/content/docs/if-else-statement.mdx +++ b/content/docs/if-else-statement.mdx @@ -32,7 +32,7 @@ Here, `condition` is a boolean expression such as `age >= 18`. ![Working of Java if statement](/img/docs/wroking-of-java-if-statement.svg) -

+

Working of Java if statement

@@ -120,7 +120,7 @@ Here, the program will do one task (codes inside if block) if the condition is t
![Working of Java if statement](/img/docs/wroking-of-if-else-statement.svg) -

+

Working of Java if-else statements

diff --git a/content/docs/introduction.mdx b/content/docs/introduction.mdx index a6cfd72a..f99f47b8 100644 --- a/content/docs/introduction.mdx +++ b/content/docs/introduction.mdx @@ -1,5 +1,5 @@ --- -title: Introduction +title: Introduction to Java description: A quick introduction to Java programming language - features, applications, and getting started guide for beginners icon: Album --- @@ -79,10 +79,7 @@ Besides these applications, Java is also used for game development, scientific a #### 1. Learn Java from Javaistic - - Javaistic - -offers a complete series of easy to follow Java tutorials along with suitable +Javaistic offers a complete series of easy to follow Java tutorials along with suitable examples. These tutorials are targeted for absolute beginners with no prior knowledge of Java programming language. diff --git a/content/docs/switch-statement.mdx b/content/docs/switch-statement.mdx index 99fe64e0..e861c635 100644 --- a/content/docs/switch-statement.mdx +++ b/content/docs/switch-statement.mdx @@ -106,7 +106,7 @@ Here, the `size` variable is assigned with the value `Large`. ![Working of Java if statement](/img/docs/switch-case-flowchart.svg) -

+

Flow chart of the Java switch statement

diff --git a/public/bg.webp b/public/bg.webp new file mode 100644 index 00000000..2cb57e20 Binary files /dev/null and b/public/bg.webp differ diff --git a/public/img/docs-dark.png b/public/img/docs-dark.png new file mode 100644 index 00000000..ef9d9035 Binary files /dev/null and b/public/img/docs-dark.png differ diff --git a/public/img/docs-light.png b/public/img/docs-light.png new file mode 100644 index 00000000..68c25893 Binary files /dev/null and b/public/img/docs-light.png differ diff --git a/public/img/os-dark.png b/public/img/os-dark.png new file mode 100644 index 00000000..9eb97a12 Binary files /dev/null and b/public/img/os-dark.png differ diff --git a/public/img/os-light.png b/public/img/os-light.png new file mode 100644 index 00000000..b78933df Binary files /dev/null and b/public/img/os-light.png differ diff --git a/public/img/playground-dark.png b/public/img/playground-dark.png new file mode 100644 index 00000000..9b6d6780 Binary files /dev/null and b/public/img/playground-dark.png differ diff --git a/public/img/playground-light.png b/public/img/playground-light.png new file mode 100644 index 00000000..0c06befc Binary files /dev/null and b/public/img/playground-light.png differ diff --git a/public/img/programs-dark.png b/public/img/programs-dark.png new file mode 100644 index 00000000..7bd71974 Binary files /dev/null and b/public/img/programs-dark.png differ diff --git a/public/img/programs-light.png b/public/img/programs-light.png new file mode 100644 index 00000000..0fbcc523 Binary files /dev/null and b/public/img/programs-light.png differ diff --git a/public/img/ui-dark.png b/public/img/ui-dark.png new file mode 100644 index 00000000..13cd52e9 Binary files /dev/null and b/public/img/ui-dark.png differ diff --git a/public/img/ui-light.png b/public/img/ui-light.png new file mode 100644 index 00000000..4cfd3745 Binary files /dev/null and b/public/img/ui-light.png differ diff --git a/src/app/(site)/contact/page.tsx b/src/app/(site)/contact/page.tsx index c1bad4df..ae435326 100644 --- a/src/app/(site)/contact/page.tsx +++ b/src/app/(site)/contact/page.tsx @@ -1,19 +1,19 @@ "use client"; import { motion, easeOut } from "framer-motion"; -import { - Mail, - MessageSquare, - Github, - Users, - MapPin, - Clock, - Send, +import { + Mail, + MessageSquare, + Github, + Users, + MapPin, + Clock, + Send, Globe, BookOpen, Bug, Lightbulb, Heart, - ExternalLink + ExternalLink, } from "lucide-react"; import { useState, useEffect } from "react"; import Particles from "@/components/Particles"; @@ -33,10 +33,12 @@ const ContactUsPage = () => { email: "", subject: "", category: "", - message: "" + message: "", }); const [isSubmitting, setIsSubmitting] = useState(false); - const [submitStatus, setSubmitStatus] = useState<'idle' | 'success' | 'error'>('idle'); + const [submitStatus, setSubmitStatus] = useState< + "idle" | "success" | "error" + >("idle"); useEffect(() => { const checkDarkMode = () => { @@ -152,72 +154,76 @@ const ContactUsPage = () => { }; const contactMethods = [ - { - title: "General Inquiries", - url: "#general", - icon: , - description: "Questions about Javaistic platform" + { + title: "General Inquiries", + url: "#general", + icon: , + description: "Questions about Javaistic platform", }, - { - title: "Technical Support", - url: "#support", - icon: , - description: "Issues with learning platform" + { + title: "Technical Support", + url: "#support", + icon: , + description: "Issues with learning platform", }, - { - title: "Community", - url: "#community", - icon: , - description: "Join our programming community" + { + title: "Community", + url: "#community", + icon: , + description: "Join our programming community", }, - { - title: "Contributions", - url: "#contribute", - icon: , - description: "Contribute to open source" + { + title: "Contributions", + url: "#contribute", + icon: , + description: "Contribute to open source", }, - { - title: "Partnerships", - url: "#partnerships", - icon: , - description: "Collaborate with us" + { + title: "Partnerships", + url: "#partnerships", + icon: , + description: "Collaborate with us", + }, + { + title: "Feedback", + url: "#feedback", + icon: , + description: "Share your suggestions", }, - { - title: "Feedback", - url: "#feedback", - icon: , - description: "Share your suggestions" - } ]; - const handleInputChange = (e: React.ChangeEvent) => { + const handleInputChange = ( + e: React.ChangeEvent< + HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement + >, + ) => { const { name, value } = e.target; - setFormData(prev => ({ + setFormData((prev) => ({ ...prev, - [name]: value + [name]: value, })); }; const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); setIsSubmitting(true); - + // Simulate form submission try { - await new Promise(resolve => setTimeout(resolve, 2000)); - setSubmitStatus('success'); + await new Promise((resolve) => setTimeout(resolve, 2000)); + setSubmitStatus("success"); setFormData({ name: "", email: "", subject: "", category: "", - message: "" + message: "", }); - } catch (error) { - setSubmitStatus('error'); + } catch { + setSubmitStatus("error"); } finally { setIsSubmitting(false); - setTimeout(() => setSubmitStatus('idle'), 5000); + setTimeout(() => setSubmitStatus("idle"), 5000); } }; @@ -249,7 +255,7 @@ const ContactUsPage = () => { />
-
+
{/* Header */} { Us - + - We'd love to hear from you! Whether you have questions, feedback, or want to contribute to our open-source Java learning platform. + We'd love to hear from you! Whether you have questions, + feedback, or want to contribute to our open-source Java learning + platform. - + -

Response Time: Usually within 24 hours

-

Support Hours: Monday - Friday, 9 AM - 6 PM UTC

+

+ Response Time: Usually + within 24 hours +

+

+ Support Hours: Monday - + Friday, 9 AM - 6 PM UTC +

{/* Main Content */} -
+
{/* Contact Methods Sidebar */} { animate="visible" >
- -

+ +

How can we help?