1
0
Fork 0

wip(org): Changes to layouts and modal images

This commit is contained in:
Joost De Cock 2022-06-09 17:14:17 +02:00
parent b9df1709f1
commit ffea80f77b
7 changed files with 25 additions and 12 deletions

View file

@ -16,16 +16,16 @@ const DefaultLayout = ({ app, title=false, crumbs=false, children=[] }) => {
return (
<div className="m-auto flex flex-row justify-center">
<Aside app={app} slug={slug} before={<ThemePicker app={app} className="block sm:hidden"/>}/>
<section className="py-28 md:py-36">
<section className="py-28 md:py-36 max-w-7xl px-8 xl:pl-8 2xl:pl-16">
<div>
{title && (
<div className="px-8 xl:pl-8 2xl:pl-16">
<>
<Breadcrumbs title={title} crumbs={breadcrumbs} />
{title
? <h1>{title}</h1>
: <h1>{app.getTitle(slug)}</h1>
}
</div>
</>
)}
{children}
</div>