import HomeHeader from "@/components/HomeHeader"; import HomeSearch from "@/components/HomeSearch"; import Image from "next/image"; import "@/app/globals.css"; export default function Home() { return ( <> {/* Header */} {/* body */}
); } export async function getServerSideProps(context) { // You can access the query parameters of the request with context.query const searchParams = context.query; // TODO: Perform any necessary operations with searchParams // Return searchParams as a prop to your page return { props: { searchParams } }; }