change font-size 20px -> 15px
All checks were successful
Deploy Application / deploy (push) Successful in 5s

feat privacy page
feat titles-page
This commit is contained in:
2025-06-15 17:32:27 +04:00
parent e4176ba9c9
commit 102ab3991b
27 changed files with 841 additions and 142 deletions

View File

@ -1,10 +1,17 @@
import type { Component } from 'vue'
interface ChlidrenRoute {
path: string
name: string
component: () => Promise<Component>
props?: boolean
}
interface Route {
path: string
name: string
component: () => Promise<Component>
props?: boolean
children?: ChlidrenRoute[]
}
const routes: Route[] = [
@ -18,6 +25,18 @@ const routes: Route[] = [
name: 'book-detail',
component: () => import('@/pages/books/_slug/indexBookPage.vue'),
props: true,
children: [
{
path: ':titlesSlug',
name: 'book-titles',
component: () => import('@/pages/books/_slug/_titlesSlug/indexTitlesPage.vue'),
},
],
},
{
path: '/privacy',
name: 'privacy',
component: () => import('@/pages/privacy/privacyPage.vue'),
},
]