diff options
-rw-r--r-- | webapp/src/default.css | 7 | ||||
-rw-r--r-- | webapp/src/main.rs | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/webapp/src/default.css b/webapp/src/default.css index 82fca71..2c5b3a2 100644 --- a/webapp/src/default.css +++ b/webapp/src/default.css @@ -80,6 +80,7 @@ body { margin: 0 auto; max-width: 30em; font-size: 150%; + min-height: 80vh; } .main-menu { @@ -95,6 +96,12 @@ body { list-style-type: none; } +.footer { + max-width: 30em; + font-size: 150%; + margin: 0 auto; +}; + button { background: none!important; border: none; diff --git a/webapp/src/main.rs b/webapp/src/main.rs index 7dd40d9..de4ec42 100644 --- a/webapp/src/main.rs +++ b/webapp/src/main.rs @@ -57,6 +57,7 @@ fn home() -> Html { }; html! { + <> <div class="main-page"> <h1>{"Bridge App"}</h1> <ul class="main-menu"> @@ -64,6 +65,12 @@ fn home() -> Html { <li><button onclick={create_table}>{ "Create table" }</button></li> </ul> </div> + <div class="footer"> + <p>{"Copyright © 2022 Kjetil Ørbekk. "} + <a href={"https://git.orbekk.com/bridge.git/"}>{"Source code"}</a> + </p> + </div> + </> } } |