ignoreBuildErrors: true
This commit is contained in:
@@ -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'>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { CoursesProps } from '@/types'
|
||||
|
||||
const Banner = () => {
|
||||
|
||||
return (
|
||||
|
@@ -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[]>([]);
|
||||
|
Reference in New Issue
Block a user