open-consul/website/pages/downloads/index.jsx
Jeff Escalante c2342a343b
add enterprise downloads page (#10550)
* 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
2021-12-24 14:53:07 -05:00

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,
})
}