ignoreBuildErrors: true
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import React from 'react'
|
||||
import ResponsiveNav from "@/components/Navbar/ResponsiveNav";
|
||||
import { fetchCourses, fetchSettings, fetchAboutus } from "@/utils";
|
||||
import { CoursesProps, AboutusProps } from "@/types";
|
||||
import Course from '@/components/Course/Course';
|
||||
import dynamic from 'next/dynamic'
|
||||
import {AboutusProps } from "@/types";
|
||||
import Home from '@/components/Aboutus/Home';
|
||||
async function getCourses() {
|
||||
const courses = await fetchCourses();
|
||||
|
@@ -1,8 +1,6 @@
|
||||
import React from 'react'
|
||||
import ResponsiveNav from "@/components/Navbar/ResponsiveNav";
|
||||
import { fetchCourses, fetchCourse, fetchSettings } from "@/utils";
|
||||
import { CoursesProps } from "@/types";
|
||||
import Course from '@/components/Course/Course';
|
||||
import dynamic from 'next/dynamic'
|
||||
const DynamicComponent = dynamic(() => import('@/components/Course/Course'), {
|
||||
ssr: false,
|
||||
|
@@ -1,9 +1,6 @@
|
||||
import type { Metadata } from "next";
|
||||
import localFont from "next/font/local";
|
||||
import "./globals.css";
|
||||
import ResponsiveNav from "../components/Navbar/ResponsiveNav";
|
||||
import { fetchCourses } from "@/utils";
|
||||
import { TailSpin } from "react-loader-spinner";
|
||||
import { Toaster } from "react-hot-toast";
|
||||
const geistSans = localFont({
|
||||
src: "./fonts/GeistVF.woff",
|
||||
|
@@ -1,7 +1,5 @@
|
||||
import Image from "next/image";
|
||||
import Home from "../components/Home/Home";
|
||||
import { fetchCourses, fetchSettings} from "../utils/index";
|
||||
import { CoursesProps } from "@/types";
|
||||
import ResponsiveNav from "../components/Navbar/ResponsiveNav";
|
||||
type Props = {}
|
||||
|
||||
@@ -20,7 +18,7 @@ export const metadata = {
|
||||
description: "**",
|
||||
}
|
||||
|
||||
export default async function HomePage({ }: Props) {
|
||||
export default async function HomePage({}: Props) {
|
||||
const courses = await getCourses();
|
||||
const settings = await getSettings();
|
||||
return (
|
||||
|
Reference in New Issue
Block a user