1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-23 08:04:28 -04:00

move <Layout> to _app.tsx so it's not rerendered

This commit is contained in:
2022-01-07 09:57:32 -05:00
parent 34d2304e7c
commit 354d767fc5
15 changed files with 388 additions and 328 deletions

View File

@@ -1,10 +1,17 @@
import Layout from "../components/Layout";
import { NextSeo } from "next-seo";
import Content from "../components/Content";
import PageTitle from "../components/page/PageTitle";
import { LicenseIcon } from "../components/icons";
const License = () => (
<Layout title="License">
<>
<NextSeo
title="License"
openGraph={{
title: "License",
}}
/>
<PageTitle
title={
<>
@@ -459,7 +466,7 @@ const License = () => (
</p>
</blockquote>
</Content>
</Layout>
</>
);
export default License;