Pkiran commited on
Commit
62740ea
·
verified ·
1 Parent(s): c590f24

Upload pages/index.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. pages/index.js +38 -0
pages/index.js ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Link from 'next/link'
2
+
3
+ export default function Home() {
4
+ return (
5
+ <div className="min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100 flex flex-col">
6
+ <header className="w-full py-4 px-6 bg-white shadow-sm">
7
+ <div className="max-w-4xl mx-auto flex justify-between items-center">
8
+ <h1 className="text-xl font-bold text-indigo-600">Hello World App</h1>
9
+ <Link
10
+ href="https://huggingface.co/spaces/akhaliq/anycoder"
11
+ className="text-sm text-gray-600 hover:text-indigo-600 transition-colors"
12
+ target="_blank"
13
+ rel="noopener noreferrer"
14
+ >
15
+ Built with anycoder
16
+ </Link>
17
+ </div>
18
+ </header>
19
+
20
+ <main className="flex-grow flex items-center justify-center px-6">
21
+ <div className="text-center">
22
+ <h2 className="text-4xl font-bold text-gray-800 mb-4">
23
+ Hello World!
24
+ </h2>
25
+ <p className="text-lg text-gray-600 max-w-md">
26
+ Welcome to your Next.js application. This is a simple hello world page built with React, Next.js, and Tailwind CSS.
27
+ </p>
28
+ </div>
29
+ </main>
30
+
31
+ <footer className="w-full py-4 px-6 bg-white border-top">
32
+ <div className="max-w-4xl mx-auto text-center text-sm text-gray-500">
33
+ © 2024 Hello World App. Built with Next.js and Tailwind CSS.
34
+ </div>
35
+ </footer>
36
+ </div>
37
+ )
38
+ }