Open pwcarney opened 5 months ago
I kept getting an issue where the index page wasn't functioning as expected. To resolve this, I created a static index.html file and placed it within a Python file (e.g., index.py). I then imported the get_index function from this file into main.py to serve the static index page.
I broke out index into its own file and added some basic styling, added a style.css in the static folder and added functionality adding a home page button to the upper left of every page (so the user can get back to the search and try something new). I also made it open the web browser a second after booting up because I'm lazy but we can make that a config setting if you want.