This commit is contained in:
1 parent
9ba70965ba
commit
bcee6b2c68
9 files changed
+1931
-12
No files matched your search
+4
-2
@@ -14,7 +14,9 @@ const usingMock = computed(() => {
|
||||
return value === true || value === '1' || value === 'true'
|
||||
})
|
||||
|
||||
const isSensing = computed(() => route.path === '/' || route.path.startsWith('/sensors'))
|
||||
const isNewShell = computed(
|
||||
() => route.path === '/' || route.path.startsWith('/sensors') || route.path.startsWith('/playground'),
|
||||
)
|
||||
const isCool = computed(() => route.path.startsWith('/cool'))
|
||||
const isDarkPresentation = computed(
|
||||
() => route.path === '/stage' || route.path === '/live' || route.path === '/cool/stage',
|
||||
@@ -59,7 +61,7 @@ onBeforeUnmount(() => navRoleObserver?.disconnect())
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLayout v-if="isSensing">
|
||||
<NuxtLayout v-if="isNewShell">
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
|
||||
|
||||
Reference in new issue
Block a user