refactor and implement user

This commit is contained in:
2023-08-29 21:34:00 +02:00
parent 57f97b0b7d
commit efcac1edc0
9 changed files with 1509 additions and 1344 deletions

View File

@@ -98,7 +98,7 @@ impl Root {
."px-5"
."bg-gray-200"
."hover:bg-gray-300"
href=(format!("/user/{}", context.user.username))
href=(format!("/user/{}", context.user.id))
{
span
."m-auto"
@@ -106,7 +106,7 @@ impl Root {
."mdi-account"
."text-3xl"
{}
p { (context.user.username)}
p { (context.user.fullname)}
}
}
(body)