mirror of
https://github.com/ershisan99/www.git
synced 2025-12-18 12:34:17 +00:00
add log parser to the tools menu.
add support us page
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
34
src/app/(home)/support-us/page.tsx
Normal file
34
src/app/(home)/support-us/page.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user