From 7b01fe4aa26841c0e8ec3ab78ec77f3ba5dfa352 Mon Sep 17 00:00:00 2001 From: Abhijeet Bagade Date: Wed, 11 Jun 2025 17:29:29 +0530 Subject: [PATCH 1/3] fix-home,interakto,interakto coding,teenybeans page done --- src/components/Blogs/index.jsx | 48 +++++++++---------- src/components/Blogs/index.module.css | 9 ++++ .../PhotoFlipCarousel/PhotoFlipCarousel.jsx | 17 +++++-- .../ContentWrapper/ContentWrapper.module.css | 12 ++--- src/components/Footer/Footer.jsx | 2 +- src/components/Footer/Footer.module.css | 14 +++++- .../IntraktoCoding/IntraktoCoding.jsx | 48 +++++++++++-------- .../IntraktoCoding/IntraktoCoding.module.css | 12 ++--- src/components/interaKto/InteraKto.jsx | 37 +++++++------- src/components/interaKto/InteraKto.module.css | 4 ++ src/components/interaKto/Worksheets.jsx | 15 +++--- src/components/redux/purchaseSlice.js | 1 - src/layouts/Layout.astro | 8 ++++ .../index.astro} | 4 +- .../worksheet.astro | 15 ++++++ 15 files changed, 153 insertions(+), 93 deletions(-) create mode 100644 src/components/Blogs/index.module.css rename src/pages/{interactive-learning-resources-for-preschool.astro => interactive-learning-resources-for-preschool/index.astro} (84%) create mode 100644 src/pages/interactive-learning-resources-for-preschool/worksheet.astro diff --git a/src/components/Blogs/index.jsx b/src/components/Blogs/index.jsx index 97ec336..05c1499 100644 --- a/src/components/Blogs/index.jsx +++ b/src/components/Blogs/index.jsx @@ -7,6 +7,7 @@ import Banner from "../Blog/Banner"; import Footer from "../Footer/Footer"; import { store } from "../redux/store"; import { Provider } from "react-redux"; +import style from "./index.module.css"; const Index = () => { window.scrollTo({ top: 0, behavior: "instant" }); const [data, setData] = useState([]); @@ -18,7 +19,7 @@ const Index = () => { .then((result) => { result.json().then((res) => { setData(res.data.reverse()); - }); + }); }) .catch((error) => { // toast.error("Could not process data, please try again later!"); @@ -28,31 +29,26 @@ const Index = () => { return ( <> - - -

- Trending Blogs -

- - {newData.map((Blog) => ( - - - - ))} - -
-