forked from seth/ipv4.army
formatting
This commit is contained in:
parent
bd4bb12239
commit
5e03f3ef36
8 changed files with 2135 additions and 441 deletions
|
@ -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 {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
}
|
||||
|
||||
@keyframes pulse {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
transform: scale(1);
|
||||
|
|
|
@ -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>
|
||||
</>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue