Sebby37 / Dead-Internet

Y'all thought the dead internet theory wasn't real, but HERE IT IS
151 stars 17 forks source link

Cleaned up styling, added home button to every page #2

Open pwcarney opened 5 months ago

pwcarney commented 5 months ago

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.

olbauday commented 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.