Files
Omair Saleh 056c47581f feat: editorial review dashboard + elite-grade pilot batch (5 SKUs)
Ships the second dashboard surface — a Pattern Library + Preview Theatre — that
presents the 4-section PDP pilot batch back to Umar, compliance, and the board
in an editorial format. Adds the full data layer that drives it: 5 source-backed
per-SKU drafts at QA 100/100, 15 competitor PDP semantic extracts, PubMed
evidence packs, EFSA claims library extension, JV brand voice guide, hand-curated
product FAQs, and the Matrixify-ready CSV exports for Lewis.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-02 18:50:09 +08:00

25 lines
912 B
JavaScript

import { createApp } from 'vue'
import { createRouter, createWebHashHistory } from 'vue-router'
import App from './App.vue'
import './styles/base.css'
import PatternLibrary from './views/PatternLibrary.vue'
import PreviewTheatre from './views/PreviewTheatre.vue'
const routes = [
{ path: '/', redirect: '/patterns' },
{ path: '/patterns', name: 'patterns', component: PatternLibrary, meta: { title: 'Pattern Library' } },
{ path: '/patterns/:section', name: 'patterns-section', component: PatternLibrary, meta: { title: 'Pattern Library' } },
{ path: '/preview', redirect: '/preview/JV-D1000' },
{ path: '/preview/:sku', name: 'preview', component: PreviewTheatre, meta: { title: 'Preview Theatre' } }
]
const router = createRouter({
history: createWebHashHistory('/editorial/'),
routes,
scrollBehavior: () => ({ top: 0 })
})
createApp(App).use(router).mount('#app')