hierarchical-estimates-visu.../packages/webpage-refactor/pages/_app.js

27 lines
759 B
JavaScript
Raw Normal View History

2022-06-17 17:44:08 +00:00
// import 'tailwindcss/tailwind.css'
import "tailwindcss/tailwind.css";
import "../styles/globals.css";
import Head from "next/head";
import { Title } from "../components/title.js";
2022-06-17 17:44:08 +00:00
function MyApp({ Component, pageProps }) {
return (
<div className="block flex-col items-center justify-center min-h-screen py-2">
2022-06-17 17:44:08 +00:00
{/* Webpage name & favicon */}
<div className="mt-10">
2022-06-17 17:44:08 +00:00
<Head>
<title>Utility Function Extractor</title>
<link rel="icon" href="/favicon.ico" />
</Head>
{/* Content */}
<main className="flex flex-col items-center w-full flex-1 px-20 text-center">
<Title />
2022-06-17 17:44:08 +00:00
<Component {...pageProps} />
</main>
</div>
</div>
);
}
export default MyApp;