From 268d71cb57ff19382ff8834ca3406dda2f79343e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 20 Dec 2022 17:41:40 -0800 Subject: new profile page --- src/lib/utils.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/utils.js') diff --git a/src/lib/utils.js b/src/lib/utils.js index bd428160..02c318b6 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -8,6 +8,9 @@ export function scroll(section) { } const base = browser ? '' : PUBLIC_COINOS_URL; +export const runner = (k) => { + return Math.round((parseInt(k[0], 16) - 1) / 15 * 7) + 1 + '.webp'; +}; export const g = (url, fetch, headers) => fetch(base + url, { headers }) -- cgit v1.2.3