singleBlogIssue
parent
dfaefc1ef2
commit
13fcb5975a
|
@ -72,7 +72,7 @@
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<FaqSection />
|
<!-- <FaqSection /> -->
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -127,24 +127,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-6 text-center text-xl text-color-2">{{vdo.videos_title}}</div>
|
<div class="mt-6 text-center text-xl text-color-2">{{vdo.videos_title}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <label :for="vdo.videos_file" >
|
|
||||||
<div class="flex bg-gray-200 -rotate-6 cursor-pointer gap-8">
|
|
||||||
<div class="flex rotate-6 relative"><img v-if="vdo.video_thumb" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+vdo.video_thumb" alt="" class="rounded-tl-xl rounded-br-xl shadow-2xl" />
|
|
||||||
<img v-else src="/img/image_not_available.png" alt="" />
|
|
||||||
<img class="absolute top-20 left-28 -rotate-6 w-24" src="/img/svg/play.svg" alt="" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="mt-6 text-center text-xl text-color-2">{{vdo.videos_title}}</div>
|
|
||||||
</label>
|
|
||||||
<input type="checkbox" :id="vdo.videos_file" class="modal-toggle" />
|
|
||||||
<label :for="vdo.videos_file" class="modal cursor-pointer">
|
|
||||||
<label class="modal-box relative" for="">
|
|
||||||
<iframe width="340"
|
|
||||||
src="https://www.youtube.com/embed/tgbNymZ7vqY">
|
|
||||||
</iframe>
|
|
||||||
</label>
|
|
||||||
</label> -->
|
|
||||||
</div>
|
</div>
|
||||||
<a href="/plan">
|
<a href="/plan">
|
||||||
<div v-for="vdo in videos.slice(3, 4)" :key="videos.id" class="p-4">
|
<div v-for="vdo in videos.slice(3, 4)" :key="videos.id" class="p-4">
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
import Layout from "../../layouts/Layout.astro";
|
import Layout from "../../layouts/Layout.astro";
|
||||||
// import BlogGetinTouch from "../../components/BlogGetinTouch.vue";
|
// import BlogGetinTouch from "../../components/BlogGetinTouch.vue";
|
||||||
// import BlogFaq from "../../components/BlogFaq.vue";
|
// import BlogFaq from "../../components/BlogFaq.vue";
|
||||||
const imgPrefix='https://curriculum-app-api.beanstalkedu.com/assets/';
|
// const imgPrefix='https://curriculum-app-api.beanstalkedu.com/assets/';
|
||||||
const response = await fetch('https://curriculum-app-api.beanstalkedu.com/items/blog');
|
const response = await fetch('https://curriculum-app-api.beanstalkedu.com/items/blog');
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
const faq = await fetch('https://management.beanstalkedu.com/items/FAQ?filter[property][_eq]=teenybeans_curriculum&filter[slug][_eq]=blog');
|
// const faq = await fetch('https://management.beanstalkedu.com/items/FAQ?filter[property][_eq]=teenybeans_curriculum&filter[slug][_eq]=blog');
|
||||||
const faqJson = await faq.json();
|
// const faqJson = await faq.json();
|
||||||
export async function getStaticPaths() {
|
export async function getStaticPaths() {
|
||||||
const response = await fetch('https://curriculum-app-api.beanstalkedu.com/items/blog');
|
const response = await fetch('https://curriculum-app-api.beanstalkedu.com/items/blog');
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|
Loading…
Reference in New Issue