diff --git a/public/img/svg/books/1/f7_exclamationmark.svg b/public/img/svg/books/1/f7_exclamationmark.svg new file mode 100644 index 0000000..368d1e0 --- /dev/null +++ b/public/img/svg/books/1/f7_exclamationmark.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/1/lucide_star.svg b/public/img/svg/books/1/lucide_star.svg new file mode 100644 index 0000000..21725cb --- /dev/null +++ b/public/img/svg/books/1/lucide_star.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/1/mdi_heart-outline.svg b/public/img/svg/books/1/mdi_heart-outline.svg new file mode 100644 index 0000000..b92bbe4 --- /dev/null +++ b/public/img/svg/books/1/mdi_heart-outline.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/1/meteor-icons_message.svg b/public/img/svg/books/1/meteor-icons_message.svg new file mode 100644 index 0000000..b10f823 --- /dev/null +++ b/public/img/svg/books/1/meteor-icons_message.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/1/stash_target.svg b/public/img/svg/books/1/stash_target.svg new file mode 100644 index 0000000..7d854fc --- /dev/null +++ b/public/img/svg/books/1/stash_target.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/img/svg/books/2/game-icons_heart-key.svg b/public/img/svg/books/2/game-icons_heart-key.svg new file mode 100644 index 0000000..cef36bf --- /dev/null +++ b/public/img/svg/books/2/game-icons_heart-key.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/2/icon-park-outline_turn-on.svg b/public/img/svg/books/2/icon-park-outline_turn-on.svg new file mode 100644 index 0000000..2d96d68 --- /dev/null +++ b/public/img/svg/books/2/icon-park-outline_turn-on.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/img/svg/books/2/icon-park_play-cycle.svg b/public/img/svg/books/2/icon-park_play-cycle.svg new file mode 100644 index 0000000..690e4c8 --- /dev/null +++ b/public/img/svg/books/2/icon-park_play-cycle.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/img/svg/books/2/iconoir_sparks.svg b/public/img/svg/books/2/iconoir_sparks.svg new file mode 100644 index 0000000..caefc2a --- /dev/null +++ b/public/img/svg/books/2/iconoir_sparks.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/2/material-symbols_heart-plus-outline-rounded.svg b/public/img/svg/books/2/material-symbols_heart-plus-outline-rounded.svg new file mode 100644 index 0000000..825d774 --- /dev/null +++ b/public/img/svg/books/2/material-symbols_heart-plus-outline-rounded.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/book-formats.svg b/public/img/svg/books/book-formats.svg new file mode 100644 index 0000000..a15e1a1 --- /dev/null +++ b/public/img/svg/books/book-formats.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/img/svg/books/book-illustrations.svg b/public/img/svg/books/book-illustrations.svg new file mode 100644 index 0000000..40d6e2b --- /dev/null +++ b/public/img/svg/books/book-illustrations.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/book-pages.svg b/public/img/svg/books/book-pages.svg new file mode 100644 index 0000000..ec9a0e9 --- /dev/null +++ b/public/img/svg/books/book-pages.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/public/img/svg/books/download.svg b/public/img/svg/books/download.svg new file mode 100644 index 0000000..614ac42 --- /dev/null +++ b/public/img/svg/books/download.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/read.svg b/public/img/svg/books/read.svg new file mode 100644 index 0000000..1069423 --- /dev/null +++ b/public/img/svg/books/read.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/img/svg/books/ruble.svg b/public/img/svg/books/ruble.svg new file mode 100644 index 0000000..e48b214 --- /dev/null +++ b/public/img/svg/books/ruble.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/img/svg/books/titles.svg b/public/img/svg/books/titles.svg new file mode 100644 index 0000000..bac03c2 --- /dev/null +++ b/public/img/svg/books/titles.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/img/webp/books/1.webp b/public/img/webp/books/1.webp new file mode 100644 index 0000000..cc93fbf Binary files /dev/null and b/public/img/webp/books/1.webp differ diff --git a/public/img/webp/books/2.webp b/public/img/webp/books/2.webp new file mode 100644 index 0000000..cf253a6 Binary files /dev/null and b/public/img/webp/books/2.webp differ diff --git a/src/assets/img/webp/vino-galante.webp b/src/assets/img/webp/vino-galante.webp new file mode 100644 index 0000000..aad923b Binary files /dev/null and b/src/assets/img/webp/vino-galante.webp differ diff --git a/src/config/router/routes.ts b/src/config/router/routes.ts index 96e2900..d79c138 100644 --- a/src/config/router/routes.ts +++ b/src/config/router/routes.ts @@ -4,14 +4,21 @@ interface Route { path: string name: string component: () => Promise + props?: boolean } const routes: Route[] = [ { path: '/', - name: '/', + name: 'home', component: () => import('@/pages/mainPage/indexPage.vue'), }, + { + path: '/books/:slug', + name: 'book-detail', + component: () => import('@/pages/books/_slug/indexBookPage.vue'), + props: true, + }, ] export default routes diff --git a/src/layout/UiLayout.vue b/src/layout/UiLayout.vue index 45cc83c..5762ed0 100644 --- a/src/layout/UiLayout.vue +++ b/src/layout/UiLayout.vue @@ -1,18 +1,26 @@