making background custom based on layout

This commit is contained in:
Arjun Patel
2022-01-13 18:20:51 -08:00
parent 9a945edd87
commit 9f5b3d072a
6 changed files with 23 additions and 5 deletions
+8
View File
@@ -0,0 +1,8 @@
export default function BackgroundLayout({ children }) {
return (
<div id="bg">
{children}
</div>
)
}
+1 -1
View File
@@ -1,7 +1,7 @@
import Head from "next/head"
export default function Layout({ children }) {
export default function SiteLayout({ children }) {
return (
<>
<Head>