This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Suspense } from "react"; | |
import MaterialsSections from "./components/MaterialsSections"; | |
import PageHeader from "./components/PageHeader"; | |
import { Loader2 } from "lucide-react"; | |
export default async function Home() { | |
const { errors, data } = await fetch(process.env.HYGRAPH_URL as string, { | |
method: "POST", | |
headers: { | |
"Content-Type": "application/json", |