Spaces:
Build error
Build error
Upload pages/index.js with huggingface_hub
Browse files- pages/index.js +22 -0
pages/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Head from 'next/head';
|
| 2 |
+
import Calculator from '../components/Calculator';
|
| 3 |
+
|
| 4 |
+
export default function Home() {
|
| 5 |
+
return (
|
| 6 |
+
<>
|
| 7 |
+
<Head>
|
| 8 |
+
<title>Modern Calculator</title>
|
| 9 |
+
<meta name="description" content="A modern calculator built with Next.js and Tailwind CSS" />
|
| 10 |
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 11 |
+
<link rel="icon" href="/favicon.ico" />
|
| 12 |
+
</Head>
|
| 13 |
+
|
| 14 |
+
<main className="container mx-auto px-4 py-8">
|
| 15 |
+
<h1 className="text-3xl font-bold text-center text-gray-800 mb-8">
|
| 16 |
+
Modern Calculator
|
| 17 |
+
</h1>
|
| 18 |
+
<Calculator />
|
| 19 |
+
</main>
|
| 20 |
+
</>
|
| 21 |
+
);
|
| 22 |
+
}
|