feat(dark-mode): removed dark mode, made it default

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-02-11 19:24:10 +01:00
parent b878c7db55
commit 16e04980b5
7 changed files with 159 additions and 115 deletions

View File

@@ -6,17 +6,17 @@ pub fn Footer() -> Element {
div {
class: "container mx-auto pb-4",
footer {
class:"bg-white rounded-lg shadow dark:bg-gray-800",
class:"rounded-lg shadow bg-gray-800",
div {
class:"w-full mx-auto p-4 flex items-center justify-between",
span {
class:"text-sm text-gray-500 sm:text-center dark:text-gray-400",
class:"text-sm sm:text-center text-gray-400",
{ t!("footer_year") },
a { href: "#", class: "hover:underline", { t!("footer_name") }},
{ t!("footer_rights") }
}
ul {
class:"flex flex-wrap items-center mt-3 text-sm font-medium text-gray-500 dark:text-gray-400 sm:mt-0",
class:"flex flex-wrap items-center mt-3 text-sm font-medium text-gray-400 sm:mt-0",
li {
Link { to:"mailto:tuan-dat.tran@tudattr.dev", class:"hover:underline", { t!("footer_contact") } }
},