summaryrefslogtreecommitdiff
path: root/webapp/src/main.rs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-12-29 07:07:36 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-12-29 07:12:51 -0500
commit7862c791be6dbec56785c2c95933bcdeb34da366 (patch)
tree22324a2d002cd663234f9ba7e32775df298c7de6 /webapp/src/main.rs
parentcfc761a9141b2db2fd6610514837186d4743b67d (diff)
Add styling for the welcome page
Diffstat (limited to 'webapp/src/main.rs')
-rw-r--r--webapp/src/main.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/webapp/src/main.rs b/webapp/src/main.rs
index de4dd7a..7dd40d9 100644
--- a/webapp/src/main.rs
+++ b/webapp/src/main.rs
@@ -57,10 +57,13 @@ fn home() -> Html {
};
html! {
- <ul>
- <li>{ user }</li>
- <li><button onclick={create_table}>{ "Create table" }</button></li>
+ <div class="main-page">
+ <h1>{"Bridge App"}</h1>
+ <ul class="main-menu">
+ <li>{ user }</li>
+ <li><button onclick={create_table}>{ "Create table" }</button></li>
</ul>
+ </div>
}
}