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

28 lines
794 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";
2022-06-18 03:20:44 +00:00
import "../styles/cytoscape.css";
2022-06-17 17:44:08 +00:00
import Head from "next/head";
import { Title } from "../components/title.js";
2022-06-17 17:44:08 +00:00
function MyApp({ Component, pageProps }) {
return (
2022-06-18 03:38:06 +00:00
<div className="flex 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 */}
2022-06-18 03:38:06 +00:00
<main className="inline 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;