123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- /**
- * Copyright (c) 2017-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
- const React = require('react');
- const CompLibrary = require('../../core/CompLibrary.js');
- const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */
- const Container = CompLibrary.Container;
- const GridBlock = CompLibrary.GridBlock;
- const siteConfig = require(process.cwd() + '/siteConfig.js');
- class Button extends React.Component {
- render() {
- return (
- <div className="pluginWrapper buttonWrapper">
- <a className="button" href={this.props.href} target={this.props.target}>
- {this.props.children}
- </a>
- </div>
- );
- }
- }
- Button.defaultProps = {
- target: '_self',
- };
- class Downloads extends React.Component {
- render() {
- let language = this.props.language || 'en';
- return (
- <div>
- <div className="mainContainer">
- <Container padding={["bottom", "top"]}>
- <GridBlock
- align="center"
- contents={[
- {
- content:
- `<strong>
- <a href="https://github.com/bmx-ng/bmx-ng/releases/download/v0.136.3.51.win32.mingw/BlitzMax_win32_mingw_0.136.3.51.7z">BlitzMax_win32_mingw_0.136.3.51.7z</a>
- </strong>
- <br/><br/>
- Windows edition, with both x86 and x64 MinGW-w64 12.2.0 distributions.
- Includes SDL backend, mojo2, Crypto, Audio, Image, Net, Random, Text and Steam.
- `,
- image: `${siteConfig.baseUrl}img/platform/windows.svg`,
- imageAlign: "top",
- imageLink: `https://github.com/bmx-ng/bmx-ng/releases/download/v0.136.3.51.win32.mingw/BlitzMax_win32_mingw_0.136.3.51.7z`,
- title: "Win32 x86/x64 (mingw)"
- },
- {
- content:
- `<strong>
- <a href="https://github.com/bmx-ng/bmx-ng/releases/download/v0.136.3.51.win32.x64.mingw/BlitzMax_win32_x64_mingw_0.136.3.51.7z">BlitzMax_win32_x64_mingw_0.136.3.51.7z</a>
- </strong>
- <br/><br/>
- Windows edition, aimed at x64 development, with x64 MinGW-w64 12.2.0.
- Includes SDL backend, mojo2, Crypto, Audio, Image, Net, Random, Text and Steam.
- `,
- image: `${siteConfig.baseUrl}img/platform/windows.svg`,
- imageAlign: "top",
- imageLink: `https://github.com/bmx-ng/bmx-ng/releases/download/v0.136.3.51.win32.x64.mingw/BlitzMax_win32_x64_mingw_0.136.3.51.7z`,
- title: "Win32 x64 (mingw)"
- },
- {
- content:
- `<strong>
- <a href="https://github.com/bmx-ng/bmx-ng/releases/download/v0.136.3.51.win32.x86.mingw/BlitzMax_win32_x86_mingw_0.136.3.51.7z">BlitzMax_win32_x86_mingw_0.136.3.51.7z</a>
- </strong>
- <br/><br/>
- Windows edition, aimed at x86 development, with x86 MinGW-w64 12.2.0.
- Includes SDL backend, mojo2, Crypto, Audio, Image, Net, Random, Text and Steam.
- `,
- image: `${siteConfig.baseUrl}img/platform/windows.svg`,
- imageAlign: "top",
- imageLink: `https://github.com/bmx-ng/bmx-ng/releases/download/v0.136.3.51.win32.x86.mingw/BlitzMax_win32_x86_mingw_0.136.3.51.7z`,
- title: "win32 x86 (mingw)"
- },
- ]}
- layout="threeColumn"
- />
- <GridBlock
- align="center"
- contents={[
- {},
- {
- content:
- `<strong>
- <a href="https://github.com/bmx-ng/bmx-ng/releases/download/v0.138.3.53.linux.x64/BlitzMax_linux_x64_0.138.3.53.tar.xz">BlitzMax_linux_x64_0.138.3.53.tar.xz</a>
- </strong>
- <br/><br/>
- BlitzMax, Linux edition, aimed at x64 development, with x64 MaxIDE.
- Includes SDL backend, mojo2, Crypto, Audio, Image, Net, Random, Text, Steam and Gtk MaxGUI.
- `,
- image: `${siteConfig.baseUrl}img/platform/linux.svg`,
- imageAlign: "top",
- imageLink: `https://github.com/bmx-ng/bmx-ng/releases/download/v0.138.3.53.linux.x64/BlitzMax_linux_x64_0.138.3.53.tar.xz`,
- title: "Linux x64"
- },
- {},
- ]}
- layout="threeColumn"
- />
- <GridBlock
- align="center"
- contents={[
- {
- content:
- `<strong>
- <a href="https://github.com/bmx-ng/bmx-ng/releases/download/v0.138.3.54.macos.arm64/BlitzMax_macos_arm64_0.138.3.54.zip">BlitzMax_macos_arm64_0.138.3.54.zip</a>
- </strong>
- <br/><br/>
- BlitzMax, arm64 macOS edition.
- Includes SDL backend, mojo2, Crypto, Audio, Image, Math, Random, Net, Text and Steam.
- <br/>
- See the <strong><a href="https://github.com/bmx-ng/bmx-ng/releases/tag/v0.138.3.54.macos.arm64">Release Notes</a></strong> for setup information.
- `,
- image: `${siteConfig.baseUrl}img/platform/apple.svg`,
- imageAlign: "top",
- imageLink: `https://github.com/bmx-ng/bmx-ng/releases/download/v0.138.3.54.macos.arm64/BlitzMax_macos_arm64_0.138.3.54.zip`,
- title: "macOS arm64"
- },
- {},
- {
- content:
- `<strong>
- <a href="https://github.com/bmx-ng/bmx-ng/releases/download/v0.138.3.54.macos.x64/BlitzMax_macos_x64_0.138.3.54.zip">BlitzMax_macos_x64_0.138.3.54.zip</a>
- </strong>
- <br/><br/>
- BlitzMax, x64 macOS edition.
- Includes SDL backend, mojo2, Crypto, Audio, Image, Math, Random, Net, Text and Steam.
- <br/>
- See the <strong><a href="https://github.com/bmx-ng/bmx-ng/releases/tag/v0.138.3.54.macos.x64">Release Notes</a></strong> for setup information.
- `,
- image: `${siteConfig.baseUrl}img/platform/apple.svg`,
- imageAlign: "top",
- imageLink: `https://github.com/bmx-ng/bmx-ng/releases/download/v0.138.3.54.macos.x64/BlitzMax_macos_x64_0.138.3.54.zip`,
- title: "macOS"
- },
- ]}
- layout="threeColumn"
- />
- <GridBlock
- align="center"
- contents={[
- {
- content:
- `<strong>
- <a href="https://github.com/bmx-ng/bmx-ng/releases/download/v0.138.3.54.rpi.arm/BlitzMax_rpi_arm_0.138.3.54.tar.xz">BlitzMax_rpi_arm_0.138.3.54.tar.xz</a>
- </strong>
- <br/><br/>
- BlitzMax, RaspberryPi edition, aimed at 32-bit ARM development, with MaxIDE.
- Includes SDL backend, mojo2, Crypto, Audio, Image, Net, Random, Text and Gtk MaxGUI.
- `,
- image: `${siteConfig.baseUrl}img/platform/rpi.svg`,
- imageAlign: "top",
- imageLink: `https://github.com/bmx-ng/bmx-ng/releases/download/v0.138.3.54.rpi.arm/BlitzMax_rpi_arm_0.138.3.54.tar.xz`,
- title: "Raspberry Pi"
- },
- {},
- {
- content:
- `<strong>
- <a href="https://github.com/bmx-ng/bmx-ng/releases/download/v0.139.3.56.rpi.arm64/BlitzMax_rpi_arm64_0.139.3.56.tar.xz">BlitzMax_rpi_arm64_0.139.3.56.tar.xz</a>
- </strong>
- <br/><br/>
- BlitzMax, RaspberryPi edition, aimed at 64-bit ARM development, with MaxIDE.
- <br/>
- Suitable for the latest 64-bit Raspberry Pi OS.
- <br/>
- Includes SDL backend, mojo2, Crypto, Audio, Image, Net, Random, Text and Gtk MaxGUI.
- `,
- image: `${siteConfig.baseUrl}img/platform/rpi.svg`,
- imageAlign: "top",
- imageLink: `https://github.com/bmx-ng/bmx-ng/releases/download/v0.139.3.56.rpi.arm64/BlitzMax_rpi_arm64_0.139.3.56.tar.xz`,
- title: "Raspberry Pi arm64"
- },
- ]}
- layout="threeColumn"
- />
- </Container>
- </div>
- </div>
- );
- }
- }
- module.exports = Downloads;
|