mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-07-26 12:57:43 +02:00
Run prettier
This commit is contained in:
parent
5ce412b622
commit
3ba289e1b1
15 changed files with 266 additions and 175 deletions
|
@ -6,16 +6,25 @@ import { Link, Trans } from "gatsby-plugin-react-i18next";
|
|||
import LanguageSwitcher from "../components/languageSwitcher";
|
||||
|
||||
type LayoutProps = {
|
||||
description?: string,
|
||||
meta?: any[],
|
||||
title: string,
|
||||
transparentTopbar?: boolean,
|
||||
seoAdditional?: any,
|
||||
image?: string,
|
||||
speakable?: any
|
||||
}
|
||||
description?: string;
|
||||
meta?: any[];
|
||||
title: string;
|
||||
transparentTopbar?: boolean;
|
||||
seoAdditional?: any;
|
||||
image?: string;
|
||||
speakable?: any;
|
||||
};
|
||||
|
||||
const Layout = ({description, meta, title, image, speakable, seoAdditional, transparentTopbar, children}: React.PropsWithChildren<LayoutProps>) => {
|
||||
const Layout = ({
|
||||
description,
|
||||
meta,
|
||||
title,
|
||||
image,
|
||||
speakable,
|
||||
seoAdditional,
|
||||
transparentTopbar,
|
||||
children,
|
||||
}: React.PropsWithChildren<LayoutProps>) => {
|
||||
return (
|
||||
<>
|
||||
<SEO
|
||||
|
@ -50,7 +59,7 @@ const Layout = ({description, meta, title, image, speakable, seoAdditional, tran
|
|||
<LanguageSwitcher />
|
||||
</>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Layout.defaultProps = {
|
||||
module: `none`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue