2 Commits

Author SHA1 Message Date
aac191521f 📱 Fixes responsive index
All checks were successful
Gitea Build Action / build-go (push) Successful in 1m57s
Gitea Build Action / build-nuxt (push) Successful in 11m26s
2025-07-02 10:34:13 +02:00
96fe2d04cb 💄 Adds favicon
All checks were successful
Gitea Build Action / build-go (push) Successful in 3m13s
Gitea Build Action / build-nuxt (push) Successful in 12m30s
2025-07-02 10:10:06 +02:00
2 changed files with 5 additions and 4 deletions

View File

@@ -11,5 +11,6 @@
<script lang="ts" setup>
useHead({
title: "Door alarm",
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
})
</script>

View File

@@ -1,6 +1,6 @@
<template>
<main
class="flex items-center justify-center min-w-screen min-h-screen gap-4 flex-wrap"
class="flex items-center justify-center min-w-screen min-h-screen gap-4 flex-wrap flex-col md:flex-row"
>
<div class="flex items-center justify-center flex-col gap-y-2 w-32">
<div
@@ -17,7 +17,7 @@
</div>
<p
:class="`flex items-center justify-center text-${opened ? (locked ? 'error' : 'secondary') : 'primary'} text-xl w-full h-10`"
:class="`flex items-center justify-center text-${opened ? (locked ? 'error' : 'secondary') : 'primary'} text-xl w-full h-10 border-${opened ? (locked ? 'error' : 'secondary') : 'primary'} border-solid border-2 rounded-md`"
>
{{ opened ? "Opened" : "Closed" }}
</p>
@@ -90,8 +90,8 @@ import axios from "axios"
const token = useToken()
const opened = ref(true)
const locked = ref(true)
const opened = ref(false)
const locked = ref(false)
const alerts = ref(false)
const toast = useToast()