diff --git a/iwm_browser/main.py b/iwm_browser/main.py index 3c6995d..3ebd547 100644 --- a/iwm_browser/main.py +++ b/iwm_browser/main.py @@ -72,6 +72,11 @@ async def combineCSSResources(resources: str, response: Response): async def root(): template = template_env.get_template("home.html") return template.render() +@app.get("/about", response_class=HTMLResponse) +async def root(): + template = template_env.get_template("about.html") + return template.render() + @app.get("/search", response_class=HTMLResponse) diff --git a/iwm_browser/static/homepage.css b/iwm_browser/static/homepage.css index 4c3d50d..40cda64 100644 --- a/iwm_browser/static/homepage.css +++ b/iwm_browser/static/homepage.css @@ -42,6 +42,19 @@ font-size: larger; } +footer { + display: flex; + justify-content: space-evenly; + padding: 0.5rem; + font-size: small; +} +footer > a { + margin: 0em 1em; +} - +.About { + display: flex; + justify-content: center; + text-align: center; +} diff --git a/iwm_browser/templates/about.html b/iwm_browser/templates/about.html new file mode 100644 index 0000000..c94afcd --- /dev/null +++ b/iwm_browser/templates/about.html @@ -0,0 +1,22 @@ + + +
+You can find the source code here.
+