This commit is contained in:
rei
2023-04-24 18:27:42 +02:00
parent 84cc6d64db
commit bab35fbfce
3 changed files with 65 additions and 76 deletions

View File

@@ -1,13 +1,12 @@
import { PropsWithChildren } from "react";
import { R3Gradient } from '../components/R3Background';
import { Navbar } from "../components/Navbar";
import { PropsWithChildren } from 'react'
import { R3Gradient } from '../components/R3Background'
import { Navbar } from '../components/Navbar'
export const MainLayout = ({ children }: PropsWithChildren) => {
return (
<div className="w-full">
<Navbar />
<R3Gradient />
<main className="xl:p-5 p-4 px-5 xl:mx-0">{children}</main>
</div>
);
};
return (
<div className="w-full">
<Navbar />
<main className="xl:p-5 p-4 px-5 xl:mx-0">{children}</main>
</div>
)
}