diff --git a/website/core/Footer.js b/website/core/Footer.js
index 705188f3..8f1c1759 100644
--- a/website/core/Footer.js
+++ b/website/core/Footer.js
@@ -51,7 +51,7 @@ class Footer extends React.Component {
More
-
+
{this.props.config.copyright}
);
diff --git a/website/i18n/en.json b/website/i18n/en.json
index eab1b7d1..c6232b39 100644
--- a/website/i18n/en.json
+++ b/website/i18n/en.json
@@ -61,7 +61,8 @@
"Docs": "Docs",
"Guides": "Guides",
"Nodes": "Nodes",
- "GitHub": "GitHub"
+ "GitHub": "GitHub",
+ "Sponsorship": "Sponsorship"
},
"categories": {
"Getting Started": "Getting Started",
diff --git a/website/pages/en/index.js b/website/pages/en/index.js
index cc0bdcaa..117ba514 100644
--- a/website/pages/en/index.js
+++ b/website/pages/en/index.js
@@ -111,6 +111,20 @@ class Index extends React.Component {
);
+ const Sponsorship = () => (
+
+
Sponsorship
+
+ Sponsoring always helps a lot to maintain Diagrams. Thank you :)
+
+
+
+
+
+ );
+
const Example = () => (
{[
@@ -148,6 +162,7 @@ class Index extends React.Component {
+
);
diff --git a/website/siteConfig.js b/website/siteConfig.js
index aea9355c..16cce1cc 100644
--- a/website/siteConfig.js
+++ b/website/siteConfig.js
@@ -22,6 +22,7 @@ const siteConfig = {
{doc: 'guides/diagram', label: 'Guides'},
{doc: 'nodes/aws', label: 'Nodes'},
{href: 'https://github.com/mingrammer/diagrams', label: 'GitHub'},
+ {href: 'https://www.buymeacoffee.com/mingrammer', label: 'Sponsoring'},
],
headerIcon: 'img/diagrams.ico',
diff --git a/website/static/css/custom.css b/website/static/css/custom.css
index 01aa4ed3..235f6269 100644
--- a/website/static/css/custom.css
+++ b/website/static/css/custom.css
@@ -20,4 +20,8 @@
}
@media only screen and (min-width: 1500px) {
+}
+
+#buymeacoffee {
+ height: 50px;
}
\ No newline at end of file