feat(cargo): update

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-02-11 19:48:58 +01:00
parent 8f00360ff8
commit 64aa115ef4
3 changed files with 188 additions and 352 deletions

View File

@@ -44,7 +44,7 @@ fn LanguageButtonGroup() -> Element {
onclick: change_to_english,
label { { t!("headers_language_buttons_english") } } },
button {
class: "px-4 py-2 text-sm font-medium border rounded-s-lg focus:z-10 focus:ring-2 bg-gray-800 border-gray-700 text-white hover:text-white hover:bg-gray-700 focus:ring-blue-500 focus:text-white",
class: "px-4 py-2 text-sm font-medium border rounded-e-lg focus:z-10 focus:ring-2 bg-gray-800 border-gray-700 text-white hover:text-white hover:bg-gray-700 focus:ring-blue-500 focus:text-white",
onclick: change_to_german,
label { { t!("headers_language_buttons_german") } } }
}
@@ -54,6 +54,6 @@ fn LanguageButtonGroup() -> Element {
#[component]
fn HeaderLink(url: Route, text: String) -> Element {
rsx! {
Link { to: url, class:"md:bg-transparent md:p-0 text-white md:text-blue-500", {text} }
Link { to: url, class:"md:bg-transparent md:p-0 text-blue-500", {text} }
}
}