Skip to content

organize styles and add barrel exports#397

Open
kanan010506 wants to merge 1 commit into
lovelymahor:mainfrom
kanan010506:cleanup
Open

organize styles and add barrel exports#397
kanan010506 wants to merge 1 commit into
lovelymahor:mainfrom
kanan010506:cleanup

Conversation

@kanan010506

Copy link
Copy Markdown

Refactor project structure with barrel exports and organized styles

Closes #396 under gssoc'26

Summary

This PR refactors the project structure to improve code organization, maintainability, and import management across the application.

Changes Made

Barrel Exports

  • Added src/pages/index.js to centralize page exports.
  • Added src/components/index.js to centralize component exports.
  • Replaced multiple individual imports with consolidated imports from barrel files.
  • Reduced import clutter and improved code readability.

Style Organization

  • Moved CSS files into dedicated style folders within their respective directories.
  • Improved separation of concerns and project structure.
  • Made styles easier to locate and maintain.

Code Cleanup

  • Updated import paths to reflect the new folder structure.
  • Improved overall readability and consistency across the codebase.
  • Simplified module management through centralized exports.

Benefits

  • Cleaner and more scalable project structure.
  • Easier maintenance and future development.
  • Simplified imports across pages and components.
  • Better organization of styling resources.
  • Improved developer experience when adding or updating modules.

Testing

  • Application builds successfully.
  • Verified all routes render correctly.
  • Confirmed components import correctly through barrel files.
  • Verified styles load properly after reorganization.

@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

@kanan010506 is attempting to deploy a commit to the Lovely Mahour's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Karanjot786

Copy link
Copy Markdown

Hey @kanan010506! Saw your work on GSSoC 2026.

We are building TermUI, a TypeScript terminal UI framework with React-style hooks and JSX, rendered entirely in the terminal.

We have 99 unassigned GSSoC issues open across widgets, hooks, adapters, and CLI tooling. Your JavaScript background transfers directly.

Karanjot, TermUI maintainer

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studymateplus Error Error Jun 10, 2026 7:43pm

@lovelymahor

Copy link
Copy Markdown
Owner

Hi @kanan010506,

Thank you for the contribution
This PR currently has merge conflicts with the latest main branch. Please sync your branch with the latest main branch, resolve the conflicts, and push the updated changes.

Once the conflicts are resolved, I will review the PR further

Thank you!

@kanan010506

Copy link
Copy Markdown
Author

now check @lovelymahor

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor project structure and organize styles

3 participants