Adding in modal for card detail when card is clicked. Working through styling, and working with NextJS.
This commit is contained in:
17
pages/_document.tsx
Normal file
17
pages/_document.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user