diff --git a/web/index.html b/web/index.html index a39d71a1..20eb281f 100644 --- a/web/index.html +++ b/web/index.html @@ -234,7 +234,8 @@ code.cw { display: block; } - input[type="submit"].active { + input[type=button]:hover, + input[type=submit].active { background-color: var(--accent); border-color: var(--accent); color: var(--background); diff --git a/web/src/app.rs b/web/src/app.rs index 863264e0..50e41385 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -118,6 +118,7 @@ pub fn App() -> impl IntoView { } /> + } /> diff --git a/web/src/auth.rs b/web/src/auth.rs index 65f1bebb..ea94679d 100644 --- a/web/src/auth.rs +++ b/web/src/auth.rs @@ -80,9 +80,18 @@ pub fn LoginBox( }); }); } > - - - + + + + + + + + + + + +
diff --git a/web/src/page.rs b/web/src/page.rs index 8ec9f59b..f84b12a2 100644 --- a/web/src/page.rs +++ b/web/src/page.rs @@ -23,6 +23,52 @@ pub fn AboutPage() -> impl IntoView { } } +#[component] +pub fn RegisterPage() -> impl IntoView { + view! { +
+ register +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
username
password

display name
summary
avatar url
banner url

+
+
+ } +} + #[component] pub fn ConfigPage(setter: WriteSignal) -> impl IntoView { let config = use_context::>().expect("missing config context");