mirror of
https://github.com/fergalmoran/opengifame.git
synced 2025-12-22 09:38:44 +00:00
21 lines
447 B
TypeScript
21 lines
447 B
TypeScript
import React from 'react'
|
|
import Navbar from './Navbar'
|
|
|
|
interface IPageLayoutProps {
|
|
children: React.ReactNode
|
|
}
|
|
const PageLayout: React.FC<IPageLayoutProps> = ({ children }) => {
|
|
return (
|
|
<div className="min-h-full">
|
|
<Navbar />
|
|
<div className="px-10 py-10">
|
|
<main>
|
|
{children}
|
|
</main>
|
|
</div>
|
|
</div>
|
|
|
|
)
|
|
}
|
|
|
|
export default PageLayout |