Skip to content

Commit

Permalink
add Nomad v1.3.0-beta.1 download box
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Apr 8, 2022
1 parent 52acfcd commit 4bc1893
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion website/pages/downloads/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,23 @@ 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'
import s from './style.module.css'

export default function DownloadsPage(staticProps) {
return <ProductDownloadsPage {...baseProps()} {...staticProps} />
return <ProductDownloadsPage
{...baseProps()}
merchandisingSlot={
<div className={s.releaseCandidate}>
<p>
A beta for Nomad v1.3.0 is available! The release can be{' '}
<a href="https://releases.hashicorp.com/nomad/1.3.0-beta.1/">
downloaded here.
</a>
</p>
</div>
}
{...staticProps}
/>
}

export async function getStaticProps() {
Expand Down

0 comments on commit 4bc1893

Please sign in to comment.