mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-20 11:27:29 +02:00
Run prettier
This commit is contained in:
parent
b50b7d83c3
commit
0b5a905ae6
20 changed files with 452 additions and 352 deletions
|
@ -1,37 +1,37 @@
|
|||
import { useStaticQuery, graphql } from 'gatsby';
|
||||
import { useStaticQuery, graphql } from "gatsby";
|
||||
|
||||
const useSiteMetadata = () => {
|
||||
const { site } = useStaticQuery(
|
||||
graphql`
|
||||
query {
|
||||
site {
|
||||
siteMetadata {
|
||||
title
|
||||
keywords
|
||||
author
|
||||
siteUrl
|
||||
payPalMail
|
||||
contactEmail
|
||||
contactPhone
|
||||
mapsLink
|
||||
contactTwitter
|
||||
contactGitHub
|
||||
contactMastodon
|
||||
contactMastodonHref
|
||||
givenName
|
||||
familyName
|
||||
birthDate
|
||||
address
|
||||
gender
|
||||
height
|
||||
nationality
|
||||
sameAs
|
||||
}
|
||||
}
|
||||
}
|
||||
`,
|
||||
);
|
||||
return site.siteMetadata;
|
||||
const { site } = useStaticQuery(
|
||||
graphql`
|
||||
query {
|
||||
site {
|
||||
siteMetadata {
|
||||
title
|
||||
keywords
|
||||
author
|
||||
siteUrl
|
||||
payPalMail
|
||||
contactEmail
|
||||
contactPhone
|
||||
mapsLink
|
||||
contactTwitter
|
||||
contactGitHub
|
||||
contactMastodon
|
||||
contactMastodonHref
|
||||
givenName
|
||||
familyName
|
||||
birthDate
|
||||
address
|
||||
gender
|
||||
height
|
||||
nationality
|
||||
sameAs
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
);
|
||||
return site.siteMetadata;
|
||||
};
|
||||
|
||||
export default useSiteMetadata;
|
||||
export default useSiteMetadata;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue