new file: download/Otryvok_1.pdf
Some checks failed
Deploy Nuxt App / deploy (push) Failing after 50s
Some checks failed
Deploy Nuxt App / deploy (push) Failing after 50s
new file: download/Otryvok_2.pdf modified: nuxt.config.ts modified: package.json modified: pages/books/[slug].vue modified: pages/books/_data/1.json modified: pages/books/_data/2.json
This commit is contained in:
@ -104,7 +104,11 @@
|
||||
</NuxtLink>
|
||||
</li>
|
||||
<li class="flex flex-row items-center">
|
||||
<NuxtLink to="#" class="flex flex-col items-center gap-8 cursor-pointer">
|
||||
<a
|
||||
download
|
||||
:href="book.download"
|
||||
class="flex flex-col items-center gap-8 cursor-pointer"
|
||||
>
|
||||
<img
|
||||
src="/img/svg/books/download.svg"
|
||||
alt="Скачай отрывок"
|
||||
@ -113,7 +117,7 @@
|
||||
/>
|
||||
|
||||
<UiParagraph size="250" as="span"> Скачай отрывок </UiParagraph>
|
||||
</NuxtLink>
|
||||
</a>
|
||||
</li>
|
||||
<li class="flex flex-row items-center">
|
||||
<NuxtLink
|
||||
@ -167,7 +171,6 @@ import { useRoute, useRouter } from '#app'
|
||||
import UiHeading from '@/components/Typography/UiHeading.vue'
|
||||
import UiParagraph from '@/components/Typography/UiParagraph.vue'
|
||||
import UiButton from '@/components/UiButton/UiButton.vue'
|
||||
import { useSelectedBook } from '@/store/useSelectedBook'
|
||||
|
||||
interface BookDetail {
|
||||
id: number
|
||||
@ -189,6 +192,7 @@ interface BookDetail {
|
||||
}>
|
||||
href: string
|
||||
hrefTitles: string
|
||||
download: string
|
||||
}
|
||||
|
||||
const route = useRoute()
|
||||
|
@ -35,5 +35,6 @@
|
||||
}
|
||||
],
|
||||
"href": "https://www.litres.ru/58125553/",
|
||||
"hrefTitles": "title-1"
|
||||
"hrefTitles": "title-1",
|
||||
"download": "Otryvok_1.pdf"
|
||||
}
|
||||
|
@ -35,5 +35,6 @@
|
||||
}
|
||||
],
|
||||
"href": "https://www.litres.ru/vino-galante/kak-vlubit-v-sebya-lubogo-tonkaya-igra/",
|
||||
"hrefTitles": "title-2"
|
||||
"hrefTitles": "title-2",
|
||||
"download": "Otryvok_2.pdf"
|
||||
}
|
||||
|
Reference in New Issue
Block a user