diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index f884225..7411185 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - node: ["12.16.0"] + node: ['12.16.0'] name: Node ${{ matrix.node }} steps: - uses: actions/checkout@v2 @@ -37,4 +37,3 @@ jobs: with: github_token: ${{ secrets.BLOBS_APP_PUBLISH_TOKEN }} publish_dir: ./public - cname: blobs.app diff --git a/README.md b/README.md index 6553b8b..8de38b3 100644 --- a/README.md +++ b/README.md @@ -14,28 +14,27 @@
 
Blobs Generator
-
https://blobs.app/
+
https://lokesh-coder.github.io/blobs.app/

Social preview

- - ### Features - - Choose any solid colors - - Set gradient colors - - Use Patterns - - Clip Image - - Outlined blob - - SVG Code - view/copy/download - - Flutter blob code - - Save and view blobs - - Tiny blob change sound - - PWA - Offline support - - Custom sharable URL - - Dark theme + +- Choose any solid colors +- Set gradient colors +- Use Patterns +- Clip Image +- Outlined blob +- SVG Code - view/copy/download +- Flutter blob code +- Save and view blobs +- Tiny blob change sound +- PWA - Offline support +- Custom sharable URL +- Dark theme ### Development diff --git a/gatsby-config.js b/gatsby-config.js index e60147f..621a03c 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,6 +1,7 @@ module.exports = { + pathPrefix: '/blobs.app/', siteMetadata: { - siteUrl: 'https://blobs.app', + siteUrl: 'https://lokesh-coder.github.io/blobs.app', name: 'blobs.app', description: 'Generate beautiful blob shapesfor web and flutter apps', descriptionLong: @@ -15,6 +16,7 @@ module.exports = { }, plugins: [ 'gatsby-plugin-react-helmet', + 'gatsby-plugin-offline', 'gatsby-plugin-image', { resolve: 'gatsby-source-filesystem', @@ -52,6 +54,5 @@ module.exports = { portalZIndex: 40, }, }, - '@chakra-ui/gatsby-plugin', ], }; diff --git a/package.json b/package.json index d2b15b0..7ff9ffa 100644 --- a/package.json +++ b/package.json @@ -6,35 +6,35 @@ "author": "Lokesh Rajendran ", "dependencies": { "@chakra-ui/gatsby-plugin": "^1.0.1", + "@chakra-ui/icons": "^1.0.5", "@chakra-ui/react": "^1.3.4", "@emotion/react": "^11.1.5", "@emotion/styled": "^11.1.5", + "blobshape": "^1.0.0", + "dynamics.js": "^1.1.5", "framer-motion": "^3.10.3", "gatsby": "^3.0.1", + "gatsby-image": "^3.0.0", "gatsby-plugin-gatsby-cloud": "^2.0.0", + "gatsby-plugin-google-analytics": "^3.0.0", "gatsby-plugin-image": "^1.0.0", "gatsby-plugin-manifest": "^3.0.0", "gatsby-plugin-offline": "^4.0.0", "gatsby-plugin-react-helmet": "^4.0.0", "gatsby-plugin-sharp": "^3.0.0", - "gatsby-source-filesystem": "^3.0.0", - "gatsby-transformer-sharp": "^3.0.0", - "prop-types": "^15.7.2", - "react": "^17.0.1", - "react-dom": "^17.0.1", - "react-helmet": "^6.1.0", - "@chakra-ui/icons": "^1.0.5", - "blobshape": "^1.0.0", - "dynamics.js": "^1.1.5", - "gatsby-image": "^3.0.0", - "gatsby-plugin-google-analytics": "^3.0.0", "gatsby-plugin-sitemap": "^3.0.0", "gatsby-rehype-prismjs": "^2.0.0", "gatsby-remark-prismjs": "^4.0.0", + "gatsby-source-filesystem": "^3.0.0", "gatsby-transformer-rehype": "^2.0.0", "gatsby-transformer-remark": "^3.0.0", + "gatsby-transformer-sharp": "^3.0.0", "prismjs": "^1.23.0", "project-name-generator": "^2.1.9", + "prop-types": "^15.7.2", + "react": "^17.0.1", + "react-dom": "^17.0.1", + "react-helmet": "^6.1.0", "react-syntax-highlighter": "^15.4.3", "redux-zero": "^5.1.7", "use-sound": "^2.0.1" @@ -59,7 +59,7 @@ ], "license": "MIT", "scripts": { - "build": "gatsby build", + "build": "gatsby build --prefix-paths", "develop": "gatsby develop -H 0.0.0.0", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"", "start": "npm run develop", diff --git a/src/components/NavLinks.js b/src/components/NavLinks.js index d7f1010..2a260a9 100644 --- a/src/components/NavLinks.js +++ b/src/components/NavLinks.js @@ -63,7 +63,7 @@ const NavLinks = ({ saveBlob }) => {