Skip to content

Commit

Permalink
Docs: Include changelog in the site
Browse files Browse the repository at this point in the history
Instead of redirecting to an external site
  • Loading branch information
rtxa committed Aug 31, 2024
1 parent f333875 commit 88191f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions website/src/pages/changelog.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Changelog from '../../../CHANGELOG.md'

<Changelog />
2 changes: 1 addition & 1 deletion website/src/pages/downloads.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The **Full Package** comes with everything the mod requires to run (Metamod and
<a class="button button--block button--outline button--primary button--lg" href="https://github.com/rtxa/agmodx/releases/download/beta-2.5.2/agmodx-beta-2.5.2-full-windows.zip"><InlineIcon icon="mingcute:windows-fill" /> Windows - Full Package</a>
<a class="button button--block button--outline button--primary button--lg" href="https://github.com/rtxa/agmodx/releases/download/beta-2.5.2/agmodx-beta-2.5.2-full-linux.zip"><InlineIcon icon="mingcute:linux-fill" /> Linux - Full Package</a>

<p class="text--center">Latest version: **Beta 2.5.2**[All releases](https://github.com/rtxa/agmodx/releases)[Changelog<IconExternalLink />](https://github.com/rtxa/agmodx/blob/master/CHANGELOG.md)</p>
<p class="text--center">Latest version: **Beta 2.5.2**[All releases](https://github.com/rtxa/agmodx/releases)[Changelog](/changelog)</p>

## ☰ Requirements

Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function HomepageHeader() {
<InlineIcon icon="lucide:file-text" height="1.5rem" style={{ verticalAlign: 'text-bottom' }} /> Read the docs
</Link>
</div>
Latest version: <b>Beta 2.5.2</b><a target="_blank" style={{ color: '#5a98fe' }} href="https://github.com/rtxa/agmodx/blob/master/CHANGELOG.md">What's new?<IconExternalLink /></a>
Latest version: <b>Beta 2.5.2</b><Link to='/changelog'>What's new?</Link>
</div>
</header>
);
Expand Down

0 comments on commit 88191f0

Please sign in to comment.