Compare commits

...

1 Commits

Author SHA1 Message Date
eae628bd62 Add Footer component
Some checks failed
Push Workflows / rustfmt (push) Failing after 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / docs (push) Successful in 20s
Push Workflows / clippy (push) Successful in 18s
Push Workflows / test (push) Successful in 26s
Push Workflows / build (push) Successful in 51s
Push Workflows / nix-build (push) Successful in 5m17s
2026-06-29 19:34:40 -04:00
2 changed files with 36 additions and 0 deletions

35
src/components/footer.rs Normal file
View File

@@ -0,0 +1,35 @@
use dioxus::prelude::*;
use crate::app::LOGO_SVG;
#[component]
pub fn Footer() -> Element {
rsx! {
footer {
class: "footer md:footer-horizontal fixed bottom-0 text-base-content/70 bg-base-300 items-center p-4",
aside {
class: "flex items-center",
img {
class: "w-12 h-12",
src: LOGO_SVG,
}
div {
p {
class: "text-xl font-bold",
"LibreTunes",
}
a {
class: "text-sm",
href: env!("CARGO_PKG_REPOSITORY"),
"v" {env!("CARGO_PKG_VERSION")},
}
}
}
}
}
}

View File

@@ -1 +1,2 @@
pub mod footer;