Skip to content

Commit

Permalink
Docs: Add LLHL section to the home page
Browse files Browse the repository at this point in the history
  • Loading branch information
rtxa committed Oct 18, 2024
1 parent 724074e commit a2ab8fe
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
33 changes: 33 additions & 0 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,38 @@ function CtfSection() {
);
}

function LLHLSection() {
return (
<header className={clsx(styles.llhlSection)}>
<div className="container">
<div className="row">
<div className={clsx('col col--6')} style={{ display: 'grid', margin: 'auto', textAlign: 'center' }}>
<img src="img/llhl-logo.png" className={clsx(styles.llhlImage)} />
</div>
<div className={clsx('col col--6 text--left')}>
<Heading as="h1" className="hero__title" style={{ margin: '1rem 0' }}>New LLHL game mode!</Heading>
<p>
LLHL is a game mode designed for the HL/AG community in Latin America for their own leagues and tournaments.
This mode features functionality similar to the European game mode counterpart (EHLL mode).

<Heading as="h3" style={{ margin: '1rem 0' }}>Features</Heading>
<ul>
<li>Automatic demo recording on match start.</li>
<li>FPS and FOV limiter.</li>
<li>Block name and model changes when a match is on.</li>
<li>Screenshots taken on death and when map ends.</li>
<li>Check players are using default sounds for weapons, footsteps, etc.</li>
<li>Simple OpenGF32 and AGFix cheat detection.</li>
</ul>
More info <Link to='/docs/gamemodes/llhl'>here</Link>.
</p>
</div>
</div>
</div>
</header>
);
}

export default function Home() {
const { siteConfig } = useDocusaurusContext();
return (
Expand All @@ -144,6 +176,7 @@ export default function Home() {
<HomepageHeader />
<FeaturesSection />
<CtfSection />
<LLHLSection />
</Layout>
);
}
14 changes: 14 additions & 0 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
background-repeat: no-repeat;
}

.llhlSection {
display: flex;
align-items: center;
padding: 2rem 0;
width: 100%;
}

[data-theme='dark'] .ctfSection {
color: var(--ifm-font-color-base);
}
Expand All @@ -55,6 +62,13 @@
width: 60%;
}

.llhlImage {
width: 100%;
border-radius: 3rem;
align-items: center;
text-align: center;
}

.buttons {
display: flex;
align-items: center;
Expand Down
Binary file added website/static/img/llhl-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a2ab8fe

Please sign in to comment.