mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
move Layout into _app.tsx
This commit is contained in:
committed by
Thomas Ruoff
parent
7389289b81
commit
2fd3a47e72
@@ -5,15 +5,11 @@ import { MDXRemote } from 'next-mdx-remote'
|
||||
|
||||
import mdComponents from '../components/mdComponents'
|
||||
|
||||
import Layout from '../components/layout'
|
||||
|
||||
export default function TermsPage({ source }) {
|
||||
return (
|
||||
<Layout>
|
||||
<div className="text-gray-700">
|
||||
<MDXRemote {...source} components={{ ...mdComponents }} />
|
||||
</div>
|
||||
</Layout>
|
||||
<div className="text-gray-700">
|
||||
<MDXRemote {...source} components={{ ...mdComponents }} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user