diff --git a/bun.lock b/bun.lock index 7083584..11f8ae6 100644 --- a/bun.lock +++ b/bun.lock @@ -5,6 +5,11 @@ "": { "name": "lncvrt-games-website", "dependencies": { + "@fortawesome/fontawesome-svg-core": "7.1.0", + "@fortawesome/free-brands-svg-icons": "7.1.0", + "@fortawesome/free-regular-svg-icons": "7.1.0", + "@fortawesome/free-solid-svg-icons": "7.1.0", + "@fortawesome/react-fontawesome": "3.1.1", "@marsidev/react-turnstile": "1.4.1", "axios": "1.13.2", "next": "16.1.4", @@ -83,6 +88,18 @@ "@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="], + "@fortawesome/fontawesome-common-types": ["@fortawesome/fontawesome-common-types@7.1.0", "", {}, "sha512-l/BQM7fYntsCI//du+6sEnHOP6a74UixFyOYUyz2DLMXKx+6DEhfR3F2NYGE45XH1JJuIamacb4IZs9S0ZOWLA=="], + + "@fortawesome/fontawesome-svg-core": ["@fortawesome/fontawesome-svg-core@7.1.0", "", { "dependencies": { "@fortawesome/fontawesome-common-types": "7.1.0" } }, "sha512-fNxRUk1KhjSbnbuBxlWSnBLKLBNun52ZBTcs22H/xEEzM6Ap81ZFTQ4bZBxVQGQgVY0xugKGoRcCbaKjLQ3XZA=="], + + "@fortawesome/free-brands-svg-icons": ["@fortawesome/free-brands-svg-icons@7.1.0", "", { "dependencies": { "@fortawesome/fontawesome-common-types": "7.1.0" } }, "sha512-9byUd9bgNfthsZAjBl6GxOu1VPHgBuRUP9juI7ZoM98h8xNPTCTagfwUFyYscdZq4Hr7gD1azMfM9s5tIWKZZA=="], + + "@fortawesome/free-regular-svg-icons": ["@fortawesome/free-regular-svg-icons@7.1.0", "", { "dependencies": { "@fortawesome/fontawesome-common-types": "7.1.0" } }, "sha512-0e2fdEyB4AR+e6kU4yxwA/MonnYcw/CsMEP9lH82ORFi9svA6/RhDyhxIv5mlJaldmaHLLYVTb+3iEr+PDSZuQ=="], + + "@fortawesome/free-solid-svg-icons": ["@fortawesome/free-solid-svg-icons@7.1.0", "", { "dependencies": { "@fortawesome/fontawesome-common-types": "7.1.0" } }, "sha512-Udu3K7SzAo9N013qt7qmm22/wo2hADdheXtBfxFTecp+ogsc0caQNRKEb7pkvvagUGOpG9wJC1ViH6WXs8oXIA=="], + + "@fortawesome/react-fontawesome": ["@fortawesome/react-fontawesome@3.1.1", "", { "peerDependencies": { "@fortawesome/fontawesome-svg-core": "~6 || ~7", "react": "^18.0.0 || ^19.0.0" } }, "sha512-EDllr9hpodc21odmUywHS1alXNiCd4E8sp5GJ5s7wYINz8vSmMiNWpALTiuYODb865YyQ/NlyiN4mbXp7HCNqg=="], + "@humanfs/core": ["@humanfs/core@0.19.1", "", {}, "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA=="], "@humanfs/node": ["@humanfs/node@0.16.7", "", { "dependencies": { "@humanfs/core": "^0.19.1", "@humanwhocodes/retry": "^0.4.0" } }, "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ=="], diff --git a/package.json b/package.json index 992bedc..631ca03 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,11 @@ "lint": "eslint" }, "dependencies": { + "@fortawesome/fontawesome-svg-core": "7.1.0", + "@fortawesome/free-brands-svg-icons": "7.1.0", + "@fortawesome/free-regular-svg-icons": "7.1.0", + "@fortawesome/free-solid-svg-icons": "7.1.0", + "@fortawesome/react-fontawesome": "3.1.1", "@marsidev/react-turnstile": "1.4.1", "axios": "1.13.2", "next": "16.1.4", diff --git a/src/app/components/DiscordButton.tsx b/src/app/components/DiscordButton.tsx new file mode 100644 index 0000000..b203c9b --- /dev/null +++ b/src/app/components/DiscordButton.tsx @@ -0,0 +1,15 @@ +import { faDiscord } from '@fortawesome/free-brands-svg-icons' +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' +import Link from 'next/link' + +export function DiscordButton () { + return ( + <> +
+ + + +
+ + ) +} diff --git a/src/app/download/page.tsx b/src/app/download/page.tsx index 882f82b..a65d03a 100644 --- a/src/app/download/page.tsx +++ b/src/app/download/page.tsx @@ -1,6 +1,7 @@ import Link from 'next/link' import { Metadata } from 'next' import { HomeButton } from '../components/HomeButton' +import { DiscordButton } from '../components/DiscordButton' export const metadata: Metadata = { title: 'Lncvrt Games - Download' @@ -10,6 +11,7 @@ export default function DownloadPage () { return (
+

Downloads

The official downloads for Lncvrt Games Launcher diff --git a/src/app/game/berry-dash-custom/page.tsx b/src/app/game/berry-dash-custom/page.tsx index 37213d6..9e9d6b6 100644 --- a/src/app/game/berry-dash-custom/page.tsx +++ b/src/app/game/berry-dash-custom/page.tsx @@ -8,6 +8,7 @@ import 'swiper/css/navigation' import Link from 'next/link' import { useEffect } from 'react' import { HomeButton } from '@/app/components/HomeButton' +import { DiscordButton } from '@/app/components/DiscordButton' export default function BerryDashCustomGameInfo () { useEffect(() => { @@ -17,6 +18,7 @@ export default function BerryDashCustomGameInfo () { return (

+

Berry Dash Custom

Berry Dash Custom is similar to Berry Dash Lite, but with a bit more and diff --git a/src/app/game/berry-dash-godot-remake/page.tsx b/src/app/game/berry-dash-godot-remake/page.tsx index 741b8eb..3a61baf 100644 --- a/src/app/game/berry-dash-godot-remake/page.tsx +++ b/src/app/game/berry-dash-godot-remake/page.tsx @@ -8,6 +8,7 @@ import 'swiper/css/navigation' import Link from 'next/link' import { useEffect } from 'react' import { HomeButton } from '@/app/components/HomeButton' +import { DiscordButton } from '@/app/components/DiscordButton' export default function BerryDashGodotRemakeGameInfo () { useEffect(() => { @@ -17,6 +18,7 @@ export default function BerryDashGodotRemakeGameInfo () { return (

+

Berry Dash Godot Remake

Berry Dash Godot Remake is a recreation of Berry Dash 1.0 in the Godot diff --git a/src/app/game/berry-dash-lite/page.tsx b/src/app/game/berry-dash-lite/page.tsx index b7a0e5b..6ccc507 100644 --- a/src/app/game/berry-dash-lite/page.tsx +++ b/src/app/game/berry-dash-lite/page.tsx @@ -8,6 +8,7 @@ import 'swiper/css/navigation' import Link from 'next/link' import { useEffect } from 'react' import { HomeButton } from '@/app/components/HomeButton' +import { DiscordButton } from '@/app/components/DiscordButton' export default function BerryDashLiteGameInfo () { useEffect(() => { @@ -17,6 +18,7 @@ export default function BerryDashLiteGameInfo () { return (

+

Berry Dash Lite

Berry Dash Lite is based on Berry Dash, without any online stuff and diff --git a/src/app/game/berry-dash-ultimate/page.tsx b/src/app/game/berry-dash-ultimate/page.tsx index c2f6bb4..1ffa951 100644 --- a/src/app/game/berry-dash-ultimate/page.tsx +++ b/src/app/game/berry-dash-ultimate/page.tsx @@ -5,6 +5,7 @@ import 'swiper/css/navigation' import Link from 'next/link' import { useEffect } from 'react' import { HomeButton } from '@/app/components/HomeButton' +import { DiscordButton } from '@/app/components/DiscordButton' export default function BerryDashUltimateGameInfo () { useEffect(() => { @@ -14,6 +15,7 @@ export default function BerryDashUltimateGameInfo () { return (

+

Berry Dash Ultimate

Berry Dash Ultimate is a unofficial game made by BoNoise from scratch! diff --git a/src/app/game/berry-dash-with-guns-custom/page.tsx b/src/app/game/berry-dash-with-guns-custom/page.tsx index 773d4c2..bf00f8e 100644 --- a/src/app/game/berry-dash-with-guns-custom/page.tsx +++ b/src/app/game/berry-dash-with-guns-custom/page.tsx @@ -8,6 +8,7 @@ import 'swiper/css/navigation' import Link from 'next/link' import { useEffect } from 'react' import { HomeButton } from '@/app/components/HomeButton' +import { DiscordButton } from '@/app/components/DiscordButton' export default function BerryDashWithGunsCustomGameInfo () { useEffect(() => { @@ -17,6 +18,7 @@ export default function BerryDashWithGunsCustomGameInfo () { return (

+

Berry Dash with Guns Custom

Berry Dash with Guns Custom is similar to Berry Dash with Guns, but with diff --git a/src/app/game/berry-dash-with-guns/page.tsx b/src/app/game/berry-dash-with-guns/page.tsx index 4affc35..5988efc 100644 --- a/src/app/game/berry-dash-with-guns/page.tsx +++ b/src/app/game/berry-dash-with-guns/page.tsx @@ -8,6 +8,7 @@ import 'swiper/css/navigation' import Link from 'next/link' import { useEffect } from 'react' import { HomeButton } from '@/app/components/HomeButton' +import { DiscordButton } from '@/app/components/DiscordButton' export default function BerryDashWithGunsGameInfo () { useEffect(() => { @@ -17,6 +18,7 @@ export default function BerryDashWithGunsGameInfo () { return (

+

Berry Dash with Guns

Berry Dash with Guns is well, as the name implies berry dash but with diff --git a/src/app/game/berry-dash/page.tsx b/src/app/game/berry-dash/page.tsx index 2333269..b5418ca 100644 --- a/src/app/game/berry-dash/page.tsx +++ b/src/app/game/berry-dash/page.tsx @@ -8,6 +8,7 @@ import 'swiper/css/navigation' import Link from 'next/link' import { useEffect } from 'react' import { HomeButton } from '@/app/components/HomeButton' +import { DiscordButton } from '@/app/components/DiscordButton' export default function BerryDashGameInfo () { useEffect(() => { @@ -17,6 +18,7 @@ export default function BerryDashGameInfo () { return (

+

Berry Dash

Berry Dash is the first game Lncvrt ever made in Unity. The game is a diff --git a/src/app/game/triangles/page.tsx b/src/app/game/triangles/page.tsx index 126f8a5..afc65e4 100644 --- a/src/app/game/triangles/page.tsx +++ b/src/app/game/triangles/page.tsx @@ -8,6 +8,7 @@ import 'swiper/css/navigation' import Link from 'next/link' import { useEffect } from 'react' import { HomeButton } from '@/app/components/HomeButton' +import { DiscordButton } from '@/app/components/DiscordButton' export default function TrianglesGameInfo () { useEffect(() => { @@ -17,6 +18,7 @@ export default function TrianglesGameInfo () { return (

+

Triangles

Triangles is a Geometry Dash fan game made in the Unity Game Engine

diff --git a/src/app/page.tsx b/src/app/page.tsx index 80ed01b..3ec558a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,6 +1,7 @@ import Image from 'next/image' import Link from 'next/link' import { Metadata } from 'next' +import { DiscordButton } from './components/DiscordButton' export const metadata: Metadata = { title: 'Lncvrt Games - Home', @@ -10,6 +11,7 @@ export const metadata: Metadata = { export default function Home () { return (

+

Lncvrt Games

A collection of games made by Lncvrt and others diff --git a/src/app/verify-code/page.tsx b/src/app/verify-code/page.tsx index 7d7b44e..2eb45f3 100644 --- a/src/app/verify-code/page.tsx +++ b/src/app/verify-code/page.tsx @@ -3,6 +3,8 @@ import { Turnstile } from '@marsidev/react-turnstile' import axios from 'axios' import { useState } from 'react' +import { DiscordButton } from '../components/DiscordButton' +import { HomeButton } from '../components/HomeButton' export default function CaptchaCodePage () { const [token, setToken] = useState(null) @@ -13,6 +15,8 @@ export default function CaptchaCodePage () { return (

+ +

Verify you are human to get a code