import { nanoid } from 'nanoid'; import Layout from '../src/components/layout'; import { Hero, Icon, Button, H2, P, normalizeSubtext } from '../src/components/jambonz-ui'; import { getData } from '../src/lib/data'; function Structure({data}) { return ( <> {normalizeSubtext(data.text).map((text) => { return {text}; })} > {data.cta.text} {data.cta.cta} ); } function Services({data}) { return ( {data.headline} {data.services.map((service) => { return ( {service.title} {service.text} ); })} {data.cta} ); } export default function Pricing({ data }) { return ( ); } export async function getStaticProps() { const data = getData('pricing'); return { props: { data, }, }; }
{text}
{data.cta.text}
{service.title}
{service.text}