update edit on github thing

This commit is contained in:
Cloudburst 2022-09-01 12:46:36 +02:00 committed by GitHub
parent 3b4f55d872
commit 010e83db14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,13 +70,7 @@ export default function PageTemplate({ data: { markdownRemark, allMarkdownRemark
{renderAst(markdownRemark.htmlAst)} {renderAst(markdownRemark.htmlAst)}
</div> </div>
</div> </div>
{filtered.length > 0 && <> <div className="alert shadow-lg w-full mx-auto md:w-2/3 mt-5">
<div className="divider text-xl mt-5">Children</div>
<div className="grid gap-5 w-full px-10 place-items-center auto-rows-max grid-flow-row-dense grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
{filtered}
</div></>}
</div>
<div className="alert shadow-lg w-full mx-10 md:w-2/3 mt-10">
<div> <div>
<div> <div>
<h3 className="font-bold">Edit on GitHub</h3> <h3 className="font-bold">Edit on GitHub</h3>
@ -90,6 +84,12 @@ export default function PageTemplate({ data: { markdownRemark, allMarkdownRemark
target="_blank">Edit</a> target="_blank">Edit</a>
</div> </div>
</div> </div>
{filtered.length > 0 && <>
<div className="divider text-xl mt-5">Children</div>
<div className="grid gap-5 w-full px-10 place-items-center auto-rows-max grid-flow-row-dense grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
{filtered}
</div></>}
</div>
</Layout> </Layout>
) )
} }