mirror of
https://github.com/recloudstream/website.git
synced 2024-08-15 03:18:45 +00:00
update edit on github thing
This commit is contained in:
parent
3b4f55d872
commit
010e83db14
1 changed files with 14 additions and 14 deletions
|
@ -70,26 +70,26 @@ export default function PageTemplate({ data: { markdownRemark, allMarkdownRemark
|
||||||
{renderAst(markdownRemark.htmlAst)}
|
{renderAst(markdownRemark.htmlAst)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="alert shadow-lg w-full mx-auto md:w-2/3 mt-5">
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<h3 className="font-bold">Edit on GitHub</h3>
|
||||||
|
<div className="text-xs">If you see a mistake here, you can open a pull request</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="flex-none">
|
||||||
|
<a
|
||||||
|
className="btn btn-primary btn-sm"
|
||||||
|
href={`https://github.com/recloudstream/recloudstream.github.io/blob/master/src/pages${node2slug(markdownRemark)}`}
|
||||||
|
target="_blank">Edit</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{filtered.length > 0 && <>
|
{filtered.length > 0 && <>
|
||||||
<div className="divider text-xl mt-5">Children</div>
|
<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">
|
<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}
|
{filtered}
|
||||||
</div></>}
|
</div></>}
|
||||||
</div>
|
</div>
|
||||||
<div className="alert shadow-lg w-full mx-10 md:w-2/3 mt-10">
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<h3 className="font-bold">Edit on GitHub</h3>
|
|
||||||
<div className="text-xs">If you see a mistake here, you can open a pull request</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="flex-none">
|
|
||||||
<a
|
|
||||||
className="btn btn-primary btn-sm"
|
|
||||||
href={`https://github.com/recloudstream/recloudstream.github.io/blob/master/src/pages${node2slug(markdownRemark)}`}
|
|
||||||
target="_blank">Edit</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Layout>
|
</Layout>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue