Small tweaks (cors etc)
This commit is contained in:
parent
1a1d07e5cb
commit
0c9a5093d0
5 changed files with 28 additions and 10 deletions
|
|
@ -5,13 +5,13 @@ import { useStatsStore } from "../stores/statsStore";
|
|||
export const Footer: React.FC<{}> = () => {
|
||||
let stats = useStatsStore((stats) => stats.stats);
|
||||
return (
|
||||
<div className="sticky bottom-0 bg-white/10 dark:text-gray-200 backdrop-blur text-nowrap text-xs font-medium text-gray-500 flex p-1 gap-x-3 justify-center">
|
||||
<div className="sticky bottom-0 bg-white/10 dark:text-gray-200 backdrop-blur text-nowrap text-xs font-medium text-gray-500 flex p-2 gap-x-5 justify-evenly flex-wrap">
|
||||
<div>
|
||||
↓ {stats.download_speed.human_readable} (total{" "}
|
||||
↓ {stats.download_speed.human_readable} (
|
||||
{formatBytes(stats.fetched_bytes)})
|
||||
</div>
|
||||
<div>
|
||||
↑ {stats.upload_speed.human_readable} (total{" "}
|
||||
↑ {stats.upload_speed.human_readable} (
|
||||
{formatBytes(stats.uploaded_bytes)})
|
||||
</div>
|
||||
<div>up {formatSecondsToTime(stats.uptime_seconds)}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue