import Link from 'next/link'
import Button from '@hashicorp/react-button'
import ProductDownloadsPage from '@hashicorp/react-product-downloads-page'
import { generateStaticProps } from '@hashicorp/react-product-downloads-page/server'
import { VERSION, CHANGELOG_URL } from 'data/version'
import { productSlug } from 'data/metadata'
import s from './style.module.css'
export default function DownloadsPage(staticProps) {
const changelogUrl = CHANGELOG_URL.length
? CHANGELOG_URL
: `https://github.com/hashicorp/vault/blob/v${VERSION}/CHANGELOG.md`
return (
Release notes are available in our{' '} documentation .
> } /> ) } export function getStaticProps() { return generateStaticProps({ product: productSlug, latestVersion: VERSION, }) } function MerchandisingSlot() { return (Want all of the power and security of Vault, without the complexity and overhead of managing it yourself?