Skip to content

Commit

Permalink
feat: adding sponsors page
Browse files Browse the repository at this point in the history
  • Loading branch information
afshinm committed Sep 7, 2020
1 parent 2246084 commit bd4abb7
Show file tree
Hide file tree
Showing 7 changed files with 1,221 additions and 853 deletions.
20 changes: 20 additions & 0 deletions docs/sponsors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
id: sponsors
title: Sponsors
---

Grid.js is an open-source, MIT licensed, software and is completely free to use and distribute.
However, the amount of effort needed to maintain and develop Grid.js is not sustainable without your support. Please
consider supporting Grid.js via the following methods.

## OpenCollective

<a href="https://opencollective.com/gridjs/donate" target="_blank">
<img src="https://opencollective.com/gridjs/donate/[email protected]?color=blue" width="300" />
</a>

## One-time donation

<a href="https://www.paypal.me/afshinmeh" target="_blank" rel="noopener">
<img src="/img/paypal.png" width="100" />
</a>
3 changes: 3 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ module.exports = {
label: 'Examples',
position: 'left'
},
{
to: 'docs/sponsors', label: 'Support Grid.js', position: 'left'
},
{
to: 'docs/community', label: 'Community', position: 'left'
},
Expand Down
2,037 changes: 1,189 additions & 848 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"deploy": "docusaurus deploy"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.61",
"@docusaurus/preset-classic": "^2.0.0-alpha.61",
"@docusaurus/theme-live-codeblock": "^2.0.0-alpha.39",
"@docusaurus/core": "^2.0.0-alpha.63",
"@docusaurus/preset-classic": "^2.0.0-alpha.63",
"@docusaurus/theme-live-codeblock": "^2.0.0-alpha.63",
"chartist": "^0.11.4",
"classnames": "^2.2.6",
"emotion": "^10.0.27",
"faker": "^4.1.0",
"gridjs": "file:../gridjs",
"gridjs-react": "^1.15.1",
"gridjs-react": "^1.16.0",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
Expand Down
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
sidebar: {
"👋 Introduction": ['index', 'philosophy', 'roadmap', 'community', 'license'],
"👋 Introduction": ['index', 'philosophy', 'sponsors', 'roadmap', 'community', 'license'],
"💁 Usage": [
'install',
'hello-world',
Expand Down
4 changes: 4 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ function Header() {
className="font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition duration-150 ease-in-out">Install</a>
<a href="/docs/index"
className="ml-10 font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition duration-150 ease-in-out">Documentation</a>
<a href="/docs/sponsors"
className="ml-10 font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition duration-150 ease-in-out">Sponsors</a>
<a href="/docs/community"
className="ml-10 font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition duration-150 ease-in-out">Community</a>
<a href="https://github.com/grid-js/gridjs"
Expand Down Expand Up @@ -210,6 +212,8 @@ function Header() {
className="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:text-gray-900 focus:bg-gray-50 transition duration-150 ease-in-out">Install</a>
<a href="/docs/index"
className="mt-1 block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:text-gray-900 focus:bg-gray-50 transition duration-150 ease-in-out">Documentation</a>
<a href="/docs/sponsors"
className="mt-1 block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:text-gray-900 focus:bg-gray-50 transition duration-150 ease-in-out">Sponsors</a>
<a href="/docs/community"
className="mt-1 block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:text-gray-900 focus:bg-gray-50 transition duration-150 ease-in-out">Community</a>
<a href="https://github.com/grid-js/gridjs"
Expand Down
Binary file added static/img/paypal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bd4abb7

Please sign in to comment.