d60fada097
* Strapi Example * Fix og image URL * Remove next.config.js * Apply updates * Remove API_URL * Bugfixes * Finish Strapi README * Deploy Strapi * Add strapi examples * now → vercel [ch1796] * Use npx * Minor readme update * Prettier fix Co-authored-by: Luis Alvarez <luis@vercel.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
16 lines
323 B
JavaScript
16 lines
323 B
JavaScript
import Alert from './alert'
|
|
import Footer from './footer'
|
|
import Meta from './meta'
|
|
|
|
export default function Layout({ preview, children }) {
|
|
return (
|
|
<>
|
|
<Meta />
|
|
<div className="min-h-screen">
|
|
<Alert preview={preview} />
|
|
<main>{children}</main>
|
|
</div>
|
|
<Footer />
|
|
</>
|
|
)
|
|
}
|