* Added Project Overview: Introduced the interactive web app's purpose.
* Detailed Features: Listed key features like interactive UI, dynamic responses, and webhook integration.
* Defined Tech Stack: Documented use of Vanilla JS, Nginx, and RTL support.
* Added Deployment Guide: Included basic instructions for hosting via Nginx.
- Transformed the website into a Single Page Application (SPA) to provide instant, reload-free transitions.
- Implemented dynamic UI updates in JavaScript, including title and favicon changes based on user interaction.
- Enabled Gzip compression and browser caching in nginx.conf for significantly faster load times.
- Optimized images by converting heavy GIFs to animated WebP format, reducing asset sizes by ~30%.
- Streamlined project structure by removing redundant HTML files and implementing event delegation in script.js.
Add config/nginx.conf to proxy /api/webhook to the n8n webhook and inject server-side auth/header (moves secret out of the client). Add CSP and X-Content-Type-Options meta tags to index.html, yes.html, and no.html. Replace inline centering with a .centered_text CSS class and update main.css. Update script.js to use the local /api/webhook, remove client-side secret header, add safe redirect mapping, and guard event listener attachment to avoid errors when elements are missing.
Add an Arabic (RTL) proposal flow: index.html with a yes/no prompt and buttons, plus yes.html and no.html result pages. Include main.css for layout and styling, various image assets (icons and gifs), and script.js which posts the user's choice to a configured webhook then redirects to the corresponding page.