Commit graph

2 commits

Author SHA1 Message Date
9d005f06d8
style(templates): reformat HTML for better readability
All checks were successful
Build and Deploy Static Site (Pride Theme) / build (push) Successful in 56s
Build and Deploy Static Site / build (push) Successful in 1m1s
Tidied up the HTML structure across multiple template files to enhance code readability and maintainability. This involved mainly formatting changes like re-indenting, consolidating meta tags, and simplifying element structures.

No functional changes were made. These changes aim to improve the ease of future edits and reviews.
2024-09-24 14:45:24 +02:00
0601a39829
feat: add dev mode warning and styling
Introduced a development mode toggle for the app, which, when enabled, displays a distinctive warning on every page to inform users they are viewing a development version of the site. This warning is styled for clear visibility. Development mode is toggled with a new `--dev` command line argument or by setting an environment variable. The change aims to prevent confusion between the development and production environments for both developers and early users.

- Added new CSS rules for a warning alert style in `base.css`.
- Modified `main.py` to check for a development mode flag and pass a warning message to the template if the flag is set.
- Updated `base.html` to include the warning message when present.
- Added a new template for the development warning message.
2024-05-27 17:37:30 +02:00