diff --git a/src/components/ThemesAudioBook.vue b/src/components/ThemesAudioBook.vue index d021770..99c1d99 100644 --- a/src/components/ThemesAudioBook.vue +++ b/src/components/ThemesAudioBook.vue @@ -69,7 +69,7 @@ export default { .then(resp => resp.json()) .then(audiobooks => { this.audiobooks=audiobooks.data.reverse().slice(0, 3) - console.log(this.audiobooks) + // console.log(this.audiobooks) }) } } diff --git a/src/components/ThemesVideosID.vue b/src/components/ThemesVideosID.vue new file mode 100644 index 0000000..0613e81 --- /dev/null +++ b/src/components/ThemesVideosID.vue @@ -0,0 +1,252 @@ + + + + Videos {{ slug }} + {{page[0].videos_text}} + + + + + + + + + {{vdo.videos_title}} + + + + + + + + + + + Subscribe + To download more resources + + + + ... + + + + + + × + + + + + + + + + \ No newline at end of file diff --git a/src/pages/themes/[id].astro b/src/pages/themes/[id].astro index 6622f55..3407bc6 100644 --- a/src/pages/themes/[id].astro +++ b/src/pages/themes/[id].astro @@ -27,7 +27,7 @@ const twsRespJson = await twsResp.json(); const twsRespData = twsRespJson.data.reverse().slice(0, 3); const twsRespData2 = twsRespJson.data[3]; -import ThemesVideos from "../../components/ThemesVideos.vue"; +import ThemesVideos from "../../components/ThemesVideosID.vue"; import ThemesAudioBook from "../../components/ThemesAudioBook.vue"; const tcsResp = await fetch('https://management.beanstalkedu.com/items/theme_celebration_stories?filter[theme_key][_in]=' + thisThemesID);