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,5 +1,5 @@
"use client"
import React, { useEffect, useState, lazy, Suspense } from 'react'
import React, { useEffect, useState, Suspense } from 'react'
import Banner from './Banner'
import LongDesc from './LongDesc'
import CourseImagesSilder from './CourseImagesSilder'
@@ -21,8 +21,6 @@ const Course = ({ course, settings }: { course: CoursesProps, settings: Settings
}; loadCourses();
}, []);
const startLoading = () => setLoading(true);
const stopLoading = () => setLoading(false);
return (

View File

@@ -4,11 +4,11 @@ import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";
import Slider from "react-slick";
import './slick.css'
import { CoursesProps, CoursesArrayProps } from "@/types";
import { CoursesProps } from "@/types";
import { IoIosArrowForward, IoIosArrowBack } from "react-icons/io";
const SamplePrevArrow = (props: any) => {
const { className, style, onClick } = props;
const { onClick } = props;
return (
<div
id='prev'
@@ -23,7 +23,7 @@ const SamplePrevArrow = (props: any) => {
function SampleNextArrow(props: any) {
const { className, style, onClick } = props;
const { onClick } = props;
return (
<div
id='next'