Test internationalization
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
8 files changed
+133
-119
No files matched your search
@@ -1,104 +0,0 @@
|
||||
---
|
||||
title: Download
|
||||
description: Choose which platform to download Geyser or Floodgate for.
|
||||
hide_table_of_contents: true
|
||||
---
|
||||
|
||||
import Admonition from '@theme/Admonition';
|
||||
import Tabs from "@theme/Tabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
|
||||
import { faTowerCell, faFileZipper } from '@fortawesome/free-solid-svg-icons';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
|
||||
import HeroBanner from '@site/src/components/HeroBanner';
|
||||
import HeroBackground from '@site/static/img/site/split-background.png';
|
||||
|
||||
import PaperSpigot from '@site/docs/geyser/setup/provider/paper-spigot.mdx';
|
||||
|
||||
import PaperSpigotSelf from '@site/docs/geyser/setup/self/paper-spigot.mdx';
|
||||
|
||||
import FloodgatePaperSpigot from '@site/docs/floodgate/setup/paper-spigot.mdx';
|
||||
|
||||
import PlatformIcon from '@site/src/components/PlatformIcon';
|
||||
import PaperSpigotIcon from '@site/static/img/icons/paper.png';
|
||||
import VelocityIcon from '@site/static/img/icons/velocity.png';
|
||||
import WaterfallBungeeCordIcon from '@site/static/img/icons/waterfall.svg';
|
||||
import FabricIcon from '@site/static/img/icons/fabric.png';
|
||||
import NeoForgeIcon from '@site/static/img/icons/neoforge.png';
|
||||
import ViaProxyIcon from '@site/static/img/icons/viaproxy.png';
|
||||
import StandaloneIcon from '@site/static/img/icons/geyser.png';
|
||||
|
||||
import { Columns, Column } from '@site/src/components/Columns';
|
||||
import { ProviderSelector } from '@site/src/components/Provider';
|
||||
import { ProjectDownload } from '@site/src/components/ProjectDownload';
|
||||
import { Collapsibles, Collapsible } from '@site/src/components/Collapsibles';
|
||||
|
||||
<HeroBanner
|
||||
title="Download"
|
||||
subheading="Download the latest versions of our various projects."
|
||||
backgroundImage={HeroBackground}
|
||||
/>
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="geyser" label="Geyser" default>
|
||||
<ProjectDownload
|
||||
projectId="geyser"
|
||||
description="A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition."
|
||||
setup="/geyser/setup"
|
||||
downloadsInfo={{
|
||||
bungeecord: <PlatformIcon svg={WaterfallBungeeCordIcon} text="BungeeCord"/>,
|
||||
fabric: <PlatformIcon img={FabricIcon} text="Fabric"/>,
|
||||
neoforge: <PlatformIcon img={NeoForgeIcon} text="NeoForge"/>,
|
||||
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper"/>,
|
||||
standalone: <PlatformIcon img={StandaloneIcon} text="Standalone"/>,
|
||||
velocity: <PlatformIcon img={VelocityIcon} text="Velocity"/>,
|
||||
viaproxy: <PlatformIcon img={ViaProxyIcon} text="ViaProxy"/>,
|
||||
}}
|
||||
/>
|
||||
</TabItem>
|
||||
<TabItem value="floodgate" label="Floodgate">
|
||||
<ProjectDownload
|
||||
projectId="floodgate"
|
||||
description="Hybrid mode plugin to allow for connections from Geyser to join online mode servers."
|
||||
setup="/floodgate/setup"
|
||||
downloadsInfo={{
|
||||
bungee: <PlatformIcon svg={WaterfallBungeeCordIcon} text="BungeeCord"/>,
|
||||
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper"/>,
|
||||
velocity: <PlatformIcon img={VelocityIcon} text="Velocity"/>,
|
||||
}}
|
||||
/>
|
||||
</TabItem>
|
||||
<TabItem value="other-projects" label="Other Projects">
|
||||
<Collapsibles>
|
||||
<Collapsible
|
||||
title='GeyserConnect'
|
||||
subtitle='A plugin to allow for Geyser players to connect to your server without needing to use a proxy.'
|
||||
inner={
|
||||
<ProjectDownload
|
||||
projectId="geyserconnect"
|
||||
setup='/other/geyserconnect'
|
||||
downloadsInfo={{
|
||||
geyserconnect: <><FontAwesomeIcon icon={faTowerCell}/> GeyserConnect</>,
|
||||
}}
|
||||
gridColumns={1}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Collapsible
|
||||
title='GeyserOptionalPack'
|
||||
subtitle='An optional Bedrock resource pack to extend Geyser functionality.'
|
||||
inner={
|
||||
<ProjectDownload
|
||||
projectId="geyseroptionalpack"
|
||||
setup='/other/geyseroptionalpack'
|
||||
downloadsInfo={{
|
||||
geyseroptionalpack: <><FontAwesomeIcon icon={faFileZipper}/> GeyserOptionalPack</>,
|
||||
}}
|
||||
gridColumns={1}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</Collapsibles>
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -0,0 +1,110 @@
|
||||
import React from 'react';
|
||||
import Tabs from "@theme/Tabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import { faTowerCell, faFileZipper } from '@fortawesome/free-solid-svg-icons';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import HeroBanner from '@site/src/components/HeroBanner';
|
||||
import HeroBackground from '@site/static/img/site/split-background.png';
|
||||
import PaperSpigotIcon from '@site/static/img/icons/paper.png';
|
||||
import VelocityIcon from '@site/static/img/icons/velocity.png';
|
||||
import WaterfallBungeeCordIcon from '@site/static/img/icons/waterfall.svg';
|
||||
import FabricIcon from '@site/static/img/icons/fabric.png';
|
||||
import NeoForgeIcon from '@site/static/img/icons/neoforge.png';
|
||||
import ViaProxyIcon from '@site/static/img/icons/viaproxy.png';
|
||||
import StandaloneIcon from '@site/static/img/icons/geyser.png';
|
||||
import PlatformIcon from '@site/src/components/PlatformIcon';
|
||||
import { ProjectDownload } from '@site/src/components/ProjectDownload';
|
||||
import { Collapsibles, Collapsible } from '@site/src/components/Collapsibles';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import Layout from '@theme/Layout';
|
||||
import Translate from '@docusaurus/Translate';
|
||||
|
||||
const DownloadPage: React.FC = () => (
|
||||
<>
|
||||
<HeroBanner
|
||||
title="Download"
|
||||
subheading="Download the latest versions of our various projects."
|
||||
backgroundImage={HeroBackground}
|
||||
/>
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="geyser" label="Geyser" default>
|
||||
<ProjectDownload
|
||||
projectId="geyser"
|
||||
description={<Translate>A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.</Translate>}
|
||||
setup="/geyser/setup"
|
||||
downloadsInfo={{
|
||||
bungeecord: <PlatformIcon svg={WaterfallBungeeCordIcon} text="BungeeCord" />,
|
||||
fabric: <PlatformIcon img={FabricIcon} text="Fabric" />,
|
||||
neoforge: <PlatformIcon img={NeoForgeIcon} text="NeoForge" />,
|
||||
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
|
||||
standalone: <PlatformIcon img={StandaloneIcon} text="Standalone" />,
|
||||
velocity: <PlatformIcon img={VelocityIcon} text="Velocity" />,
|
||||
viaproxy: <PlatformIcon img={ViaProxyIcon} text="ViaProxy" />,
|
||||
}}
|
||||
/>
|
||||
</TabItem>
|
||||
<TabItem value="floodgate" label="Floodgate">
|
||||
<ProjectDownload
|
||||
projectId="floodgate"
|
||||
description={<Translate>Hybrid mode plugin to allow for connections from Geyser to join online mode servers.</Translate>}
|
||||
setup="/floodgate/setup"
|
||||
downloadsInfo={{
|
||||
bungee: <PlatformIcon svg={WaterfallBungeeCordIcon} text="BungeeCord" />,
|
||||
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
|
||||
velocity: <PlatformIcon img={VelocityIcon} text="Velocity" />,
|
||||
}}
|
||||
/>
|
||||
</TabItem>
|
||||
<TabItem value="other-projects" label="Other Projects">
|
||||
<Collapsibles>
|
||||
<Collapsible
|
||||
title='GeyserConnect'
|
||||
subtitle={<Translate>A plugin to allow for Geyser players to connect to your server without needing to use a proxy.</Translate>}
|
||||
inner={
|
||||
<ProjectDownload
|
||||
projectId="geyserconnect"
|
||||
setup='/other/geyserconnect'
|
||||
downloadsInfo={{
|
||||
geyserconnect: <><FontAwesomeIcon icon={faTowerCell} /> GeyserConnect</>,
|
||||
}}
|
||||
gridColumns={1}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Collapsible
|
||||
title='GeyserOptionalPack'
|
||||
subtitle={<Translate>An optional Bedrock resource pack to extend Geyser functionality.</Translate>}
|
||||
inner={
|
||||
<ProjectDownload
|
||||
projectId="geyseroptionalpack"
|
||||
setup='/other/geyseroptionalpack'
|
||||
downloadsInfo={{
|
||||
geyseroptionalpack: <><FontAwesomeIcon icon={faFileZipper} /> GeyserOptionalPack</>,
|
||||
}}
|
||||
gridColumns={1}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</Collapsibles>
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
</>
|
||||
);
|
||||
|
||||
export default function Download(): JSX.Element {
|
||||
const { siteConfig } = useDocusaurusContext();
|
||||
return (
|
||||
<Layout
|
||||
title={`Download from ${siteConfig.title}`}
|
||||
description="Download the latest versions of our various projects."
|
||||
>
|
||||
<main>
|
||||
<div className="container container--fluid margin-vert--lg">
|
||||
<DownloadPage />
|
||||
</div>
|
||||
</main>
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
|
||||
+5
-5
@@ -6,10 +6,9 @@ import Heading from '@theme/Heading';
|
||||
import HeroImage from '@site/static/img/site/geyser.png';
|
||||
|
||||
import styles from './index.module.css';
|
||||
import Translate from '@docusaurus/Translate';
|
||||
|
||||
function HomepageHeader() {
|
||||
const { siteConfig } = useDocusaurusContext();
|
||||
|
||||
return (
|
||||
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
||||
<div className={styles.heroContent}>
|
||||
@@ -17,10 +16,10 @@ function HomepageHeader() {
|
||||
<img src={HeroImage} alt="Geyser Logo" className={styles.heroImageBackgroundBlur}/>
|
||||
<div className={styles.textSection}>
|
||||
<Heading as="h1" className="hero__title">
|
||||
{siteConfig.tagline}
|
||||
<Translate>Revolutionize Your Minecraft Server</Translate>
|
||||
</Heading>
|
||||
<p className="hero__subtitle">
|
||||
Enable clients from Minecraft Bedrock Edition to join your Minecraft Java server.
|
||||
<Translate>Enable clients from Minecraft Bedrock Edition to join your Minecraft Java server</Translate>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -33,7 +32,8 @@ export default function Home(): JSX.Element {
|
||||
return (
|
||||
<Layout
|
||||
title={`Hello from ${siteConfig.title}`}
|
||||
description="Description will go into a meta tag in <head />">
|
||||
description="Description will go into a meta tag in <head />"
|
||||
>
|
||||
<HomepageHeader />
|
||||
<main>
|
||||
<HomepageFeatures />
|
||||
|
||||
Reference in new issue
Block a user