mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-07 05:02:07 +02:00
Upgrade gatsby-plugin-react-i18next to new release
This commit is contained in:
parent
ad2bcd3312
commit
37b12abb78
14 changed files with 421 additions and 49 deletions
|
@ -7,7 +7,7 @@ import PropTypes from "prop-types"
|
|||
import styles from "./friends.module.scss";
|
||||
|
||||
export const query = graphql`
|
||||
query AllFriendsQuery {
|
||||
query AllFriendsQuery($language: String!) {
|
||||
allFriendsJson {
|
||||
nodes {
|
||||
name
|
||||
|
@ -16,6 +16,15 @@ query AllFriendsQuery {
|
|||
imageURL
|
||||
}
|
||||
}
|
||||
locales: allLocale(filter: {language: {eq: $language}}) {
|
||||
edges {
|
||||
node {
|
||||
ns
|
||||
data
|
||||
language
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue