workspaces_registry_template/site/components/layout.js
Chris Hunt 4aa0bf7c5d
Workspace count
change gradient color
add footer
2023-02-15 10:24:54 +00:00

17 lines
512 B
JavaScript

// components/layout.js
import Header from './header'
import Footer from './footer'
import 'react-notifications/lib/notifications.css';
import { NotificationContainer } from 'react-notifications';
export default function Layout({ children, searchText, changeSearch }) {
return (
<div className='flex flex-col min-h-screen'>
<Header searchText={searchText} changeSearch={changeSearch} />
<main className="grow">{children}</main>
<Footer />
<NotificationContainer/>
</div>
)
}