Skip to content

Commit e62f76c

Browse files
feat: Add version to footer, update affiliation disclaimer.
1 parent ade2cd3 commit e62f76c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/layouts/Layout.astro

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import NavBar from "../components/NavBar.astro";
3+
import { LIB_VERSION } from "../ts/Version";
34
import "../styles/global.css"
45
interface Props {
56
title: string;
@@ -46,7 +47,10 @@ description = description ? description : "Mod Garden: A longer term mod creatio
4647
<footer
4748
class="ap-4 py-5 bg-white text-black dark:bg-zinc-800 dark:text-white"
4849
>
49-
<div class="flex items-center justify-center text-lg mb-2 gap-2">
50+
<p class="flex items-center justify-center text-center mb-1">
51+
Mod Garden is not an official event, or affiliated with the Minecraft brand, Mojang or Microsoft.
52+
</p>
53+
<div class="flex items-center justify-center text-lg gap-2">
5054
<a
5155
href="https://github.com/ModGardenEvent/website"
5256
class="hover:underline"
@@ -62,8 +66,8 @@ description = description ? description : "Mod Garden: A longer term mod creatio
6266
<i class="fa-brands fa-discord"></i>
6367
</a>
6468
</div>
65-
<p class="flex items-center justify-center text-center text-sm">
66-
Mod Garden is not official, approved or associated with the Minecraft brand, Mojang or Microsoft.
69+
<p class="flex items-center justify-center text-sm">
70+
Mod Garden Website - v{LIB_VERSION}
6771
</p>
6872
</footer>
6973
</body>

src/ts/Version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const LIB_VERSION = "0.0.1";
1+
export const LIB_VERSION = "1.0.0";

0 commit comments

Comments
 (0)