import { serverClient } from "@/lib/trpc/server" import { Blocks } from "@/components/Loyalty/Blocks" import Sidebar from "@/components/Loyalty/Sidebar" import MaxWidth from "@/components/MaxWidth" import Breadcrumbs from "../MyPages/Breadcrumbs" import styles from "./loyaltyPage.module.css" export default async function LoyaltyPage() { const loyaltyPage = await serverClient().contentstack.loyaltyPage.get() return ( <>
{loyaltyPage.sidebar.length ? ( ) : null} {loyaltyPage.blocks ? : null}
) }