-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from gdams/gatsby5
add support for Gatsby 5.x
- Loading branch information
Showing
15 changed files
with
3,545 additions
and
6,249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,31 +5,29 @@ | |
"version": "0.1.0", | ||
"author": "Dmitriy Nevzorov <[email protected]>", | ||
"dependencies": { | ||
"gatsby": "^4.20.0", | ||
"gatsby-plugin-image": "^2.20.0", | ||
"gatsby-plugin-manifest": "^4.20.0", | ||
"gatsby-plugin-offline": "^5.20.0", | ||
"gatsby-plugin-react-helmet": "^5.20.0", | ||
"gatsby-plugin-react-i18next": "^2.0.4", | ||
"gatsby-plugin-sharp": "^4.20.0", | ||
"gatsby-plugin-sitemap": "^5.20.0", | ||
"gatsby-source-filesystem": "^4.20.0", | ||
"gatsby-transformer-sharp": "^4.20.0", | ||
"i18next": "^21.9.0", | ||
"gatsby": "^5.2.0", | ||
"gatsby-plugin-image": "^3.2.0", | ||
"gatsby-plugin-manifest": "^5.2.0", | ||
"gatsby-plugin-offline": "^6.2.0", | ||
"gatsby-plugin-react-i18next": "^2.0.5", | ||
"gatsby-plugin-sharp": "^5.2.0", | ||
"gatsby-plugin-sitemap": "^6.2.0", | ||
"gatsby-source-filesystem": "^5.2.0", | ||
"gatsby-transformer-sharp": "^5.2.0", | ||
"i18next": "^22.0.6", | ||
"prop-types": "^15.8.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-helmet": "^6.1.0", | ||
"react-i18next": "^11.18.3" | ||
"react-i18next": "^12.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.18.10", | ||
"@babel/core": "^7.18.10", | ||
"aws-sdk": "^2.1190.0", | ||
"babel-plugin-i18next-extract": "^0.9.0-rc", | ||
"babel-preset-gatsby": "^2.20.0", | ||
"@babel/cli": "^7.19.3", | ||
"@babel/core": "^7.20.5", | ||
"aws-sdk": "^2.1266.0", | ||
"babel-plugin-i18next-extract": "^0.9.0", | ||
"babel-preset-gatsby": "^3.2.0", | ||
"mkdirp": "^1.0.4", | ||
"prettier": "2.7.1" | ||
"prettier": "^2.8.0" | ||
}, | ||
"keywords": [ | ||
"gatsby" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
import React from 'react'; | ||
import Layout from '../components/layout'; | ||
import SEO from '../components/seo'; | ||
import Seo from '../components/seo'; | ||
import {Link} from 'gatsby-plugin-react-i18next'; | ||
|
||
const IgnoredPage = (props) => { | ||
return ( | ||
<Layout> | ||
<SEO title="Ignored page" /> | ||
<h1>Ignored page</h1> | ||
<p>This page does not have language prefix</p> | ||
<Link to="/">Go back to the homepage</Link> | ||
</Layout> | ||
); | ||
}; | ||
|
||
export const Head = () => <Seo title="Ignored page" />; | ||
|
||
export default IgnoredPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.