From a8015319a4db65b9728ad5b7f592f2ecb07cde8e Mon Sep 17 00:00:00 2001 From: zolostays Date: Wed, 23 Sep 2020 17:24:18 +0530 Subject: [PATCH] [add]: donate below markdown-box --- README.md | 4 +- src/components/donate.js | 77 +++++++++++++++++++++++++++++++++++ src/markdown-pages/support.md | 2 +- src/pages/index.js | 15 +++++++ 4 files changed, 95 insertions(+), 3 deletions(-) create mode 100644 src/components/donate.js diff --git a/README.md b/README.md index 5f0d5d2..b8c9d03 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@

-Loved the tool? Please consider donating πŸ’Έ to help it improve! +Loved the tool? Please consider donating πŸ’Έ to help it improve!

@@ -144,7 +144,7 @@ Please read [`CONTRIBUTING`](CONTRIBUTING.md) for details on our [`CODE OF CONDU ## πŸ™ Support

-sponsor github profile readme generator +sponsor github profile readme generator tweet github profile readme generator diff --git a/src/components/donate.js b/src/components/donate.js new file mode 100644 index 0000000..94e2b28 --- /dev/null +++ b/src/components/donate.js @@ -0,0 +1,77 @@ +import React from "react" +const Donate = () => { + return ( + <> +

Support πŸ™
+
+
+
+ Are you using the tool and happy with it to create your GitHub + Profile? +
+
+ Your kind support keeps open-source tools like this free for others. +
+
+ + tweet github profile readme generator + + Let the world know how you feel using this tool. Share with others + on twitter. +
+
+
+ TipπŸ’° + {/* Ko-Fi */} + + Buy ko-fi for rahuldkjain + Buy me a ko-fi + + {/* Paypal */} + + Donate rahuldkjain via paypal + Paypal + + {/* BuyMeACoffee */} + + Buy rahuldkjain A Coffee + Buy me a coffee + +
+
+ + ) +} + +export default Donate diff --git a/src/markdown-pages/support.md b/src/markdown-pages/support.md index 687eecc..856cdd6 100644 --- a/src/markdown-pages/support.md +++ b/src/markdown-pages/support.md @@ -11,7 +11,7 @@ title: "πŸ’΅ Support OSS" You can come forward to support the developers by making small donations. You will never know what this support mean to them. If you find the tool really helpful, then it will be very grateful to support the tool πŸ™‡.

- sponsor github profile readme generator + sponsor github profile readme generator Buy Coffee for rahuldkjain diff --git a/src/pages/index.js b/src/pages/index.js index 8a1b073..adff9bd 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -8,6 +8,7 @@ import Work from "../components/work" import Social from "../components/social" import Addons from "../components/addons" import Skills from "../components/skills" +import Donate from "../components/donate"; import { initialSkillState } from "../constants/skills" import gsap from "gsap" import Loader from "../components/loader" @@ -191,6 +192,17 @@ const IndexPage = () => { ease: "Linear.easeNone", } ) + gsap.fromTo( + "#support", + { + autoAlpha: 0, + }, + { + autoAlpha: 1, + duration: 2, + ease: "Linear.easeNone", + } + ) document.body.scrollTop = 0 // For Safari document.documentElement.scrollTop = 0 // For Chrome, Firefox, IE and Opera }, 3000) @@ -616,6 +628,9 @@ const IndexPage = () => { )} +

+ +
) : ( ""