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