import { type NextPage } from "next";
import Head from "next/head";
import Link from "next/link";
import React from "react";
const Home: NextPage = () => {
const [calcVal, setCalcVal] = React.useState(0);
return (
<>
<Head>
<title>Test Calculator App</title>
<meta name="description" content="Generated by create-t3-app" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className="flex min-h-screen flex-col items-center justify-center">
<div className="flex-auto flex items-center justify-center h-1/2 min-w-full bg-cyan-500">
{calcVal}
</div>
<div className="flex-auto min-w-full gap-2 bg-yellow-500 flex items-stretch justify-center">
<button className="h-[25%] w-[50%] bg-green-900 hover:bg-green-600 text-white">+</button>
<button className="h-[25%] w-[50%] bg-green-900 hover:bg-green-600 text-white">-</button>
</div>
</main>
</>
);
};
export default Home;