From 1f3f300eb3ff640eef448cbc0678aed92a72c0a4 Mon Sep 17 00:00:00 2001
From: Arghya Ghosh <71373838+arghyaxcodes@users.noreply.github.com>
Date: Wed, 22 Apr 2026 04:24:11 +0530
Subject: [PATCH 1/5] feat(project): formatted code and minor updates
---
src/app/api/releases/route.ts | 2 +-
src/app/api/search/route.ts | 2 +-
src/app/docs/layout.tsx | 4 +-
src/app/layout.config.tsx | 3 +-
src/app/robots.ts | 2 +-
src/app/static.json/route.ts | 6 +-
src/components/Particles.tsx | 5 +-
src/components/footer.tsx | 4 +-
src/components/home/background-section.tsx | 9 +--
src/components/home/bento-grid-section.tsx | 30 +++----
src/components/home/feature-card.tsx | 2 +-
src/components/home/features-section.tsx | 4 +-
src/components/home/hero-section.tsx | 4 +-
src/components/home/home-tabs.tsx | 8 +-
src/components/home/index.ts | 13 ++--
src/components/home/underline-tabs.tsx | 4 +-
src/components/icons.tsx | 2 +-
src/components/logo.tsx | 3 +-
src/components/magicui/ripple.tsx | 7 +-
src/components/providers/lenis-provider.tsx | 5 +-
src/components/ui/accordion.tsx | 4 +-
src/components/ui/animated-counter.tsx | 2 +-
src/components/ui/button.tsx | 2 +-
src/components/ui/card.tsx | 10 +--
src/components/ui/input.tsx | 2 +-
src/components/ui/tabs.tsx | 6 +-
src/components/ui/textarea.tsx | 2 +-
src/hooks/index.ts | 2 +-
src/hooks/useGitHubStats.ts | 86 +++++++++++----------
src/lib/github.ts | 76 ++++++++++++++++++
src/lib/utils.ts | 2 +-
src/mdx-components.tsx | 27 ++++++-
32 files changed, 218 insertions(+), 122 deletions(-)
diff --git a/src/app/api/releases/route.ts b/src/app/api/releases/route.ts
index 530f6101..493858e8 100644
--- a/src/app/api/releases/route.ts
+++ b/src/app/api/releases/route.ts
@@ -1,5 +1,5 @@
+import { type NextRequest, NextResponse } from "next/server";
import { fetchGitHubReleases } from "@/lib/github";
-import { NextResponse, NextRequest } from "next/server";
export const revalidate = 86400; // Revalidate every 24 hours
diff --git a/src/app/api/search/route.ts b/src/app/api/search/route.ts
index 89faa89c..ab1399bf 100644
--- a/src/app/api/search/route.ts
+++ b/src/app/api/search/route.ts
@@ -1,5 +1,5 @@
-import { programsSource, source } from "@/lib/source";
import { createSearchAPI } from "fumadocs-core/search/server";
+import { programsSource, source } from "@/lib/source";
export const { GET } = createSearchAPI("advanced", {
language: "english",
diff --git a/src/app/docs/layout.tsx b/src/app/docs/layout.tsx
index 7fe91ff7..1e6ebc0b 100644
--- a/src/app/docs/layout.tsx
+++ b/src/app/docs/layout.tsx
@@ -1,7 +1,7 @@
+import { DocsLayout, type DocsLayoutProps } from "fumadocs-ui/layouts/notebook";
+import type { ReactNode } from "react";
import { baseOptions } from "@/app/layout.config";
import { source } from "@/lib/source";
-import { DocsLayout, DocsLayoutProps } from "fumadocs-ui/layouts/notebook";
-import type { ReactNode } from "react";
const docsLayoutOptions: DocsLayoutProps = {
tree: source.pageTree,
diff --git a/src/app/layout.config.tsx b/src/app/layout.config.tsx
index 2a5662fd..013335d5 100644
--- a/src/app/layout.config.tsx
+++ b/src/app/layout.config.tsx
@@ -1,6 +1,6 @@
-import Logo from "@/components/logo";
import type { BaseLayoutProps, LinkItemType } from "fumadocs-ui/layouts/shared";
import { AlbumIcon, HeartIcon } from "lucide-react";
+import Logo from "@/components/logo";
/**
* Shared layout configurations
@@ -14,6 +14,7 @@ export const baseOptions: BaseLayoutProps = {
title: (
<>
+ Every piece of content is carefully crafted, reviewed, and + tested to ensure the highest educational standards and + real-world relevance. +
++ Education should be accessible to everyone. Our platform is + completely free with no hidden costs, premium tiers, or + paywalls. +
++ Built by the community, for the community. We welcome + contributions and feedback from learners and educators + worldwide. +
++ Completely transparent and community-driven development +
++ Comprehensive coverage from basics to advanced concepts +
++ Practical, real-world examples for hands-on learning +
++ Passionate about making programming education accessible to + everyone. Building Javaistic to transform learning worldwide + through comprehensive tutorials and community-driven content. +
++ Step-by-step guides from Java basics to advanced frameworks, + with practical examples and real-world applications. +
++ Practice coding directly in your browser with instant feedback, + error highlighting, and guided exercises. +
++ Join thousands of learners worldwide. Get help, share knowledge, + and grow together in our supportive community. +
+- Every piece of content is carefully crafted, reviewed, and - tested to ensure the highest educational standards and - real-world relevance. -
-- Education should be accessible to everyone. Our platform is - completely free with no hidden costs, premium tiers, or - paywalls. -
-- Built by the community, for the community. We welcome - contributions and feedback from learners and educators - worldwide. -
-- Completely transparent and community-driven development -
-- Comprehensive coverage from basics to advanced concepts -
-- Practical, real-world examples for hands-on learning -
-- Passionate about making programming education accessible to - everyone. Building Javaistic to transform learning worldwide - through comprehensive tutorials and community-driven content. -
-- Step-by-step guides from Java basics to advanced frameworks, - with practical examples and real-world applications. -
-- Practice coding directly in your browser with instant feedback, - error highlighting, and guided exercises. -
-- Join thousands of learners worldwide. Get help, share knowledge, - and grow together in our supportive community. -
-Latest releases and updates from Javaistic