CLAUDE.mdtypescript

ScholaRAG-helper CLAUDE.md

Next.js 15 application for the ScholaRAG homepage and documentation website.

View Source

Frontend Folder - Claude Code Instructions

šŸ“ Purpose

Next.js 15 application for the ScholaRAG homepage and documentation website.

šŸ—ļø Structure

frontend/
ā”œā”€ā”€ app/                      # Next.js App Router
│   ā”œā”€ā”€ page.tsx             # Homepage (marketing landing)
│   ā”œā”€ā”€ layout.tsx           # Root layout
│   ā”œā”€ā”€ guide/               # Documentation (7 chapters)
│   │   ā”œā”€ā”€ page.tsx         # Guide overview
│   │   ā”œā”€ā”€ 01-introduction/
│   │   ā”œā”€ā”€ 02-getting-started/
│   │   ā”œā”€ā”€ 03-core-concepts/
│   │   ā”œā”€ā”€ 04-implementation/
│   │   ā”œā”€ā”€ 05-advanced-topics/
│   │   ā”œā”€ā”€ 06-research-conversation/
│   │   └── 07-documentation-writing/
│   ā”œā”€ā”€ chat/                # AI chatbot interface
│   ā”œā”€ā”€ dashboard/           # Analytics dashboard
│   └── resources/           # Additional resources
ā”œā”€ā”€ components/              # Reusable React components
│   ā”œā”€ā”€ GuideLayout.tsx     # Documentation layout with TOC
│   ā”œā”€ā”€ SearchBar.tsx       # Documentation search (NEW)
│   ā”œā”€ā”€ ChatWidget.tsx      # AI assistant widget
│   ā”œā”€ā”€ CodeBlock.tsx       # Syntax-highlighted code
│   ā”œā”€ā”€ Mermaid.tsx         # Diagram rendering
│   └── ...                 # UI components
ā”œā”€ā”€ lib/                     # Utilities and helpers
ā”œā”€ā”€ public/                  # Static assets
└── package.json            # Dependencies