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:
BIN
download/Otryvok_1.pdf
Normal file
BIN
download/Otryvok_1.pdf
Normal file
Binary file not shown.
BIN
download/Otryvok_2.pdf
Normal file
BIN
download/Otryvok_2.pdf
Normal file
Binary file not shown.
@ -49,8 +49,5 @@ export default defineNuxtConfig({
|
||||
smtpPass: process.env.SMTP_PASS,
|
||||
},
|
||||
|
||||
modules: [
|
||||
...config.modules,
|
||||
// ['nuxt-mail', ... ] // Модуль больше не нужен
|
||||
],
|
||||
modules: [...config.modules],
|
||||
})
|
||||
|
@ -26,6 +26,7 @@
|
||||
"better-sqlite3": "^11.10.0",
|
||||
"crypto-js": "^4.2.0",
|
||||
"date-fns": "^4.1.0",
|
||||
"express": "^5.1.0",
|
||||
"husky": "^9.1.7",
|
||||
"nodemailer": "^7.0.3",
|
||||
"nuxt": "^3.17.5",
|
||||
@ -39,6 +40,7 @@
|
||||
"@nuxt/eslint": "^1.4.1",
|
||||
"@nuxt/test-utils": "^3.11.3",
|
||||
"@nuxtjs/tailwindcss": "^6.11.4",
|
||||
"@types/express": "^5.0.3",
|
||||
"@types/node": "^22.0.0",
|
||||
"@types/nodemailer": "^6.4.17",
|
||||
"@types/pg": "^8.15.4",
|
||||
|
@ -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