Adding in modal for card detail when card is clicked. Working through styling, and working with NextJS.

This commit is contained in:
Frank Delaguila
2022-11-04 15:40:07 -06:00
parent a7d15cc120
commit a036c449f7
6 changed files with 106 additions and 25 deletions

17
pages/_document.tsx Normal file
View File

@@ -0,0 +1,17 @@
import { Html, Head, Main, NextScript } from 'next/document';
export default function Document() {
return (
<Html>
<Head>
<title>Magic Card Valuator</title>
</Head>
<body>
<Main />
{/* Here we will mount our modal portal */}
<div id="modal-root" />
<NextScript />
</body>
</Html>
)
}