Skip to content

feat(help_pages): change includes to django-cotton components #5998

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

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

nazarbodak221
Copy link

Convert include files to components

For better code organization, these components were moved to a new cotton/ directory. This change improves modularity, makes the parent templates cleaner, and simplifies the reuse of UI elements.

Just let me know if you'd like different styles or colors – I'll change them.

Also sidebar to migration guide(includes) I'd like not to write in cotton, but write in migration guide directly. Say if I can do it.

Affected files:

court_endpoint.html
court_id_mappings.html
deprecation_notice.html
docket_endpoint.html
v3_deprecated_warning.html

This commit introduces the template for the new <c-callout> component
@nazarbodak221 nazarbodak221 marked this pull request as draft July 17, 2025 18:15
Add new CSS to style the alert components. It includes styles for different alert types
The new callout component is now documented under the 'Layout components' section.

The 'Other components' section has been renamed to 'Pure markup' for better clarity.
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.

1 participant