2021-01-07 14:08:26 +01:00
|
|
|
const React = require("react");
|
|
|
|
|
|
|
|
const CompLibrary = require("../../core/CompLibrary");
|
|
|
|
|
|
|
|
const Container = CompLibrary.Container;
|
|
|
|
|
|
|
|
const CWD = process.cwd();
|
|
|
|
|
|
|
|
const versions = require(`${CWD}/versions.json`);
|
|
|
|
|
|
|
|
function Downloads(props) {
|
|
|
|
const {config: siteConfig} = props;
|
|
|
|
const latestVersion = versions[0];
|
|
|
|
const releaseUrl = `https://github.com/${siteConfig.organizationName}/${siteConfig.projectName}/releases`;
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="docMainWrapper wrapper">
|
|
|
|
<Container className="mainContainer versionsContainer">
|
|
|
|
<div className="post">
|
|
|
|
<header className="postHeader">
|
|
|
|
<h1>{siteConfig.title} downloads</h1>
|
|
|
|
</header>
|
|
|
|
<p>New versions of this project are released every so often.</p>
|
|
|
|
<h3 id="latest">Current version</h3>
|
|
|
|
<table className="versions">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>{latestVersion}</th>
|
|
|
|
<td>
|
2022-02-13 23:26:54 +01:00
|
|
|
<a href={`${releaseUrl}/tag/${latestVersion}`}>
|
2021-01-07 14:08:26 +01:00
|
|
|
Release
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a href={siteConfig.scaladocUrl}>Scaladoc</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-02-13 23:26:54 +01:00
|
|
|
<a href={`${releaseUrl}/download/${latestVersion}/bitcoin-s-${latestVersion}.dmg`}>bitcoin-s-server-{latestVersion}.dmg</a>
|
2021-01-07 14:08:26 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-02-13 23:26:54 +01:00
|
|
|
<a href={`${releaseUrl}/download/${latestVersion}/bitcoin-s-server-${latestVersion}.zip`}>bitcoin-s-server-{latestVersion}.zip</a>
|
2021-01-07 14:08:26 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-02-13 23:26:54 +01:00
|
|
|
<a href={`${releaseUrl}/download/${latestVersion}/bitcoin-s_${latestVersion}-1_amd64.deb`}>bitcoin-s-server-amd64.deb</a>
|
2021-01-07 14:08:26 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-02-13 23:26:54 +01:00
|
|
|
<a href={`${releaseUrl}/download/${latestVersion}/bitcoin-s-bundle.msi`}>bitcoin-s-server.msi</a>
|
2021-01-07 14:08:26 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-02-13 23:26:54 +01:00
|
|
|
<a href={`${releaseUrl}/download/${latestVersion}/SHA256SUMS.asc`}>SHA256SUMS.asc</a>
|
2021-01-07 14:08:26 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</Container>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = Downloads;
|