c2342a343b
* add enterprise downloads page * remove beta block * clean up prop repetition, add hcp callout * move around external props pattern * add legal notice to ent page
17 lines
548 B
JavaScript
17 lines
548 B
JavaScript
import VERSION from 'data/version'
|
|
import { productSlug } from 'data/metadata'
|
|
import ProductDownloadsPage from '@hashicorp/react-product-downloads-page'
|
|
import { generateStaticProps } from '@hashicorp/react-product-downloads-page/server'
|
|
import baseProps from 'components/downloads-props'
|
|
|
|
export default function DownloadsPage(staticProps) {
|
|
return <ProductDownloadsPage {...baseProps()} {...staticProps} />
|
|
}
|
|
|
|
export async function getStaticProps() {
|
|
return generateStaticProps({
|
|
product: productSlug,
|
|
latestVersion: VERSION,
|
|
})
|
|
}
|