mirror of
https://github.com/ershisan99/www.git
synced 2025-12-18 05:19:23 +00:00
remove /about links
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
import { TimeZoneProvider } from '@/components/timezone-provider'
|
import {TimeZoneProvider} from '@/components/timezone-provider'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { Competitors } from './_components/competitors'
|
import {Competitors} from './_components/competitors'
|
||||||
import { HeroSection } from './_components/hero'
|
import {HeroSection} from './_components/hero'
|
||||||
import { NextMatchInfo } from './_components/next-match-info'
|
import {NextMatchInfo} from './_components/next-match-info'
|
||||||
import { Organizer } from './_components/organizer'
|
import {Organizer} from './_components/organizer'
|
||||||
import { PrizePool } from './_components/prize-pool'
|
import {PrizePool} from './_components/prize-pool'
|
||||||
import { MlbSchedule } from './_components/schedule'
|
import {MlbSchedule} from './_components/schedule'
|
||||||
import { StayUpdated } from './_components/stay-updated'
|
import {StayUpdated} from './_components/stay-updated'
|
||||||
import { TournamentFormat } from './_components/tournament-format'
|
import {TournamentFormat} from './_components/tournament-format'
|
||||||
import { matches } from './_constants/matches'
|
import {matches} from './_constants/matches'
|
||||||
|
|
||||||
export default function MLBPage() {
|
export default function MLBPage() {
|
||||||
const currentDate = new Date()
|
const currentDate = new Date()
|
||||||
@@ -21,25 +21,25 @@ export default function MLBPage() {
|
|||||||
return (
|
return (
|
||||||
<div className='flex min-h-screen flex-col'>
|
<div className='flex min-h-screen flex-col'>
|
||||||
<main className='flex-1'>
|
<main className='flex-1'>
|
||||||
<HeroSection />
|
<HeroSection/>
|
||||||
{nextMatch && (
|
{nextMatch && (
|
||||||
<TimeZoneProvider>
|
<TimeZoneProvider>
|
||||||
<NextMatchInfo nextMatch={nextMatch} />
|
<NextMatchInfo nextMatch={nextMatch}/>
|
||||||
</TimeZoneProvider>
|
</TimeZoneProvider>
|
||||||
)}
|
)}
|
||||||
{/*<Standings />*/}
|
{/*<Standings />*/}
|
||||||
|
|
||||||
<TournamentFormat />
|
<TournamentFormat/>
|
||||||
|
|
||||||
<Competitors />
|
<Competitors/>
|
||||||
|
|
||||||
<MlbSchedule matches={matches} />
|
<MlbSchedule matches={matches}/>
|
||||||
|
|
||||||
<PrizePool />
|
<PrizePool/>
|
||||||
|
|
||||||
<Organizer />
|
<Organizer/>
|
||||||
|
|
||||||
<StayUpdated />
|
<StayUpdated/>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer className='border-t py-6 md:py-0'>
|
<footer className='border-t py-6 md:py-0'>
|
||||||
@@ -61,12 +61,6 @@ export default function MLBPage() {
|
|||||||
>
|
>
|
||||||
Documentation
|
Documentation
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
|
||||||
href='/about'
|
|
||||||
className='text-muted-foreground text-sm underline-offset-4 hover:underline'
|
|
||||||
>
|
|
||||||
About
|
|
||||||
</Link>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { GithubLinks } from '@/app/_components/github-links'
|
import {GithubLinks} from '@/app/_components/github-links'
|
||||||
import { Button } from '@/components/ui/button'
|
import {Button} from '@/components/ui/button'
|
||||||
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
|
import {Card, CardContent, CardHeader, CardTitle} from '@/components/ui/card'
|
||||||
import { DropdownMenuTrigger } from '@/components/ui/dropdown-menu'
|
import {DropdownMenuTrigger} from '@/components/ui/dropdown-menu'
|
||||||
import { SiGithub } from '@icons-pack/react-simple-icons'
|
import {SiGithub} from '@icons-pack/react-simple-icons'
|
||||||
import { ChevronRight, MessageSquare, Trophy, Users } from 'lucide-react'
|
import {ChevronRight, MessageSquare, Trophy, Users} from 'lucide-react'
|
||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ export default function Home() {
|
|||||||
>
|
>
|
||||||
<Link href='/docs/getting-started/installation'>
|
<Link href='/docs/getting-started/installation'>
|
||||||
Get Started
|
Get Started
|
||||||
<ChevronRight className='ml-2 h-4 w-4' />
|
<ChevronRight className='ml-2 h-4 w-4'/>
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant='outline' size='lg' asChild>
|
<Button variant='outline' size='lg' asChild>
|
||||||
@@ -143,7 +143,7 @@ export default function Home() {
|
|||||||
<Card className='flex h-full flex-col'>
|
<Card className='flex h-full flex-col'>
|
||||||
<CardHeader className='pb-2'>
|
<CardHeader className='pb-2'>
|
||||||
<div className='mb-2 flex h-12 w-12 items-center justify-center rounded-full bg-red-100'>
|
<div className='mb-2 flex h-12 w-12 items-center justify-center rounded-full bg-red-100'>
|
||||||
<Users className='h-6 w-6 text-red-600' />
|
<Users className='h-6 w-6 text-red-600'/>
|
||||||
</div>
|
</div>
|
||||||
<CardTitle>Direct Play</CardTitle>
|
<CardTitle>Direct Play</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
@@ -184,7 +184,7 @@ export default function Home() {
|
|||||||
<Card className='flex h-full flex-col'>
|
<Card className='flex h-full flex-col'>
|
||||||
<CardHeader className='pb-2'>
|
<CardHeader className='pb-2'>
|
||||||
<div className='mb-2 flex h-12 w-12 items-center justify-center rounded-full bg-red-100'>
|
<div className='mb-2 flex h-12 w-12 items-center justify-center rounded-full bg-red-100'>
|
||||||
<Trophy className='h-6 w-6 text-red-600' />
|
<Trophy className='h-6 w-6 text-red-600'/>
|
||||||
</div>
|
</div>
|
||||||
<CardTitle>Matchmaking Queues</CardTitle>
|
<CardTitle>Matchmaking Queues</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
@@ -221,7 +221,7 @@ export default function Home() {
|
|||||||
<Card className='flex h-full flex-col'>
|
<Card className='flex h-full flex-col'>
|
||||||
<CardHeader className='pb-2'>
|
<CardHeader className='pb-2'>
|
||||||
<div className='mb-2 flex h-12 w-12 items-center justify-center rounded-full bg-red-100'>
|
<div className='mb-2 flex h-12 w-12 items-center justify-center rounded-full bg-red-100'>
|
||||||
<MessageSquare className='h-6 w-6 text-red-600' />
|
<MessageSquare className='h-6 w-6 text-red-600'/>
|
||||||
</div>
|
</div>
|
||||||
<CardTitle>Custom LFG</CardTitle>
|
<CardTitle>Custom LFG</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
@@ -268,7 +268,7 @@ export default function Home() {
|
|||||||
>
|
>
|
||||||
<Link href='/leaderboards'>
|
<Link href='/leaderboards'>
|
||||||
View Leaderboards
|
View Leaderboards
|
||||||
<Trophy className='ml-2 h-4 w-4' />
|
<Trophy className='ml-2 h-4 w-4'/>
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
@@ -289,7 +289,8 @@ export default function Home() {
|
|||||||
</div>
|
</div>
|
||||||
<ul className='grid gap-6'>
|
<ul className='grid gap-6'>
|
||||||
<li className='flex items-start gap-4'>
|
<li className='flex items-start gap-4'>
|
||||||
<div className='flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-red-100 text-red-600'>
|
<div
|
||||||
|
className='flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-red-100 text-red-600'>
|
||||||
1
|
1
|
||||||
</div>
|
</div>
|
||||||
<div className='space-y-1'>
|
<div className='space-y-1'>
|
||||||
@@ -301,7 +302,8 @@ export default function Home() {
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li className='flex items-start gap-4'>
|
<li className='flex items-start gap-4'>
|
||||||
<div className='flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-red-100 text-red-600'>
|
<div
|
||||||
|
className='flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-red-100 text-red-600'>
|
||||||
2
|
2
|
||||||
</div>
|
</div>
|
||||||
<div className='space-y-1'>
|
<div className='space-y-1'>
|
||||||
@@ -313,7 +315,8 @@ export default function Home() {
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li className='flex items-start gap-4'>
|
<li className='flex items-start gap-4'>
|
||||||
<div className='flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-red-100 text-red-600'>
|
<div
|
||||||
|
className='flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-red-100 text-red-600'>
|
||||||
3
|
3
|
||||||
</div>
|
</div>
|
||||||
<div className='space-y-1'>
|
<div className='space-y-1'>
|
||||||
@@ -382,12 +385,6 @@ export default function Home() {
|
|||||||
>
|
>
|
||||||
Documentation
|
Documentation
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
|
||||||
href='/about'
|
|
||||||
className='text-muted-foreground text-sm underline-offset-4 hover:underline'
|
|
||||||
>
|
|
||||||
About
|
|
||||||
</Link>
|
|
||||||
{/*<Link*/}
|
{/*<Link*/}
|
||||||
{/* href='/credits'*/}
|
{/* href='/credits'*/}
|
||||||
{/* className='text-muted-foreground text-sm underline-offset-4 hover:underline'*/}
|
{/* className='text-muted-foreground text-sm underline-offset-4 hover:underline'*/}
|
||||||
@@ -397,7 +394,7 @@ export default function Home() {
|
|||||||
<GithubLinks>
|
<GithubLinks>
|
||||||
<DropdownMenuTrigger asChild>
|
<DropdownMenuTrigger asChild>
|
||||||
<Button variant='ghost' size='icon'>
|
<Button variant='ghost' size='icon'>
|
||||||
<SiGithub className='h-5 w-5' />
|
<SiGithub className='h-5 w-5'/>
|
||||||
<span className='sr-only'>GitHub</span>
|
<span className='sr-only'>GitHub</span>
|
||||||
</Button>
|
</Button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
|
|||||||
Reference in New Issue
Block a user