mirror of
https://github.com/ershisan99/www.git
synced 2025-12-24 12:34:29 +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>
|
<DropzoneGroup>
|
||||||
<DropzoneTitle>Drop log file here or click</DropzoneTitle>
|
<DropzoneTitle>Drop log file here or click</DropzoneTitle>
|
||||||
<DropzoneDescription>
|
<DropzoneDescription>
|
||||||
Upload your Balatro <strong>log.txt</strong> file.
|
Upload your logs file.
|
||||||
</DropzoneDescription>
|
</DropzoneDescription>
|
||||||
</DropzoneGroup>
|
</DropzoneGroup>
|
||||||
</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 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'
|
import { Header } from './_components/header'
|
||||||
|
|
||||||
const links = [
|
const links = [
|
||||||
@@ -13,31 +14,38 @@ const links = [
|
|||||||
url: '/leaderboards',
|
url: '/leaderboards',
|
||||||
icon: <Trophy />,
|
icon: <Trophy />,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
text: 'About',
|
|
||||||
url: '/about',
|
|
||||||
icon: <Info />,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: 'Major League Balatro',
|
text: 'Major League Balatro',
|
||||||
url: '/major-league-balatro',
|
url: '/major-league-balatro',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Support Mod Development',
|
text: 'Support Us',
|
||||||
url: 'https://ko-fi.com/virtualized/shop',
|
url: '/support-us',
|
||||||
icon: <CircleDollarSign />,
|
icon: <CircleDollarSign />,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: 'Tools',
|
||||||
|
type: 'menu',
|
||||||
|
items: [
|
||||||
{
|
{
|
||||||
text: 'Fix Corrupted Profile',
|
text: 'Fix Corrupted Profile',
|
||||||
url: '/profile-fix',
|
url: '/profile-fix',
|
||||||
icon: <Upload />,
|
icon: <Upload />,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: 'Log Parser',
|
||||||
|
url: '/log-parser',
|
||||||
|
icon: <Upload />,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
// {
|
// {
|
||||||
// text: 'Credits',
|
// text: 'Credits',
|
||||||
// url: '/credits',
|
// url: '/credits',
|
||||||
// icon: <Award />,
|
// icon: <Award />,
|
||||||
// },
|
// },
|
||||||
]
|
] satisfies LinkItemType[]
|
||||||
const nav = {
|
const nav = {
|
||||||
title: (
|
title: (
|
||||||
<div className='flex items-center space-x-2'>
|
<div className='flex items-center space-x-2'>
|
||||||
|
|||||||
Reference in New Issue
Block a user