Add discord button to pages
This commit is contained in:
17
bun.lock
17
bun.lock
@@ -5,6 +5,11 @@
|
|||||||
"": {
|
"": {
|
||||||
"name": "lncvrt-games-website",
|
"name": "lncvrt-games-website",
|
||||||
"dependencies": {
|
"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",
|
"@marsidev/react-turnstile": "1.4.1",
|
||||||
"axios": "1.13.2",
|
"axios": "1.13.2",
|
||||||
"next": "16.1.4",
|
"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=="],
|
"@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/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=="],
|
"@humanfs/node": ["@humanfs/node@0.16.7", "", { "dependencies": { "@humanfs/core": "^0.19.1", "@humanwhocodes/retry": "^0.4.0" } }, "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ=="],
|
||||||
|
|||||||
@@ -9,6 +9,11 @@
|
|||||||
"lint": "eslint"
|
"lint": "eslint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"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",
|
"@marsidev/react-turnstile": "1.4.1",
|
||||||
"axios": "1.13.2",
|
"axios": "1.13.2",
|
||||||
"next": "16.1.4",
|
"next": "16.1.4",
|
||||||
|
|||||||
15
src/app/components/DiscordButton.tsx
Normal file
15
src/app/components/DiscordButton.tsx
Normal file
@@ -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 (
|
||||||
|
<>
|
||||||
|
<div className='relative'>
|
||||||
|
<Link href='/' className='home-button absolute -top-4 -right-4'>
|
||||||
|
<FontAwesomeIcon icon={faDiscord} />
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { Metadata } from 'next'
|
import { Metadata } from 'next'
|
||||||
import { HomeButton } from '../components/HomeButton'
|
import { HomeButton } from '../components/HomeButton'
|
||||||
|
import { DiscordButton } from '../components/DiscordButton'
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: 'Lncvrt Games - Download'
|
title: 'Lncvrt Games - Download'
|
||||||
@@ -10,6 +11,7 @@ export default function DownloadPage () {
|
|||||||
return (
|
return (
|
||||||
<div className='box'>
|
<div className='box'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-center text-4xl'>Downloads</p>
|
<p className='text-center text-4xl'>Downloads</p>
|
||||||
<p className='text-center text-[18px] mb-2'>
|
<p className='text-center text-[18px] mb-2'>
|
||||||
The official downloads for Lncvrt Games Launcher
|
The official downloads for Lncvrt Games Launcher
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import 'swiper/css/navigation'
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { HomeButton } from '@/app/components/HomeButton'
|
import { HomeButton } from '@/app/components/HomeButton'
|
||||||
|
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||||
|
|
||||||
export default function BerryDashCustomGameInfo () {
|
export default function BerryDashCustomGameInfo () {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -17,6 +18,7 @@ export default function BerryDashCustomGameInfo () {
|
|||||||
return (
|
return (
|
||||||
<div className='box text-center'>
|
<div className='box text-center'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-4xl'>Berry Dash Custom</p>
|
<p className='text-4xl'>Berry Dash Custom</p>
|
||||||
<p>
|
<p>
|
||||||
Berry Dash Custom is similar to Berry Dash Lite, but with a bit more and
|
Berry Dash Custom is similar to Berry Dash Lite, but with a bit more and
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import 'swiper/css/navigation'
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { HomeButton } from '@/app/components/HomeButton'
|
import { HomeButton } from '@/app/components/HomeButton'
|
||||||
|
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||||
|
|
||||||
export default function BerryDashGodotRemakeGameInfo () {
|
export default function BerryDashGodotRemakeGameInfo () {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -17,6 +18,7 @@ export default function BerryDashGodotRemakeGameInfo () {
|
|||||||
return (
|
return (
|
||||||
<div className='box text-center'>
|
<div className='box text-center'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-4xl'>Berry Dash Godot Remake</p>
|
<p className='text-4xl'>Berry Dash Godot Remake</p>
|
||||||
<p>
|
<p>
|
||||||
Berry Dash Godot Remake is a recreation of Berry Dash 1.0 in the Godot
|
Berry Dash Godot Remake is a recreation of Berry Dash 1.0 in the Godot
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import 'swiper/css/navigation'
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { HomeButton } from '@/app/components/HomeButton'
|
import { HomeButton } from '@/app/components/HomeButton'
|
||||||
|
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||||
|
|
||||||
export default function BerryDashLiteGameInfo () {
|
export default function BerryDashLiteGameInfo () {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -17,6 +18,7 @@ export default function BerryDashLiteGameInfo () {
|
|||||||
return (
|
return (
|
||||||
<div className='box text-center'>
|
<div className='box text-center'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-4xl'>Berry Dash Lite</p>
|
<p className='text-4xl'>Berry Dash Lite</p>
|
||||||
<p>
|
<p>
|
||||||
Berry Dash Lite is based on Berry Dash, without any online stuff and
|
Berry Dash Lite is based on Berry Dash, without any online stuff and
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import 'swiper/css/navigation'
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { HomeButton } from '@/app/components/HomeButton'
|
import { HomeButton } from '@/app/components/HomeButton'
|
||||||
|
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||||
|
|
||||||
export default function BerryDashUltimateGameInfo () {
|
export default function BerryDashUltimateGameInfo () {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -14,6 +15,7 @@ export default function BerryDashUltimateGameInfo () {
|
|||||||
return (
|
return (
|
||||||
<div className='box text-center'>
|
<div className='box text-center'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-4xl'>Berry Dash Ultimate</p>
|
<p className='text-4xl'>Berry Dash Ultimate</p>
|
||||||
<p>
|
<p>
|
||||||
Berry Dash Ultimate is a unofficial game made by BoNoise from scratch!
|
Berry Dash Ultimate is a unofficial game made by BoNoise from scratch!
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import 'swiper/css/navigation'
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { HomeButton } from '@/app/components/HomeButton'
|
import { HomeButton } from '@/app/components/HomeButton'
|
||||||
|
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||||
|
|
||||||
export default function BerryDashWithGunsCustomGameInfo () {
|
export default function BerryDashWithGunsCustomGameInfo () {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -17,6 +18,7 @@ export default function BerryDashWithGunsCustomGameInfo () {
|
|||||||
return (
|
return (
|
||||||
<div className='box text-center'>
|
<div className='box text-center'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-4xl'>Berry Dash with Guns Custom</p>
|
<p className='text-4xl'>Berry Dash with Guns Custom</p>
|
||||||
<p>
|
<p>
|
||||||
Berry Dash with Guns Custom is similar to Berry Dash with Guns, but with
|
Berry Dash with Guns Custom is similar to Berry Dash with Guns, but with
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import 'swiper/css/navigation'
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { HomeButton } from '@/app/components/HomeButton'
|
import { HomeButton } from '@/app/components/HomeButton'
|
||||||
|
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||||
|
|
||||||
export default function BerryDashWithGunsGameInfo () {
|
export default function BerryDashWithGunsGameInfo () {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -17,6 +18,7 @@ export default function BerryDashWithGunsGameInfo () {
|
|||||||
return (
|
return (
|
||||||
<div className='box text-center'>
|
<div className='box text-center'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-4xl'>Berry Dash with Guns</p>
|
<p className='text-4xl'>Berry Dash with Guns</p>
|
||||||
<p>
|
<p>
|
||||||
Berry Dash with Guns is well, as the name implies berry dash but with
|
Berry Dash with Guns is well, as the name implies berry dash but with
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import 'swiper/css/navigation'
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { HomeButton } from '@/app/components/HomeButton'
|
import { HomeButton } from '@/app/components/HomeButton'
|
||||||
|
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||||
|
|
||||||
export default function BerryDashGameInfo () {
|
export default function BerryDashGameInfo () {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -17,6 +18,7 @@ export default function BerryDashGameInfo () {
|
|||||||
return (
|
return (
|
||||||
<div className='box text-center'>
|
<div className='box text-center'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-4xl'>Berry Dash</p>
|
<p className='text-4xl'>Berry Dash</p>
|
||||||
<p>
|
<p>
|
||||||
Berry Dash is the first game Lncvrt ever made in Unity. The game is a
|
Berry Dash is the first game Lncvrt ever made in Unity. The game is a
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import 'swiper/css/navigation'
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { HomeButton } from '@/app/components/HomeButton'
|
import { HomeButton } from '@/app/components/HomeButton'
|
||||||
|
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||||
|
|
||||||
export default function TrianglesGameInfo () {
|
export default function TrianglesGameInfo () {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -17,6 +18,7 @@ export default function TrianglesGameInfo () {
|
|||||||
return (
|
return (
|
||||||
<div className='box text-center'>
|
<div className='box text-center'>
|
||||||
<HomeButton />
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-4xl'>Triangles</p>
|
<p className='text-4xl'>Triangles</p>
|
||||||
<p>Triangles is a Geometry Dash fan game made in the Unity Game Engine</p>
|
<p>Triangles is a Geometry Dash fan game made in the Unity Game Engine</p>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { Metadata } from 'next'
|
import { Metadata } from 'next'
|
||||||
|
import { DiscordButton } from './components/DiscordButton'
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: 'Lncvrt Games - Home',
|
title: 'Lncvrt Games - Home',
|
||||||
@@ -10,6 +11,7 @@ export const metadata: Metadata = {
|
|||||||
export default function Home () {
|
export default function Home () {
|
||||||
return (
|
return (
|
||||||
<div className='box'>
|
<div className='box'>
|
||||||
|
<DiscordButton />
|
||||||
<p className='text-center text-4xl'>Lncvrt Games</p>
|
<p className='text-center text-4xl'>Lncvrt Games</p>
|
||||||
<p className='text-center text-[18px] mb-4'>
|
<p className='text-center text-[18px] mb-4'>
|
||||||
A collection of games made by Lncvrt and others
|
A collection of games made by Lncvrt and others
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
import { Turnstile } from '@marsidev/react-turnstile'
|
import { Turnstile } from '@marsidev/react-turnstile'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
|
import { DiscordButton } from '../components/DiscordButton'
|
||||||
|
import { HomeButton } from '../components/HomeButton'
|
||||||
|
|
||||||
export default function CaptchaCodePage () {
|
export default function CaptchaCodePage () {
|
||||||
const [token, setToken] = useState<string | null>(null)
|
const [token, setToken] = useState<string | null>(null)
|
||||||
@@ -13,6 +15,8 @@ export default function CaptchaCodePage () {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='box'>
|
<div className='box'>
|
||||||
|
<HomeButton />
|
||||||
|
<DiscordButton />
|
||||||
<p className='mb-4 -mt-2 text-center'>
|
<p className='mb-4 -mt-2 text-center'>
|
||||||
Verify you are human to get a code
|
Verify you are human to get a code
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user