Skip to content

Refactor Project Structure (#2319)#2334

Open
chirag-gupta-07 wants to merge 1 commit into
janavipandole:mainfrom
chirag-gupta-07:refactor-project-structure
Open

Refactor Project Structure (#2319)#2334
chirag-gupta-07 wants to merge 1 commit into
janavipandole:mainfrom
chirag-gupta-07:refactor-project-structure

Conversation

@chirag-gupta-07

Copy link
Copy Markdown

Moved HTML, CSS, and JS files to /pages, /styles, and /scripts directories respectively. Updated internal linking paths.

PR Description

Summary of Changes

Provide a brief summary of the changes made and the problem being solved.

Related Issue

Fixes #2319

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Verification & Testing

Local Verification

  • Built successfully locally
  • Console has zero errors or warnings

Devices/Browsers Tested

  • Chrome (Desktop)
  • Safari (Mobile)
  • Firefox

Checklist

  • Code follows project styling guidelines
  • Changes are fully responsive and accessible
  • No extraneous logs or debug code left
  • Documentation updated accordingly

Description

This Pull Request resolves issue #2319 by refactoring the cluttered root directory and introducing a clean, organized folder structure.

Changes Made

  • Directories Created: Created /pages, /styles, and /scripts directories to properly categorize the files.
  • HTML Files: Moved all .html pages to the /pages directory, while keeping index.html at the root as the primary entry point.
  • CSS Files: Relocated all stylesheets to the /styles directory.
  • JS Files: Consolidated all JavaScript files from the root and the legacy /js folder into the unified /scripts directory.
  • Path Adjustments: Updated all internal paths across HTML, CSS, and JS files (href, src, url(), and programmatic redirects) to ensure styles, scripts, and navigation links load correctly from their new relative locations.

Verification

  • Verified that all pages load correctly and asset links resolve correctly in local testing.
  • Addressed duplicates to ensure the codebase navigation is as clean and maintainable as possible.

Closes #2319

Moved HTML, CSS, and JS files to /pages, /styles, and /scripts directories respectively. Updated internal linking paths.
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

@chirag-gupta-07 is attempting to deploy a commit to the janavipandole's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Refactor Project Structure: Move root files into organized sub-directories

1 participant