File size: 1,003 Bytes
72f0edb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

import React from "react";
import Header from "../components/Header";
import { Skeleton } from "@/components/ui/skeleton";

const NewAndPopular: React.FC = () => {
  return (
    <div className="min-h-screen bg-netflix-background">
      <Header />
      <div className="container mx-auto pt-24 px-4">
        <h1 className="text-4xl font-bold text-white mb-8">New & Popular</h1>
        <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
          {/* Placeholder content */}
          {Array(6)
            .fill(null)
            .map((_, index) => (
              <div key={index} className="bg-netflix-card rounded-md overflow-hidden">
                <Skeleton className="h-48 w-full" />
                <div className="p-4">
                  <Skeleton className="h-6 w-3/4 mb-2" />
                  <Skeleton className="h-4 w-full" />
                </div>
              </div>
            ))}
        </div>
      </div>
    </div>
  );
};

export default NewAndPopular;