singleBlogIssue

master
Suvodip Ghosh 2023-02-20 09:17:39 +05:30
parent dfaefc1ef2
commit 13fcb5975a
3 changed files with 5 additions and 23 deletions

View File

@ -72,7 +72,7 @@
</figure>
</div>
</div>
<FaqSection />
<!-- <FaqSection /> -->
</div>
</section>
</div>

View File

@ -127,24 +127,6 @@
</div>
<div class="mt-6 text-center text-xl text-color-2">{{vdo.videos_title}}</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>
<a href="/plan">
<div v-for="vdo in videos.slice(3, 4)" :key="videos.id" class="p-4">
@ -235,7 +217,7 @@
</div>
<div class="grid place-items-center"><img src="/img/frequently.png" alt=""></div>
</div>
</section>
</section>
<!-- Youtube Modal -->
<div @click="hideYtModal" v-if="ytModal" id="ytModal" class="flex justify-center ytModal">
<div class="modal-content">

View File

@ -2,11 +2,11 @@
import Layout from "../../layouts/Layout.astro";
// import BlogGetinTouch from "../../components/BlogGetinTouch.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 data = await response.json();
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 faq = await fetch('https://management.beanstalkedu.com/items/FAQ?filter[property][_eq]=teenybeans_curriculum&filter[slug][_eq]=blog');
// const faqJson = await faq.json();
export async function getStaticPaths() {
const response = await fetch('https://curriculum-app-api.beanstalkedu.com/items/blog');
const data = await response.json();