Add settings page with 4 tabs (Logo, Company, Visibility, Theme) for managing company branding, social links, sidebar section visibility, and color themes. Integrate settings store globally so sidebar, footer, header, and theme respond to admin configuration. Add active/dedicated customer stat cards to dashboard. Wire up quick-call contacts and Google review links from settings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
51 lines
1.0 KiB
TypeScript
Executable File
51 lines
1.0 KiB
TypeScript
Executable File
|
|
|
|
const OilPrice = () => import('../admin/oilprice.vue');
|
|
|
|
const Promo = () => import('../admin/promo/promo.vue');
|
|
const PromoCreate = () => import('../admin/promo/create.vue');
|
|
const PromoEdit = () => import('../admin/promo/edit.vue');
|
|
|
|
const StatsHome = () => import('../admin/stats/StatsHome.vue');
|
|
const SettingsPage = () => import('../admin/settings/SettingsPage.vue');
|
|
|
|
|
|
const adminRoutes = [
|
|
{
|
|
path: '/oilprice',
|
|
name: 'oilprice',
|
|
component: OilPrice,
|
|
},
|
|
|
|
|
|
{
|
|
path: '/promo/edit/:id',
|
|
name: 'promoedit',
|
|
component: PromoEdit,
|
|
},
|
|
{
|
|
path: '/promo/create',
|
|
name: 'promocreate',
|
|
component: PromoCreate,
|
|
},
|
|
{
|
|
path: '/stats',
|
|
name: 'stats',
|
|
component: StatsHome,
|
|
},
|
|
{
|
|
path: '/promo',
|
|
name: 'promo',
|
|
component: Promo,
|
|
},
|
|
{
|
|
path: '/settings',
|
|
name: 'settings',
|
|
component: SettingsPage,
|
|
},
|
|
|
|
]
|
|
|
|
export default adminRoutes
|
|
//sourceMappingURL=index.ts.map
|