summaryrefslogtreecommitdiff
path: root/frontend/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/index.html')
-rw-r--r--frontend/index.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 4004270..fcb0c2f 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -30,14 +30,18 @@
<div class="section-container no-pad">
<span>Loading...</span>
</div>
+ <div class="section-container credits-container">
+ <span>Developed by <a href="https://altafcreator.com">Athaalaa Altaf Hafidz</a>, a fellow resident • <a href="https://git.altafcreator.com/victoriahall-laundryweb.git/">Source Code</a></span>
+ </div>
+ <a href="mailto:dev@altafcreator.com" class="feedback"><span>✉️ Bugs? Feedback?</span></a>
<script src="/main.js"></script>
<script>
(async () => {
- const result = await checkUserStatus();
- if (result != "you got laundry") {
- window.location.href = './status/';
- } else {
+ const timers = await fetchTimers();
+ if (timers.length > 0) {
window.location.href = './timer/';
+ } else {
+ window.location.href = './status/';
}
})();
</script>