From baa8fe7ae7208eccfc842ab0f13630c8e4449388 Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Sat, 14 Nov 2026 18:41:52 +0100 Subject: [PATCH] feat(web): add privacy-first sensing options page Port the Stitch sensing-options design to /sensors with route-based nav, bundled Material Symbols icons, and honest privacy labels in place of mock certifications and scores. --- app/layouts/default.vue | 92 ++++++---- app/pages/index.vue | 2 +- app/pages/sensors.vue | 389 ++++++++++++++++++++++++++++++++++++++++ nuxt.config.ts | 9 + 4 files changed, 457 insertions(+), 35 deletions(-) create mode 100644 app/pages/sensors.vue diff --git a/app/layouts/default.vue b/app/layouts/default.vue index ae20768..36f8649 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -3,6 +3,29 @@ const route = useRoute() const mobileOpen = ref(false) const menuButton = ref(null) +const engineActive = computed(() => route.path === '/') +const sensorsActive = computed(() => route.path.startsWith('/sensors')) + +const navLinkClass = + 'inline-flex h-16 items-center border-b-2 font-label-md transition-colors' +const mobileLinkClass = 'inline-flex h-12 items-center justify-center font-label-md transition-colors' + +function desktopLinkClass(active: boolean) { + return [ + navLinkClass, + active + ? 'border-[#00C3CD] text-[#00C3CD] font-semibold' + : 'border-transparent text-[#94A3B8] hover:text-[#FFFFFF]', + ].join(' ') +} + +function mobileLinkClassFor(active: boolean) { + return [ + mobileLinkClass, + active ? 'text-[#00C3CD] font-semibold' : 'text-[#94A3B8] hover:text-[#FFFFFF]', + ].join(' ') +} + function closeMenu() { mobileOpen.value = false } @@ -44,32 +67,32 @@ watch(() => route.fullPath, closeMenu) > Engine - Sensors - - + Use cases - - + Playground - +