fix: apply designer agent improvements to src/components/public/PublicLayout.tsx
This commit is contained in:
parent
9cdd9fdded
commit
f4f8fae43e
|
|
@ -0,0 +1,21 @@
|
|||
'use client'
|
||||
|
||||
import React from 'react'
|
||||
import PublicHeader from './PublicHeader'
|
||||
import PublicFooter from './PublicFooter'
|
||||
|
||||
interface PublicLayoutProps {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export default function PublicLayout({ children }: PublicLayoutProps) {
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col bg-surface">
|
||||
<PublicHeader />
|
||||
<main id="main-content" className="flex-1" tabIndex={-1}>
|
||||
{children}
|
||||
</main>
|
||||
<PublicFooter />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in New Issue