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
-
-
+
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 (
+ <>
+
+
+ Let the world know how you feel using this tool. Share with others
+ on twitter.
+
+ Buy me a ko-fi
+
+ {/* Paypal */}
+
+
+ Paypal
+
+ {/* BuyMeACoffee */}
+
+
+ Buy me a coffee
+
+
+
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 = () => {
)}
+