From 1b866474b9840ca07fb21835c88eae2017c092ad Mon Sep 17 00:00:00 2001 From: rahuldkjain Date: Fri, 4 Sep 2020 21:16:18 +0530 Subject: [PATCH] [add]: tailwind-complete --- gatsby-config.js | 34 ++++---- src/components/addons.js | 2 +- src/components/footer.js | 2 +- src/components/markdown.js | 2 +- src/components/skills.js | 4 +- src/components/social.js | 12 --- src/components/subtitle.js | 2 +- src/components/title.js | 4 +- src/components/work.js | 44 +++++----- src/markdown-pages/about.md | 4 +- src/pages/index.css | 148 +++++++++++++++++----------------- src/pages/index.js | 19 +++-- src/styles/tailwind.css | 102 ++++++++++++++++++++++- src/templates/blogTemplate.js | 19 ++--- 14 files changed, 244 insertions(+), 154 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 6f686b9..753391c 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -7,20 +7,6 @@ module.exports = { }, plugins: [ `gatsby-plugin-react-helmet`, - { - resolve: `gatsby-plugin-postcss`, - options: { - postCssPlugins: [require("tailwindcss")], - } - }, - { - resolve: `gatsby-plugin-purgecss`, - options: { - printRejected: false, - develop: false, - tailwind: true, - } - }, { resolve: `gatsby-source-filesystem`, options: { @@ -66,8 +52,22 @@ module.exports = { // other options }, }, + { + resolve: `gatsby-plugin-postcss`, + options: { + postCssPlugins: [require("tailwindcss")], + } + }, + { + resolve: `gatsby-plugin-purgecss`, + options: { + printRejected: false, + develop: false, + tailwind: true, + } + }, ], - // this (optional) plugin enables Progressive Web App + Offline functionality - // To learn more, visit: https://gatsby.dev/offline - // `gatsby-plugin-offline`, + // this (optional) plugin enables Progressive Web App + Offline functionality + // To learn more, visit: https://gatsby.dev/offline + // `gatsby-plugin-offline`, } diff --git a/src/components/addons.js b/src/components/addons.js index 4dc54f8..9d2be20 100644 --- a/src/components/addons.js +++ b/src/components/addons.js @@ -25,7 +25,7 @@ const Addons = (props) => { document.body.removeChild(tempElement); } return ( -
+
Add-ons