feat: implement mobile card view and remove transition animations

This commit is contained in:
spinline
2026-02-01 14:51:53 +03:00
parent 52909499b3
commit b7199cab43
4 changed files with 25 additions and 17 deletions

View File

@@ -4,13 +4,13 @@ use leptos::*;
pub fn StatusBar() -> impl IntoView {
view! {
<div class="h-8 min-h-8 bg-base-200 border-t border-base-300 flex items-center px-4 text-xs gap-4 text-base-content/70">
<div class="flex items-center gap-2 cursor-pointer hover:text-primary transition-colors">
<div class="flex items-center gap-2 cursor-pointer hover:text-primary">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
<path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75l3 3m0 0l3-3m-3 3v-7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span class="font-mono">"0 KB/s"</span>
</div>
<div class="flex items-center gap-2 cursor-pointer hover:text-primary transition-colors">
<div class="flex items-center gap-2 cursor-pointer hover:text-primary">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
<path stroke-linecap="round" stroke-linejoin="round" d="M15 11.25l-3-3m0 0l-3 3m3-3v7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>