feat: add live playground forecast console
ci / check (push) Successful in 1m20s

This commit is contained in:
Noel Sabia committed 2026-11-14 21:04:23 +01:00
1 parent 9ba70965ba
commit bcee6b2c68
9 files changed
+1931 -12

No files matched your search

+12 -10
View File
@@ -5,6 +5,7 @@ const menuButton = ref<HTMLButtonElement | null>(null)
const engineActive = computed(() => route.path === '/')
const sensorsActive = computed(() => route.path.startsWith('/sensors'))
const playgroundActive = computed(() => route.path.startsWith('/playground'))
const navLinkClass =
'inline-flex h-16 items-center border-b-2 font-label-md transition-colors'
@@ -86,13 +87,13 @@ watch(() => route.fullPath, closeMenu)
>
Use cases
</span>
<span
class="inline-flex h-16 items-center border-b-2 border-transparent font-label-md text-[#94A3B8] cursor-not-allowed"
aria-disabled="true"
title="Coming soon"
<NuxtLink
to="/playground"
:class="desktopLinkClass(playgroundActive)"
:aria-current="playgroundActive ? 'page' : undefined"
>
Playground
</span>
</NuxtLink>
</nav>
<button
@@ -138,13 +139,14 @@ watch(() => route.fullPath, closeMenu)
>
Use cases
</span>
<span
class="inline-flex h-12 items-center justify-center font-label-md text-[#94A3B8] cursor-not-allowed"
aria-disabled="true"
title="Coming soon"
<NuxtLink
to="/playground"
:class="mobileLinkClassFor(playgroundActive)"
:aria-current="playgroundActive ? 'page' : undefined"
@click="closeMenu"
>
Playground
</span>
</NuxtLink>
</nav>
</div>
</header>