From 1208af9696830e5bef2b2dbfd3970b3d0603cb6c Mon Sep 17 00:00:00 2001 From: pac7 <47831526-pac7@users.noreply.replit.com> Date: Sun, 21 Sep 2025 02:27:09 +0000 Subject: [PATCH] Update Alpine.js components to use standalone instances Correctly initialize Alpine.js components by removing unnecessary function calls, ensuring proper scope and state management for UI elements like modals, search, theme toggles, and forms. Replit-Commit-Author: Agent Replit-Commit-Session-Id: eff39de1-3afa-446d-a965-acaf61837fc7 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d6d61dac-164d-45dd-929f-7dcdfd771b64/eff39de1-3afa-446d-a965-acaf61837fc7/cGHPY6T --- .replit | 2 +- backend/templates/components/auth/auth-modal.html | 2 +- backend/templates/components/layout/enhanced_header.html | 6 +++--- backend/templates/components/ui/toast-container.html | 2 +- backend/templates/parks/park_form.html | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.replit b/.replit index ee461cf9..8529eeaa 100644 --- a/.replit +++ b/.replit @@ -36,7 +36,7 @@ localPort = 5000 externalPort = 80 [[ports]] -localPort = 37519 +localPort = 36799 externalPort = 3000 [deployment] diff --git a/backend/templates/components/auth/auth-modal.html b/backend/templates/components/auth/auth-modal.html index 5d405339..b8c3137a 100644 --- a/backend/templates/components/auth/auth-modal.html +++ b/backend/templates/components/auth/auth-modal.html @@ -9,7 +9,7 @@ Matches React frontend AuthDialog functionality with modal-based auth