2026-04-13 00:16:56 +03:00

18 lines
440 B
JavaScript

import './PageLayout.css'
/**
* PageLayout — shared full-viewport wrapper for all public pages.
* Applies the dark background and centres content vertically.
*
* Props:
* children — page content
* className — optional extra class on the root element
*/
export default function PageLayout({ children, className = '' }) {
return (
<div className={`page-layout ${className}`.trim()}>
{children}
</div>
)
}