Skip to content

Commit

Permalink
add c3RE
Browse files Browse the repository at this point in the history
  • Loading branch information
orangecms committed Oct 5, 2023
1 parent da82ce5 commit 15d29de
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@
</span>
<div style="background-color: orange" id="warpzone"></div>
</a>
<a class="space" href="https://c3re.de/">
c3RE
<span class="logo">
<img style="filter: saturate(0) contrast(500%);" src="https://c3re.de/doorstatus/open.png" alt="c3RE" />
</span>
<div style="background-color: orange" id="c3re"></div>
</a>
<a class="space" href="https://www.chaostreff-dortmund.de/">
CTDO
<span class="logo">
Expand Down Expand Up @@ -174,6 +181,15 @@
console.error('Could not get status for Warpzone', e);
}
},
async () => {
const res = await fetch('https://spaceapi.c3re.de/');
try {
const { state } = await res.json();
setBg('#c3re', state.open);
} catch (e) {
console.error('Could not get status for c3RE', e);
}
},
];

const getStatuses = async() => statusFetchers.map(fn => fn());
Expand Down

0 comments on commit 15d29de

Please # to comment.