Skip to content

Commit c18902e

Browse files
authored
Add Head to Base
1 parent 91577e4 commit c18902e

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

mystbin/frontend/components/Base.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,26 @@ import LogoMain from "../public/LogoMain";
55
import GitHubIcon from "@material-ui/icons/GitHub";
66
import DiscordColorIcon from "../icons/DiscordColour";
77
import TipModal from "./TipModal";
8+
import Head from 'next/head'
89

910
export default function Base(props: PropsWithChildren<{ className: string }>) {
1011
const { children, className } = props;
1112

1213
return (
1314
<div className={styles.Base}>
15+
<Head>
16+
<title>MystBin</title>
17+
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
18+
<script
19+
async
20+
src="https://media.ethicalads.io/media/client/ethicalads.min.js"
21+
></script>
22+
</Head>
1423
<div
1524
data-ea-publisher="mystbin"
1625
data-ea-type="text"
1726
data-ea-style="fixedfooter"
1827
></div>
19-
<script
20-
async
21-
src="https://media.ethicalads.io/media/client/ethicalads.min.js"
22-
></script>
2328

2429
<OptsBar />
2530
<TipModal />

0 commit comments

Comments
 (0)