00Boobs00 commited on
Commit
534cddd
·
verified ·
1 Parent(s): 8c0641f

Upload pages/index.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. pages/index.js +58 -0
pages/index.js ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Head from 'next/head';
2
+ import { useState } from 'react';
3
+ import Header from '../components/Header';
4
+ import Hero from '../components/Hero';
5
+ import FeatureCard from '../components/FeatureCard';
6
+ import DataFetcher from '../components/DataFetcher';
7
+
8
+ export default function Home() {
9
+ return (
10
+ <>
11
+ <Head>
12
+ <title>Modern Next.js App</title>
13
+ <meta name="description" content="A modern Next.js application built with Tailwind CSS" />
14
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
15
+ <link rel="icon" href="/favicon.ico" />
16
+ </Head>
17
+ <main className="min-h-screen flex flex-col">
18
+ <Header />
19
+ <div className="flex-grow container mx-auto px-4 py-8">
20
+ <Hero />
21
+
22
+ <section className="mt-16">
23
+ <h2 className="text-3xl font-bold text-center mb-8 text-gray-800 dark:text-gray-100">
24
+ Key Features
25
+ </h2>
26
+ <div className="grid grid-cols-1 md:grid-cols-3 gap-8">
27
+ <FeatureCard
28
+ title="Fast Performance"
29
+ description="Optimized for speed with Next.js static generation and server-side rendering."
30
+ icon="Zap"
31
+ />
32
+ <FeatureCard
33
+ title="Responsive Design"
34
+ description="Fully responsive layout built with Tailwind CSS to look great on any device."
35
+ icon="Smartphone"
36
+ />
37
+ <FeatureCard
38
+ title="Modern Stack"
39
+ description="Built using the latest React patterns and best practices for scalable applications."
40
+ icon="Layers"
41
+ />
42
+ </div>
43
+ </section>
44
+
45
+ <section className="mt-16 max-w-2xl mx-auto">
46
+ <DataFetcher />
47
+ </section>
48
+ </div>
49
+
50
+ <footer className="bg-gray-800 text-gray-300 py-6 mt-12">
51
+ <div className="container mx-auto px-4 text-center">
52
+ <p>&copy; {new Date().getFullYear()} Modern Next.js App. All rights reserved.</p>
53
+ </div>
54
+ </footer>
55
+ </main>
56
+ </>
57
+ );
58
+ }