import InfoCard from '../components/InfoCard';
import Tagline from "../components/Tagline";
import InlineLink from "../components/InlineLink";
import Navbar from '@/components/Navbar';
import Footer from '@/components/Footer';
import { getClient } from "@/lib/graphqlClient";
import { gql } from "@apollo/client";
const HOME_GET_DATA_QUERY = gql`
query {
homePage {
headline
section1Header
section1Body
section1Cta
section2Header
section2Body
section2Cta
section3Header
section3Body
section3Cta
section4Header
section4Body
section4Cta
}
}
`;
export default async function Home() {
const { data } = await getClient().query({
query: HOME_GET_DATA_QUERY,
});
return (
<>