-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathindex.tsx
41 lines (38 loc) · 1.54 KB
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import clsx from 'clsx';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Heading from '@theme/Heading';
import HeroImage from '@site/static/img/site/geyser.png';
import styles from './index.module.scss';
import Translate from '@docusaurus/Translate';
function HomepageHeader() {
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className={styles.heroContent}>
<img src={HeroImage} alt="Geyser Logo" className={styles.heroImage}/>
<img src={HeroImage} alt="Geyser Logo" className={styles.heroImageBackgroundBlur}/>
<div className={styles.textSection}>
<Heading as="h1" className="hero__title">
<Translate id='pages.main.title'>Revolutionize Your Minecraft Server</Translate>
</Heading>
<p className="hero__subtitle">
<Translate id='pages.main.subtitle'>Enable clients from Minecraft Bedrock Edition to join your Minecraft Java server</Translate>
</p>
</div>
</div>
</header>
);
}
export default function Home(): JSX.Element {
return (
<Layout
title="Geyser"
description="Enable clients from Minecraft Bedrock Edition to join your Minecraft Java server."
>
<HomepageHeader />
<main>
<HomepageFeatures />
</main>
</Layout>
);
}