formatting
Some checks failed
Code quality checks / biome (push) Failing after 10s

This commit is contained in:
wont-stream 2025-04-10 19:22:07 -04:00
parent bd4bb12239
commit 5e03f3ef36
8 changed files with 2135 additions and 441 deletions

View file

@ -32,4 +32,4 @@
"semicolons": "always"
}
}
}
}

2549
bun.lock

File diff suppressed because it is too large Load diff

View file

@ -21,4 +21,4 @@
"typescript": "~5.7.2",
"vite": "^6.2.0"
}
}
}

View file

@ -13,8 +13,8 @@ export default () => {
const [status, setStatus] = useState<keyof typeof statusMap>('offline');
fetch("https://lanyard.creations.works/v1/users/1273447359417942128")
.then(req => req.json())
.then((res) => {
.then(req => req.json())
.then((res) => {
if (res.data.discord_status) {
setStatus(res.data.discord_status);
} else {

View file

@ -3,6 +3,7 @@
}
@keyframes pulse {
0%,
100% {
transform: scale(1);

View file

@ -59,9 +59,9 @@ export default () => {
return (
<>
<div style={heartrate === 0 ? "display:none" : `--bpm: ${heartrate};`} class="heart">
<br />
<span>{heartrate} BPM</span>
<br />
<span>{heartrate} BPM</span>
</div>
</>
)

View file

@ -1,7 +1,11 @@
{
"files": [],
"references": [
{ "path": "./tsconfig.app.json" },
{ "path": "./tsconfig.node.json" }
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.node.json"
}
]
}
}

View file

@ -17,7 +17,7 @@ export default defineConfig({
})
]
}
} : {transformer: "lightningcss"}
} : { transformer: "lightningcss" }
},
build: {
cssMinify: "lightningcss",