Compare commits
1 Commits
main
...
eae628bd62
| Author | SHA1 | Date | |
|---|---|---|---|
|
eae628bd62
|
35
src/components/footer.rs
Normal file
35
src/components/footer.rs
Normal 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")},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +1,2 @@
|
|||||||
|
|
||||||
|
pub mod footer;
|
||||||
|
|||||||
Reference in New Issue
Block a user