Titre « mes listes » sur une ligne et formatage rustfmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cbaab7234b
commit
e7df0edad2
2 files changed
+49
-10
No files matched your search
+15
-3
@@ -23,11 +23,23 @@ impl Auth {
|
||||
let register = ServerAction::<Register>::new();
|
||||
let logout = ServerAction::<Logout>::new();
|
||||
let me = Resource::new(
|
||||
move || (login.version().get(), register.version().get(), logout.version().get()),
|
||||
move || {
|
||||
(
|
||||
login.version().get(),
|
||||
register.version().get(),
|
||||
logout.version().get(),
|
||||
)
|
||||
},
|
||||
|_| get_me(),
|
||||
);
|
||||
let registration = Resource::new(|| (), |_| registration_enabled());
|
||||
let auth = Auth { me, login, register, logout, registration };
|
||||
let auth = Auth {
|
||||
me,
|
||||
login,
|
||||
register,
|
||||
logout,
|
||||
registration,
|
||||
};
|
||||
provide_context(auth);
|
||||
auth
|
||||
}
|
||||
@@ -73,7 +85,7 @@ fn AuthLayout(title: &'static str, children: Children) -> impl IntoView {
|
||||
<RedirectIfSignedIn />
|
||||
<main class="mx-auto flex min-h-dvh max-w-md flex-col px-4 pt-[max(1.5rem,env(safe-area-inset-top))] pb-16">
|
||||
<h1 class="font-display text-5xl leading-[0.9] font-extrabold tracking-tight">
|
||||
"mes"<br />"listes"
|
||||
"mes listes"
|
||||
</h1>
|
||||
<section class="ticket relative mt-8 bg-paper px-5 pt-6 pb-8">
|
||||
<p class="font-mono text-sm tracking-[0.2em] text-ink/60 uppercase">"Lisette · Courses"</p>
|
||||
|
||||
Reference in new issue
Block a user