diff --git a/app/app.vue b/app/app.vue index 102794b..059f2f0 100644 --- a/app/app.vue +++ b/app/app.vue @@ -15,7 +15,11 @@ const usingMock = computed(() => { }) const isNewShell = computed( - () => route.path === '/' || route.path.startsWith('/sensors') || route.path.startsWith('/playground'), + () => + route.path === '/' || + route.path.startsWith('/sensors') || + route.path.startsWith('/playground') || + route.path.startsWith('/use-cases'), ) const isCool = computed(() => route.path.startsWith('/cool')) const isDarkPresentation = computed( diff --git a/app/components/use-cases/DecisionMetric.vue b/app/components/use-cases/DecisionMetric.vue new file mode 100644 index 0000000..79684fe --- /dev/null +++ b/app/components/use-cases/DecisionMetric.vue @@ -0,0 +1,29 @@ + + + diff --git a/app/components/use-cases/LiveTelemetryBar.vue b/app/components/use-cases/LiveTelemetryBar.vue new file mode 100644 index 0000000..995b1b2 --- /dev/null +++ b/app/components/use-cases/LiveTelemetryBar.vue @@ -0,0 +1,92 @@ + + + diff --git a/app/components/use-cases/MiniBar.vue b/app/components/use-cases/MiniBar.vue new file mode 100644 index 0000000..6214ce9 --- /dev/null +++ b/app/components/use-cases/MiniBar.vue @@ -0,0 +1,34 @@ + + + diff --git a/app/components/use-cases/PrezeroPanel.vue b/app/components/use-cases/PrezeroPanel.vue new file mode 100644 index 0000000..5ccec50 --- /dev/null +++ b/app/components/use-cases/PrezeroPanel.vue @@ -0,0 +1,397 @@ + + + diff --git a/app/components/use-cases/RouteMatrixMap.vue b/app/components/use-cases/RouteMatrixMap.vue new file mode 100644 index 0000000..0882500 --- /dev/null +++ b/app/components/use-cases/RouteMatrixMap.vue @@ -0,0 +1,362 @@ + + + diff --git a/app/components/use-cases/RoutingPanel.vue b/app/components/use-cases/RoutingPanel.vue new file mode 100644 index 0000000..bc15680 --- /dev/null +++ b/app/components/use-cases/RoutingPanel.vue @@ -0,0 +1,387 @@ + + + diff --git a/app/components/use-cases/StaffingPanel.vue b/app/components/use-cases/StaffingPanel.vue new file mode 100644 index 0000000..58a7faf --- /dev/null +++ b/app/components/use-cases/StaffingPanel.vue @@ -0,0 +1,428 @@ + + + diff --git a/app/components/use-cases/UseCaseTabs.vue b/app/components/use-cases/UseCaseTabs.vue new file mode 100644 index 0000000..fdb349b --- /dev/null +++ b/app/components/use-cases/UseCaseTabs.vue @@ -0,0 +1,58 @@ + + + diff --git a/app/layouts/default.vue b/app/layouts/default.vue index 3a5a93f..e610da9 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -5,7 +5,17 @@ const menuButton = ref(null) const engineActive = computed(() => route.path === '/') const sensorsActive = computed(() => route.path.startsWith('/sensors')) +const useCasesActive = computed(() => route.path.startsWith('/use-cases')) const playgroundActive = computed(() => route.path.startsWith('/playground')) +const activeUseCase = computed(() => + route.query.uc === 'staffing' || route.query.uc === 'prezero' ? route.query.uc : 'routing', +) + +const useCaseLinks = [ + { id: 'staffing', label: 'UC1: Staffing' }, + { id: 'routing', label: 'UC2: Smart Routing' }, + { id: 'prezero', label: 'UC3: PreZero Depot' }, +] as const const navLinkClass = 'inline-flex h-16 items-center border-b-2 font-label-md transition-colors' @@ -80,13 +90,13 @@ watch(() => route.fullPath, closeMenu) > Sensors - Use cases - + route.fullPath, closeMenu) + +