diff --git a/apps/front/src/app.css b/apps/front/src/app.css index bd6213e..6c7737d 100644 --- a/apps/front/src/app.css +++ b/apps/front/src/app.css @@ -1,3 +1,13 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; + +@layer components { + .btn { + @apply flex items-center gap-2 rounded-md px-3 py-2 text-sm font-semibold text-white shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2; + } + + .btn-primary { + @apply bg-purple-600 hover:bg-purple-400 focus-visible:outline-purple-500; + } +} diff --git a/apps/front/src/lib/client/components/map.svelte b/apps/front/src/lib/client/components/map.svelte index e7857d0..92ed8b0 100644 --- a/apps/front/src/lib/client/components/map.svelte +++ b/apps/front/src/lib/client/components/map.svelte @@ -1,4 +1,12 @@ - \ No newline at end of file + diff --git a/apps/front/src/lib/client/components/table.svelte b/apps/front/src/lib/client/components/table.svelte index 4fcd0a4..6324f96 100644 --- a/apps/front/src/lib/client/components/table.svelte +++ b/apps/front/src/lib/client/components/table.svelte @@ -1,21 +1,32 @@ -
{description}
# | Location | Status | Last Updated |
---|---|---|---|
- #{index} - | -Block 1 | -- Working - | -- - | -
- #{index+1} - | -Block 2 | -- Not Working - | -- - | -
- #{index+2} - | -Block 3 | -- Too much voltage - | -- - | -
- #{index+3} - | -Block 4 | -- No signal - | -- - | -
+ #{index} + | +Block 1 | ++ Working + | ++ + | +
+ #{index + 1} + | +Block 2 | ++ Not Working + | ++ + | +
+ #{index + 2} + | +Block 3 | ++ Too much voltage + | ++ + | +
+ #{index + 3} + | +Block 4 | ++ No signal + | ++ + | +