Files
vibetorrent/frontend/src/components/layout/footer.rs
spinline 89f0a5423d
Some checks failed
Build MIPS Binary / build (push) Has been cancelled
style: make footer even more minimal and elegant
2026-02-13 14:03:54 +03:00

19 lines
664 B
Rust

use leptos::prelude::*;
use crate::components::ui::separator::Separator;
#[component]
pub fn Footer() -> impl IntoView {
let year = chrono::Local::now().format("%Y").to_string();
view! {
<footer class="mt-auto pb-6 px-4">
<Separator class="mb-4 opacity-30" />
<div class="flex items-center justify-center gap-2 text-[10px] uppercase tracking-widest text-muted-foreground/60 font-medium">
<span>{format!("© {} VibeTorrent", year)}</span>
<span class="size-1 rounded-full bg-muted-foreground/30" />
<span>"v3.0.0-beta"</span>
</div>
</footer>
}
}