Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Improve organization of HTML templates #1

Open
Mopsgamer opened this issue Feb 20, 2025 · 0 comments
Open

feat: Improve organization of HTML templates #1

Mopsgamer opened this issue Feb 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Mopsgamer
Copy link
Owner

Summary

Improve the separation and modularization of the ./client/templates/**/*.html files for better maintainability and scalability.

Feature Details

Currently, the ./client/templates/**/*.html files lack clear separation, leading to a
monolithic structure that is difficult to maintain. Refactoring the templates into
smaller, reusable components would enhance code readability, reusability, and
scalability.

Suggested improvements:

  • Group related templates into dedicated directories.
  • Implement a naming convention to distinguish different types of templates (e.g.,
    layout, partials, components).
  • Ensure templates follow a DRY (Don't Repeat Yourself) principle.

Additional Information

Refactoring should be done incrementally to prevent breaking existing functionality.
Consider using template inheritance or includes where applicable.

@Mopsgamer Mopsgamer added the enhancement New feature or request label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant