Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 59 additions & 2 deletions src/features/language/courseCatalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
Table2,
Terminal,
Presentation,
Coffee,
} from "lucide-react";

export function languageKey(value = "") {
Expand Down Expand Up @@ -107,8 +108,8 @@ export const languageCourses = {
description:
"Master the art of plotting, charts, and customizing beautiful data science visualizations from scratch.",
href: "/learn/matplotlib-py",
accent: "#239120", // Give it a distinct color hex code
icon: Presentation, // You can use 'Presentation', 'LineChart', or 'BarChart2' from lucide-react
accent: "#239120",
icon: Presentation,
},
],
javascript: [
Expand Down Expand Up @@ -144,6 +145,55 @@ export const languageCourses = {
accent: "#179c24",
},
],

// ── Java Courses ─────────────────────────────────────────────────────────────
java: [
{
title: "Java Fundamentals",
tag: "Beginner Course",
icon: Coffee,
description:
"Java syntax, variables, control flow, methods, arrays, classes, strings, and user input — everything to write real Java from scratch.",
href: "/hub?language=Java&category=01-beginner",
accent: "#e76f00",
},
{
title: "Java Intermediate",
tag: "OOP Course",
icon: Boxes,
description:
"Inheritance, interfaces, collections, exception handling, generics, and file I/O — the core pillars of professional Java.",
href: "/hub?language=Java&category=02-intermediate",
accent: "#f59e0b",
},
{
title: "Java Advanced",
tag: "Advanced Course",
icon: Layers3,
description:
"Streams API, lambda expressions, multithreading, Optional, and JDBC — write fast, modern, production-ready Java.",
href: "/hub?language=Java&category=03-advanced",
accent: "#3b82f6",
},
{
title: "Spring Boot & REST",
tag: "Professional Course",
icon: Grid3x3,
description:
"Build REST APIs with Spring Boot, Spring Data JPA, Maven, request validation, and unit testing with JUnit and Mockito.",
href: "/hub?language=Java&category=04-professional",
accent: "#22c55e",
},
{
title: "Java Mastery",
tag: "Mastery Course",
icon: Brain,
description:
"Algorithms, data structures, design patterns, Big-O analysis, and full interview preparation to become a confident Java developer.",
href: "/hub?language=Java&category=05-mastery",
accent: "#a855f7",
},
],
};

/** Navbar learn links per language (mirrors languageCourses). */
Expand All @@ -162,6 +212,13 @@ export const learnNavByLanguage = {
{ label: "Matplotlib", to: "/learn/matplotlib-py" },
],
javascript: [{ label: "JS Basics", to: "/learn/js-fundamentals" }],
java: [
{ label: "Fundamentals", to: "/hub?language=Java&category=01-beginner" },
{ label: "Intermediate", to: "/hub?language=Java&category=02-intermediate" },
{ label: "Advanced", to: "/hub?language=Java&category=03-advanced" },
{ label: "Spring Boot", to: "/hub?language=Java&category=04-professional" },
{ label: "Mastery", to: "/hub?language=Java&category=05-mastery" },
],
};

/** Infer stack from an active /learn/* route when language is not set. */
Expand Down