refractor: clamp, distro; add distro icon next to uptime

This commit is contained in:
end-4
2024-02-20 12:13:16 +07:00
parent 9fbb1e8159
commit 522dd99d84
11 changed files with 294 additions and 195 deletions
@@ -0,0 +1,4 @@
export function clamp(x, min, max) {
return Math.min(Math.max(x, min), max);
}