Skip to content

Commit

Permalink
💄 Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO committed Jul 26, 2024
1 parent 44e5561 commit c1ddaef
Showing 1 changed file with 39 additions and 14 deletions.
53 changes: 39 additions & 14 deletions packages/app/app/explore/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,50 @@ import { HomePageProps } from '@/lib/types'
import ArchiveVideos from '../[organization]/videos/components/ArchiveVideos'
import FeaturedEvents from './components/FeaturedEvents'
import ExploreTabs from './components/ExploreTabs'
import { Input } from '@/components/ui/input'
import { SearchIcon } from 'lucide-react'

const Home = ({ searchParams }: HomePageProps) => {
return (
<div className="container mx-auto space-y-12 px-8 py-8 animate-in fade-in duration-500">
<section>
<h2 className="mb-6 text-3xl font-bold text-foreground">
Featured Events
</h2>
<FeaturedEvents />
</section>
<section>
<h2 className="mb-6 text-3xl font-bold text-foreground">
Past Sessions
</h2>
<ExploreTabs />
<div className="mt-8">
<ArchiveVideos {...searchParams} />
<div className="min-h-dvh flex flex-col">
<section className="bg-primary py-16 text-primary-foreground md:py-24 lg:py-32">
<div className="container px-4 md:px-6">
<div className="mx-auto max-w-3xl text-center">
<h1 className="mb-6 text-4xl font-bold tracking-tighter sm:text-5xl md:text-6xl lg:text-7xl">
Explore our Video Library
</h1>
<p className="mb-8 text-xl text-primary-foreground/80 md:text-2xl">
Discover a wide range of engaging videos on various
topics.
</p>
<div className="mx-auto flex max-w-2xl items-center justify-center rounded-lg bg-primary-background/10 p-2">
<SearchIcon className="mr-3 h-6 w-6 text-primary-foreground/50" />
<Input
type="search"
placeholder="Search videos..."
className="w-full border-none bg-transparent text-primary-foreground placeholder-primary-foreground/50 focus:outline-none focus:ring-2 focus:ring-accent"
/>
</div>
</div>
</div>
</section>
<div className="container mx-auto space-y-16 px-4 py-16 md:px-6">
<section>
<h2 className="mb-8 text-3xl font-bold text-foreground">
Featured Events
</h2>
<FeaturedEvents />
</section>
<section>
<h2 className="mb-8 text-3xl font-bold text-foreground">
Past Sessions
</h2>
<ExploreTabs />
<div className="mt-8">
<ArchiveVideos {...searchParams} />
</div>
</section>
</div>
</div>
)
}
Expand Down

0 comments on commit c1ddaef

Please sign in to comment.