No description
Kumi
e77fc521bf
Implemented a new template filter in Flask to dynamically render SVG icons, allowing for cleaner HTML templates and easier icon management. Added `coffee` and `envelope` SVG icons to the project's asset directory. This change not only streamlines the incorporation of new icons but also enhances the maintainability of the codebase by centralizing icon resources and reducing HTML clutter. Modified existing HTML templates to use this new dynamic icon rendering method, replacing hard-coded SVG and img tag icon implementations with the newly created template filter. This update significantly improves the way icons are handled throughout the application, providing a more scalable and efficient approach to managing and displaying graphical elements. |
||
---|---|---|
assets | ||
contrib | ||
data | ||
helpers | ||
templates | ||
.gitignore | ||
LICENSE | ||
main.py | ||
README.md | ||
requirements.txt |
Private.coffee Website
This is the source code for the Private.coffee website.
It is a simple Flask application that generates the HTML for the website based
on the services defined in the services.json
file.
Development
To run the website locally, you will need to have Python 3 installed. Then, you can install the dependencies and run the website with the following commands:
pip install -r requirements.txt
python main.py
The website will be available at http://localhost:9810
.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Attribution
This website is built using the Bootstrap framework and Phosphor Icons.