diff --git a/Cargo.toml b/Cargo.toml index b6aa36b..8ee9291 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,7 @@ panic = "abort" output-name = "lisette" site-root = "target/site" site-pkg-dir = "pkg" -tailwind-input-file = "style/main.css" +style-file = "style/main.css" assets-dir = "public" site-addr = "127.0.0.1:3002" reload-port = 3001 diff --git a/src/app/account.rs b/src/app/account.rs index 810e860..039b680 100644 --- a/src/app/account.rs +++ b/src/app/account.rs @@ -83,13 +83,13 @@ fn RedirectIfSignedIn() -> impl IntoView { fn AuthLayout(title: &'static str, children: Children) -> impl IntoView { view! { -
-

+
+

"mes listes"

-
-

"Lisette · Courses"

-

{title}

+
+

"Lisette · Courses"

+

{title}

{children()}
@@ -101,7 +101,7 @@ pub fn FormError(#[prop(into)] error: Signal>) -> impl IntoView { move || { error.get().map(|msg| { view! { - } @@ -114,7 +114,7 @@ pub fn LoginPage() -> impl IntoView { let auth = expect_context::(); view! { - + @@ -135,9 +135,9 @@ pub fn LoginPage() -> impl IntoView { matches!(auth.registration.await, Ok(true)) .then(|| { view! { -

+

"Pas encore de compte ? " - + "Créer un compte"

@@ -158,14 +158,14 @@ pub fn RegisterPage() -> impl IntoView { {move || Suspend::new(async move { if !matches!(auth.registration.await, Ok(true)) { return view! { -

+

"Les inscriptions sont fermées pour le moment."

} .into_any(); } view! { - + impl IntoView { .into_any() })} -

+

"Déjà inscrit·e ? " - + "Se connecter"

@@ -209,8 +209,8 @@ pub fn RegisterPage() -> impl IntoView { #[component] pub fn Field(label: &'static str, children: Children) -> impl IntoView { view! { -