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[]>([]);
|
||||
|
@@ -1,6 +1,5 @@
|
||||
"use client"
|
||||
import React from 'react'
|
||||
import CustomButton from './CustomButton'
|
||||
import { useForm, SubmitHandler } from "react-hook-form"
|
||||
import { postMessage } from '@/utils'
|
||||
import { MessageProps } from '@/types'
|
||||
@@ -17,9 +16,8 @@ const ContactForm = ({ startLoading, stopLoading }: Props) => {
|
||||
const {
|
||||
register,
|
||||
handleSubmit,
|
||||
watch,
|
||||
reset,
|
||||
formState: { errors },
|
||||
formState: {},
|
||||
} = useForm<MessageProps>()
|
||||
const onSubmit: SubmitHandler<MessageProps> = async (data) => {
|
||||
try {
|
||||
|
@@ -2,7 +2,7 @@
|
||||
import React from 'react'
|
||||
import Collapse from './Collapse'
|
||||
import ScheduleCollapse from './ScheduleCollapse'
|
||||
import { CoursesProps, ScheduleProps, RerganizedScheduleProps } from '@/types'
|
||||
import { CoursesProps, ScheduleProps } from '@/types'
|
||||
|
||||
|
||||
async function reorganizedSchedule(schedule: ScheduleProps[]) {
|
||||
|
Reference in New Issue
Block a user