Integrate Django Cotton for modular frontend components

Integrates django-cotton into the project by adding it to INSTALLED_APPS and pyproject.toml, and refactors base.html to use cotton components for the auth modal and toast container, creating new component files for these elements.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: eff39de1-3afa-446d-a965-acaf61837fc7
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d6d61dac-164d-45dd-929f-7dcdfd771b64/eff39de1-3afa-446d-a965-acaf61837fc7/jGCMVeA
This commit is contained in:
pac7
2025-09-21 13:16:27 +00:00
committed by pacnpal
parent 8f9e66d9f7
commit 7d745cd517
7 changed files with 480 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
modules = ["bash", "web", "nodejs-20", "python-3.13"]
modules = ["bash", "web", "nodejs-20", "python-3.13", "python3"]
[nix]
channel = "stable-25_05"
@@ -39,6 +39,10 @@ externalPort = 80
localPort = 34277
externalPort = 3000
[[ports]]
localPort = 41067
externalPort = 3001
[deployment]
deploymentTarget = "autoscale"
run = ["gunicorn", "--bind=0.0.0.0:5000", "--reuse-port", "thrillwiki.wsgi:application"]