changed where the main tag appears

This commit is contained in:
2023-03-18 02:36:14 -05:00
parent 2a9fef429f
commit bd82712316
3 changed files with 5 additions and 5 deletions

View File

@@ -4,10 +4,10 @@ import type { Children } from "@utils/types/props";
export const HomeLayout: React.FC<Children> = ({ children }) => {
return (
<>
<main>
<Header />
{children}
<Footer />
</>
</main>
);
};

View File

@@ -4,7 +4,7 @@ import { IoClose } from "react-icons/io5";
export const InfoLayout: React.FC<Children> = ({ children }) => {
return (
<>
<main>
<Link
href="/"
className="relative flex min-h-screen flex-col items-center justify-center"
@@ -15,6 +15,6 @@ export const InfoLayout: React.FC<Children> = ({ children }) => {
/>
</Link>
{children}
</>
</main>
);
};

View File

@@ -9,5 +9,5 @@ const murecho = Murecho({
});
export const RootLayout: React.FC<Children> = ({ children }) => {
return <main className={`${murecho.variable} font-sans`}>{children}</main>;
return <div className={`${murecho.variable} font-sans`}>{children}</div>;
};