- add sitemap.xml

- reduce screenshot sizes
This commit is contained in:
Amruth Pillai
2020-07-16 10:31:56 +05:30
parent be40644497
commit 8e9bd99e91
6 changed files with 56 additions and 13 deletions

View File

@ -1,6 +1,11 @@
require('dotenv').config(); require('dotenv').config();
module.exports = { module.exports = {
siteMetadata: {
title: 'Reactive Resume',
siteUrl: 'https://rxresume-staging.web.app',
description: 'A free and open source resume builder.',
},
plugins: [ plugins: [
'gatsby-plugin-react-helmet', 'gatsby-plugin-react-helmet',
{ {
@ -65,7 +70,7 @@ module.exports = {
short_name: 'RxResume', short_name: 'RxResume',
description: 'A free and open-source resume builder.', description: 'A free and open-source resume builder.',
start_url: '/?source=pwa', start_url: '/?source=pwa',
icon: `static/images/logo.png`, icon: 'static/images/logo.png',
background_color: '#FFFFFF', background_color: '#FFFFFF',
theme_color: '#444444', theme_color: '#444444',
display: 'standalone', display: 'standalone',
@ -87,7 +92,7 @@ module.exports = {
}, },
'gatsby-plugin-lodash', 'gatsby-plugin-lodash',
{ {
resolve: `gatsby-plugin-material-ui`, resolve: 'gatsby-plugin-material-ui',
options: { options: {
stylesProvider: { stylesProvider: {
injectFirst: true, injectFirst: true,
@ -96,13 +101,13 @@ module.exports = {
}, },
'gatsby-plugin-postcss', 'gatsby-plugin-postcss',
{ {
resolve: `gatsby-source-filesystem`, resolve: 'gatsby-source-filesystem',
options: { options: {
path: `${__dirname}/src/articles`, path: `${__dirname}/src/articles`,
name: `articles`, name: 'articles',
}, },
}, },
`gatsby-transformer-remark`, 'gatsby-transformer-remark',
{ {
resolve: 'gatsby-source-filesystem', resolve: 'gatsby-source-filesystem',
options: { options: {
@ -127,5 +132,6 @@ module.exports = {
}, },
}, },
}, },
'gatsby-plugin-sitemap',
], ],
}; };

37
package-lock.json generated
View File

@ -8983,6 +8983,24 @@
} }
} }
}, },
"gatsby-plugin-sitemap": {
"version": "2.4.11",
"resolved": "https://registry.npmjs.org/gatsby-plugin-sitemap/-/gatsby-plugin-sitemap-2.4.11.tgz",
"integrity": "sha512-OX8Jry3t6iPqWoo/WDo0DTmaKuIPa0RDrd/fFeS5DYGyclpIVnAK1fr92X2222ZtdRwn6NLd5c+RpNrjxDvJDA==",
"requires": {
"@babel/runtime": "^7.10.3",
"minimatch": "^3.0.4",
"pify": "^3.0.0",
"sitemap": "^1.13.0"
},
"dependencies": {
"pify": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
"integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY="
}
}
},
"gatsby-plugin-typescript": { "gatsby-plugin-typescript": {
"version": "2.4.14", "version": "2.4.14",
"resolved": "https://registry.npmjs.org/gatsby-plugin-typescript/-/gatsby-plugin-typescript-2.4.14.tgz", "resolved": "https://registry.npmjs.org/gatsby-plugin-typescript/-/gatsby-plugin-typescript-2.4.14.tgz",
@ -17626,6 +17644,15 @@
"resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
"integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="
}, },
"sitemap": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/sitemap/-/sitemap-1.13.0.tgz",
"integrity": "sha1-Vpy+IYAgKSamKiZs094Jyc60P4M=",
"requires": {
"underscore": "^1.7.0",
"url-join": "^1.1.0"
}
},
"slash": { "slash": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
@ -19306,6 +19333,11 @@
"resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz",
"integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=" "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo="
}, },
"underscore": {
"version": "1.10.2",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.10.2.tgz",
"integrity": "sha512-N4P+Q/BuyuEKFJ43B9gYuOj4TQUHXX+j2FqguVOpjkssLUUrnJofCcBccJSCoeturDoZU6GorDTHSvUDlSQbTg=="
},
"underscore.string": { "underscore.string": {
"version": "3.3.5", "version": "3.3.5",
"resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz", "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz",
@ -19826,6 +19858,11 @@
} }
} }
}, },
"url-join": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/url-join/-/url-join-1.1.0.tgz",
"integrity": "sha1-dBxsL0WWxIMNZxhGCSDQySIC3Hg="
},
"url-loader": { "url-loader": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/url-loader/-/url-loader-1.1.2.tgz", "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-1.1.2.tgz",

View File

@ -37,6 +37,7 @@
"gatsby-plugin-prefetch-google-fonts": "^1.4.3", "gatsby-plugin-prefetch-google-fonts": "^1.4.3",
"gatsby-plugin-react-helmet": "^3.3.10", "gatsby-plugin-react-helmet": "^3.3.10",
"gatsby-plugin-sharp": "^2.6.19", "gatsby-plugin-sharp": "^2.6.19",
"gatsby-plugin-sitemap": "^2.4.11",
"gatsby-source-filesystem": "^2.3.19", "gatsby-source-filesystem": "^2.3.19",
"gatsby-source-gravatar": "^1.0.0", "gatsby-source-gravatar": "^1.0.0",
"gatsby-transformer-remark": "^2.8.25", "gatsby-transformer-remark": "^2.8.25",

View File

@ -11,7 +11,7 @@ const Screenshots = () => {
fluid(maxWidth: 800) { fluid(maxWidth: 800) {
...GatsbyImageSharpFluid ...GatsbyImageSharpFluid
} }
fixed(width: 360) { fixed(width: 300) {
...GatsbyImageSharpFixed ...GatsbyImageSharpFixed
} }
} }
@ -21,7 +21,7 @@ const Screenshots = () => {
fluid(maxWidth: 800) { fluid(maxWidth: 800) {
...GatsbyImageSharpFluid ...GatsbyImageSharpFluid
} }
fixed(width: 360) { fixed(width: 300) {
...GatsbyImageSharpFixed ...GatsbyImageSharpFixed
} }
} }
@ -31,7 +31,7 @@ const Screenshots = () => {
fluid(maxWidth: 800) { fluid(maxWidth: 800) {
...GatsbyImageSharpFluid ...GatsbyImageSharpFluid
} }
fixed(width: 360) { fixed(width: 300) {
...GatsbyImageSharpFixed ...GatsbyImageSharpFixed
} }
} }
@ -41,7 +41,7 @@ const Screenshots = () => {
fluid(maxWidth: 800) { fluid(maxWidth: 800) {
...GatsbyImageSharpFluid ...GatsbyImageSharpFluid
} }
fixed(width: 360) { fixed(width: 300) {
...GatsbyImageSharpFixed ...GatsbyImageSharpFixed
} }
} }
@ -51,7 +51,7 @@ const Screenshots = () => {
fluid(maxWidth: 800) { fluid(maxWidth: 800) {
...GatsbyImageSharpFluid ...GatsbyImageSharpFluid
} }
fixed(width: 360) { fixed(width: 300) {
...GatsbyImageSharpFixed ...GatsbyImageSharpFixed
} }
} }
@ -61,7 +61,7 @@ const Screenshots = () => {
fluid(maxWidth: 800) { fluid(maxWidth: 800) {
...GatsbyImageSharpFluid ...GatsbyImageSharpFluid
} }
fixed(width: 360) { fixed(width: 300) {
...GatsbyImageSharpFixed ...GatsbyImageSharpFixed
} }
} }

View File

@ -16,7 +16,6 @@ const languages = [
i18n.use(initReactI18next).init({ i18n.use(initReactI18next).init({
resources, resources,
lng: 'en', lng: 'en',
debug: true,
fallbackLng: 'en', fallbackLng: 'en',
}); });

View File

@ -19,7 +19,7 @@ const Home = () => {
<div className="container mt-24"> <div className="container mt-24">
<Hero /> <Hero />
<p className="leading-loose text-xl mt-16"> <p className="leading-loose text-lg mt-16">
Reactive Resume is a free and open source resume builder thats built Reactive Resume is a free and open source resume builder thats built
to make the mundane tasks of creating, updating and sharing your to make the mundane tasks of creating, updating and sharing your
resume as easy as 1, 2, 3. With this app, you can create multiple resume as easy as 1, 2, 3. With this app, you can create multiple