This commit is contained in:
2024-10-08 14:58:04 +08:00
parent 2038336ba3
commit a583b8c5ad
10 changed files with 13 additions and 33 deletions

View File

@@ -1,15 +1,13 @@
"use client";
import { useState, useEffect, lazy, Suspense } from "react";
import { Audio } from "react-loader-spinner";
const Hero1 = lazy(() => import('../Hero1'));
import Hero2 from '../Hero2'
import CoursesSilder from "../CoursesSilder";
import ContactForm from '../ContactForm'
import Loading from '../Loading'
import Footer from '../Footer'
import { fetchCourses } from '../../utils/index'
import { CoursesArrayProps, CoursesProps, SettingsProps } from "@/types";
import { CoursesProps, SettingsProps } from "@/types";
import Whatsapp from "../Whatsapp";
const Home = ({ courses, settings }: { courses: CoursesProps[], settings: SettingsProps }) => {
const [loading, setLoading] = useState(true);