diff --git a/src/components/EducatorsLicenseForm.vue b/src/components/EducatorsLicenseForm.vue index ee80b92..399259a 100644 --- a/src/components/EducatorsLicenseForm.vue +++ b/src/components/EducatorsLicenseForm.vue @@ -1,5 +1,95 @@ - + + // Import Swiper Vue.js components + import { Swiper, SwiperSlide } from 'swiper/vue'; + import 'swiper/css/navigation'; + import 'swiper/css/pagination'; + import { Navigation, Autoplay, Pagination, Scrollbar, A11y, } from 'swiper'; + + // Import Swiper styles + import 'swiper/css'; + // const swiper = new Swiper('.swiper', { + // autoplay: { + // delay: 5000, + // }, + // }); + + export default { + components: { + Swiper, + SwiperSlide, + }, + setup() { + const onSwiper = (swiper) => { + // console.log(swiper); + }; + const onSlideChange = () => { + // console.log('slide change'); + }; + + + return { + onSwiper, + onSlideChange, + modules: [Navigation, Autoplay, Pagination, Scrollbar, A11y], + + }; + }, + data() { + return { + page: null, + faqHome: null, + themes:null, + lessonplan:null, + stories: null, + ideas: null, + worksheets: null, + videos: null, + youtube: null, + audio: null, + isLoading: true, + + } + }, + mounted: function () { + fetch('https://management.beanstalkedu.com/items/lesson_plan') + .then(response => response.json()) + .then(data => { + this.lessonplan = data.data + // this.isLoading = false + // console.log(this.lessonplan) + // return this.page[0].id + }) + fetch('https://management.beanstalkedu.com/items/FAQ?filter[property][_eq]=teenybeans_curriculum&filter[slug][_eq]=home') + .then(resp => resp.json()) + .then(data => { + this.faqHome=data.data + // console.log(this.faqHome) + }) + }, + + }; + \ No newline at end of file diff --git a/src/pages/educators-license.astro b/src/pages/educators-license.astro index fd5826e..00f4577 100644 --- a/src/pages/educators-license.astro +++ b/src/pages/educators-license.astro @@ -12,7 +12,7 @@ const country = data.country;
-
+ -
+ -->
diff --git a/src/pages/school-license.astro b/src/pages/school-license.astro index 4e74b70..71d8eef 100644 --- a/src/pages/school-license.astro +++ b/src/pages/school-license.astro @@ -15,7 +15,7 @@ const country = data.country;
-
+ -
+ -->