add log parser to the tools menu.

add support us page
This commit is contained in:
2025-05-15 15:03:14 +02:00
parent 79ff096b59
commit 0aa4d9bf68
4 changed files with 55 additions and 23 deletions

View File

@@ -1,10 +0,0 @@
export default async function About() {
return (
<div className={'container mx-auto pt-8'}>
<div className={'prose'}>
<h1>About</h1>
<p>This is empty for now, we'll add some content here soon.</p>
</div>
</div>
)
}

View File

@@ -571,7 +571,7 @@ export default function LogParser() {
<DropzoneGroup>
<DropzoneTitle>Drop log file here or click</DropzoneTitle>
<DropzoneDescription>
Upload your Balatro <strong>log.txt</strong> file.
Upload your logs file.
</DropzoneDescription>
</DropzoneGroup>
</DropzoneGroup>

View File

@@ -0,0 +1,34 @@
import { ExternalLink } from 'lucide-react'
import Link from 'next/link'
export default async function SupportUsPage() {
return (
<div className={'container mx-auto pt-8'}>
<div className={'prose'}>
<h1>Support us</h1>
<p>
<Link
target={'_blank'}
rel={'noopener noreferrer'}
href={'https://ko-fi.com/virtualized/shop'}
className={'flex items-center gap-1'}
>
Support Multiplayer Mod development{' '}
<ExternalLink className={'size-4'} />
</Link>
</p>
<p>
<Link
target={'_blank'}
rel={'noopener noreferrer'}
href={'https://ko-fi.com/andy_balatro'}
className={'flex items-center gap-1'}
>
Support the development of this website{' '}
<ExternalLink className={'size-4'} />
</Link>
</p>
</div>
</div>
)
}

View File

@@ -1,5 +1,6 @@
import type { LinkItemType } from 'fumadocs-ui/layouts/links'
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared'
import { BookOpen, CircleDollarSign, Info, Trophy, Upload } from 'lucide-react'
import { BookOpen, CircleDollarSign, Trophy, Upload } from 'lucide-react'
import { Header } from './_components/header'
const links = [
@@ -13,31 +14,38 @@ const links = [
url: '/leaderboards',
icon: <Trophy />,
},
{
text: 'About',
url: '/about',
icon: <Info />,
},
{
text: 'Major League Balatro',
url: '/major-league-balatro',
},
{
text: 'Support Mod Development',
url: 'https://ko-fi.com/virtualized/shop',
text: 'Support Us',
url: '/support-us',
icon: <CircleDollarSign />,
},
{
text: 'Tools',
type: 'menu',
items: [
{
text: 'Fix Corrupted Profile',
url: '/profile-fix',
icon: <Upload />,
},
{
text: 'Log Parser',
url: '/log-parser',
icon: <Upload />,
},
],
},
// {
// text: 'Credits',
// url: '/credits',
// icon: <Award />,
// },
]
] satisfies LinkItemType[]
const nav = {
title: (
<div className='flex items-center space-x-2'>