import HomepageHero from 'components/homepage-hero' import SectionHeader from '@hashicorp/react-section-header' import UseCases from '@hashicorp/react-use-cases' import TextSplits from '@hashicorp/react-text-splits' import Button from '@hashicorp/react-button' import BeforeAfterDiagram from '../../components/before-after-diagram' import HcpCalloutSection from 'components/hcp-callout-section' // Imports below are used in getStaticProps only import RAW_CONTENT from './content.json' import highlightData from '@hashicorp/nextjs-scripts/prism/highlight-data' import processBeforeAfterDiagramProps from 'components/before-after-diagram/server' export async function getStaticProps() { const content = await highlightData(RAW_CONTENT) content.beforeAfterDiagram = await processBeforeAfterDiagramProps( content.beforeAfterDiagram ) return { props: { content } } } export default function Homepage({ content }) { return (