ignoreBuildErrors: true

This commit is contained in:
2024-10-08 14:46:18 +08:00
parent 722edc1b73
commit ae916f0130
10 changed files with 13 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react'
import { CoursesProps, AboutusProps } from '@/types'
import { AboutusProps } from '@/types'
const AboutusContent = ({ aboutus }: { aboutus: AboutusProps[] }) => {
return (
<div className='relative flex flex-col bg-[#F6E8E9] w-full h-auto items-center pb-30 lg:pt-36 pt-10'>
@@ -7,7 +7,7 @@ const AboutusContent = ({ aboutus }: { aboutus: AboutusProps[] }) => {
aboutus.map((item, index) => {
const isEven = index % 2 === 0;
return (
<div>
<div key={index}>
<div className="hidden lg:flex relative w-[80vw] lg:mb-28 mb-10">
{isEven ? (
<div className='lg:grid lg:grid-cols-2 w-[80vw] mb-28'>

View File

@@ -1,5 +1,5 @@
import React from 'react'
import { CoursesProps } from '@/types'
const Banner = () => {
return (

View File

@@ -1,14 +1,14 @@
"use client";
import { useState, useEffect, lazy, Suspense } from "react";
import { useState, useEffect, Suspense } from "react";
import Loading from '../Loading'
import Footer from '../Footer'
import ContactForm from "../ContactForm";
import AboutusContent from "./AboutusContent";
import Banner from "./Banner";
import Map from "./Map";
import { CoursesArrayProps, CoursesProps, SettingsProps, AboutusProps } from "@/types";
import Whatsapp from "../Whatsapp";
import { CoursesProps, SettingsProps, AboutusProps } from "@/types";
const Home = ({ courses, settings, aboutus }: { courses: CoursesProps[], settings: SettingsProps, aboutus: AboutusProps[] }) => {
const [loading, setLoading] = useState(true);
// const [courses, setCourses] = useState<CoursesProps[]>([]);