2018-04-14 19:22:45 +00:00
< template lang = 'pug' >
2019-04-12 20:58:27 +00:00
v - container . admin - contribute ( fluid , grid - list - lg )
2018-09-30 03:30:20 +00:00
v - layout ( row , wrap )
v - flex ( xs12 )
. admin - header
2019-04-07 16:37:33 +00:00
img . animated . fadeInUp ( src = '/svg/icon-heart-health.svg' , alt = 'Contribute' , style = 'width: 80px;' )
2018-09-30 03:30:20 +00:00
. admin - header - title
2019-04-07 16:37:33 +00:00
. headline . primary -- text . animated . fadeInLeft { { $t ( 'admin:contribute.title' ) } }
2019-08-03 04:48:55 +00:00
. subtitle - 1. grey -- text . animated . fadeInLeft . wait - p4s { { $t ( 'admin:contribute.subtitle' ) } }
2019-04-07 16:37:33 +00:00
v - card . mt - 3. animated . fadeInUp
2018-09-30 03:30:20 +00:00
v - card - text
2019-08-03 04:48:55 +00:00
i18next . body - 2. pl - 3 ( path = 'admin:contribute.openSource' , tag = 'div' )
v - icon ( color = 'red' ) mdi - heart
2018-09-30 03:30:20 +00:00
a ( href = 'https://requarks.io' , target = '_blank' ) requarks . io
a ( href = 'https://github.com/Requarks/wiki/graphs/contributors' , target = '_blank' ) { { $t ( 'admin:contribute.openSourceContributors' ) } }
2019-08-03 04:48:55 +00:00
. body - 2. pt - 3. pl - 3 { { $t ( 'admin:contribute.needYourHelp' ) } }
2018-09-30 03:30:20 +00:00
v - divider . mt - 3
2019-08-03 04:48:55 +00:00
v - subheader . subtitle - 2 { { $t ( 'admin:contribute.fundOurWork' ) } }
2019-04-12 20:58:27 +00:00
v - tabs . mx - 3. radius - 7. admin - contribute - tabs (
centered
fixed - tabs
2019-08-03 04:48:55 +00:00
background - color = 'primary'
color = 'white'
2019-04-12 20:58:27 +00:00
dark
slider - color = '#FFF'
icons - and - text
)
v - tab
span Patreon
2019-08-03 04:48:55 +00:00
img . my - 1 ( src = '/svg/icon-patreon.svg' , style = 'height: 24px;' )
2019-04-12 20:58:27 +00:00
v - tab
span OpenCollective
2019-08-03 04:48:55 +00:00
img . my - 1 ( src = '/svg/icon-opencollective.svg' , style = 'height: 24px;' )
2019-04-12 20:58:27 +00:00
v - tab
span PayPal
2019-08-03 04:48:55 +00:00
img . my - 1 ( src = '/svg/icon-paypal.svg' , style = 'height: 24px;' )
2019-04-12 20:58:27 +00:00
v - tab
span Ethereum
2019-08-03 04:48:55 +00:00
img . my - 1 ( src = '/svg/icon-ethereum.svg' , style = 'height: 24px;' )
2019-04-12 20:58:27 +00:00
v - tab
span T - Shirts
2019-08-03 04:48:55 +00:00
img . my - 1 ( src = '/svg/icon-t-shirt.svg' , style = 'height: 24px;' )
2019-04-12 20:58:27 +00:00
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
2019-08-03 04:48:55 +00:00
. body - 2. pa - 3 { { $t ( 'admin:contribute.patreon' ) } }
2019-04-12 20:58:27 +00:00
a . ml - 3 ( href = 'https://www.patreon.com/bePatron?u=16744039' , : title = '$t(`admin:contribute.becomeAPatron`)' )
2019-04-19 22:29:43 +00:00
img ( src = '/img/donate_patreon.png' , : alt = '$t(`admin:contribute.becomeAPatron`)' style = 'width:200px;' )
2019-04-12 20:58:27 +00:00
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
2019-08-03 04:48:55 +00:00
. body - 2. pa - 3 { { $t ( 'admin:contribute.openCollective' ) } }
2019-04-12 20:58:27 +00:00
a . ml - 3 ( href = 'https://opencollective.com/wikijs/donate' , : title = '$t(`admin:contribute.makeADonation`)' )
2019-04-19 22:29:43 +00:00
img ( src = '/img/donate_opencollective.png' , : alt = '$t(`admin:contribute.makeADonation`)' style = 'width:300px;' )
2019-04-12 20:58:27 +00:00
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
2019-08-03 04:48:55 +00:00
. body - 2. pa - 3 { { $t ( 'admin:contribute.paypal' ) } }
2019-04-12 20:58:27 +00:00
. ml - 3
form ( action = 'https://www.paypal.com/cgi-bin/webscr' , method = 'post' , target = '_top' )
input ( type = 'hidden' , name = 'cmd' , value = '_s-xclick' )
input ( type = 'hidden' , name = 'hosted_button_id' , value = 'FLV5X255Z9CJU' )
2019-04-19 22:29:43 +00:00
input ( type = 'image' , src = '/img/donate_paypal.png' , border = '0' , name = 'submit' , title = 'PayPal - The safer, easier way to pay online!' , alt = 'Donate with PayPal button' )
2019-04-12 20:58:27 +00:00
img ( alt = '' , border = '0' , src = 'https://www.paypal.com/en_CA/i/scr/pixel.gif' , width = '1' , height = '1' )
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
. body - 1. pa - 3 { { $t ( 'admin:contribute.ethereum' ) } }
. ml - 3
. admin - contribute - ethaddress
strong Ethereum Address
span 0xE1d55C19aE86f6Bcbfb17e7f06aCe96BdBb22Cb5
2019-04-19 22:29:43 +00:00
div : img ( src = '/img/donate_eth_qr.png' )
2019-04-12 20:58:27 +00:00
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
. body - 1. pa - 3 { { $t ( 'admin:contribute.tshirts' ) } }
v - card - actions . ml - 2
v - btn ( outline , : color = 'darkMode ? `blue lighten-1` : `primary`' , href = 'https://wikijs.threadless.com' , large )
2019-08-03 04:48:55 +00:00
v - icon ( left ) mdi - tshirt - crew
2019-04-12 20:58:27 +00:00
span { { $t ( 'admin:contribute.shop' ) } }
2018-09-30 03:30:20 +00:00
v - divider . mt - 3
2019-08-03 04:48:55 +00:00
v - subheader . subtitle - 2 { { $t ( 'admin:contribute.contribute' ) } }
. body - 2. pl - 3
2018-09-30 03:30:20 +00:00
ul
i18next ( path = 'admin:contribute.submitAnIdea' , tag = 'li' )
2019-06-10 03:39:37 +00:00
a ( href = 'https://wiki.js.org/feedback' , target = '_blank' ) { { $t ( 'admin:contribute.submitAnIdeaLink' ) } }
2018-09-30 03:30:20 +00:00
i18next ( path = 'admin:contribute.foundABug' , tag = 'li' )
a ( href = 'https://github.com/Requarks/wiki/issues' , target = '_blank' ) Github
i18next ( path = 'admin:contribute.helpTranslate' , tag = 'li' )
2019-06-10 03:39:37 +00:00
a ( href = 'https://wiki.requarks.io/slack' , target = '_blank' ) Slack
2018-09-30 03:30:20 +00:00
v - divider . mt - 3
2019-08-03 04:48:55 +00:00
v - subheader . subtitle - 2 { { $t ( 'admin:contribute.spreadTheWord' ) } }
. body - 2. pl - 3
2018-09-30 03:30:20 +00:00
ul
li { { $t ( 'admin:contribute.talkToFriends' ) } }
i18next ( path = 'admin:contribute.followUsOnTwitter' , tag = 'li' )
a ( href = 'https://twitter.com/requarks' , target = '_blank' ) Twitter
v - toolbar ( color = 'teal' , dense , dark )
2019-08-03 04:48:55 +00:00
. subtitle - 1 Sponsors
2018-09-30 03:30:20 +00:00
v - spacer
2019-08-03 04:48:55 +00:00
v - btn ( outlined , small , href = 'https://opencollective.com/wikijs/order/1273' ) Become a Sponsor
2018-12-17 05:51:52 +00:00
v - list ( two - line )
2018-09-30 03:30:20 +00:00
template ( v - for = '(sponsor, idx) in sponsors' )
2019-07-29 04:50:03 +00:00
v - list - item ( : key = 'sponsor.id' )
v - list - item - avatar
2018-09-30 03:30:20 +00:00
img ( v - if = 'sponsor.image' , : src = 'sponsor.image' )
v - avatar ( v - else , color = 'teal' , size = '40' )
2019-08-03 04:48:55 +00:00
span . white -- text . subtitle - 1 { { sponsor . name [ 0 ] . toUpperCase ( ) } }
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title { { sponsor . name } }
2019-08-03 04:48:55 +00:00
v - list - item - subtitle { { sponsor . description } }
2019-07-29 04:50:03 +00:00
v - list - item - action ( v - if = 'sponsor.twitter' )
2018-09-30 03:30:20 +00:00
v - btn ( icon , : href = 'sponsor.twitter' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon mdi - twitter
2019-07-29 04:50:03 +00:00
v - list - item - action ( v - if = 'sponsor.website' )
2018-09-30 03:30:20 +00:00
v - btn ( icon , : href = 'sponsor.website' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2018-09-30 03:30:20 +00:00
v - divider ( v - if = 'idx < sponsors.length - 1' )
v - toolbar ( color = 'blue-grey' , dense , dark )
2019-08-03 04:48:55 +00:00
. subtitle - 1 Backers
2018-09-30 03:30:20 +00:00
v - spacer
2019-08-03 04:48:55 +00:00
v - btn ( outlined , small , href = 'https://opencollective.com/wikijs/order/1272' ) Become a Backer
2018-09-30 03:30:20 +00:00
v - list ( two - line , dense )
template ( v - for = '(backer, idx) in backers' )
2019-07-29 04:50:03 +00:00
v - list - item ( : key = 'backer.id' )
v - list - item - avatar
2018-09-30 03:30:20 +00:00
img ( v - if = 'backer.image' , : src = 'backer.image' )
v - avatar ( v - else , color = 'blue-grey' , size = '40' )
2019-08-03 04:48:55 +00:00
span . white -- text . subtitle - 1 { { backer . name [ 0 ] . toUpperCase ( ) } }
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title { { backer . name } }
2019-08-03 04:48:55 +00:00
v - list - item - subtitle { { backer . description } }
2019-07-29 04:50:03 +00:00
v - list - item - action ( v - if = 'backer.twitter' )
2018-09-30 03:30:20 +00:00
v - btn ( icon , : href = 'backer.twitter' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon mdi - twitter
2019-07-29 04:50:03 +00:00
v - list - item - action ( v - if = 'backer.website' )
2018-09-30 03:30:20 +00:00
v - btn ( icon , : href = 'backer.website' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2018-09-30 03:30:20 +00:00
v - divider ( v - if = 'idx < backers.length - 1' )
2018-12-17 05:51:52 +00:00
v - toolbar ( color = 'primary' , dense , dark )
2019-08-03 04:48:55 +00:00
. subtitle - 1 Special Thanks
2018-12-17 05:51:52 +00:00
v - list ( two - line )
2019-07-29 04:50:03 +00:00
v - list - item
v - list - item - avatar
2018-12-17 05:51:52 +00:00
img ( src = 'https://static.requarks.io/logo/algolia.svg' , alt = 'Algolia' )
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title Algolia
2019-08-03 04:48:55 +00:00
v - list - item - subtitle Algolia is a powerful search - as - a - service solution , made easy to use with API clients , UI libraries , and pre - built integrations .
2019-07-29 04:50:03 +00:00
v - list - item - action
2018-12-17 05:51:52 +00:00
v - btn ( icon , href = 'https://www.algolia.com/' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2018-12-17 05:51:52 +00:00
v - divider
2019-07-29 04:50:03 +00:00
v - list - item
v - list - item - avatar
2018-12-17 05:51:52 +00:00
img ( src = 'https://static.requarks.io/logo/browserstack.svg' , alt = 'Browserstack' )
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title BrowserStack
2019-08-03 04:48:55 +00:00
v - list - item - subtitle BrowserStack is a cloud web and mobile testing platform that enables developers to test their websites and mobile applications .
2019-07-29 04:50:03 +00:00
v - list - item - action
2018-12-17 05:51:52 +00:00
v - btn ( icon , href = 'https://www.browserstack.com/' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2018-12-17 05:51:52 +00:00
v - divider
2019-07-29 04:50:03 +00:00
v - list - item
v - list - item - avatar
2018-12-17 05:51:52 +00:00
img ( src = 'https://static.requarks.io/logo/cloudflare.svg' , alt = 'Cloudflare' )
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title Cloudflare
2019-08-03 04:48:55 +00:00
v - list - item - subtitle Providing content delivery network services , DDoS mitigation , Internet security and distributed domain name server services .
2019-07-29 04:50:03 +00:00
v - list - item - action
2018-12-17 05:51:52 +00:00
v - btn ( icon , href = 'https://www.cloudflare.com/' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2018-12-17 05:51:52 +00:00
v - divider
2019-07-29 04:50:03 +00:00
v - list - item
v - list - item - avatar
2018-12-17 05:51:52 +00:00
img ( src = 'https://static.requarks.io/logo/digitalocean.svg' , alt = 'DigitalOcean' )
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title DigitalOcean
2019-08-03 04:48:55 +00:00
v - list - item - subtitle Providing developers and businesses a reliable , easy - to - use cloud computing platform of virtual servers ( Droplets ) , object storage ( Spaces ) , and more .
2019-07-29 04:50:03 +00:00
v - list - item - action
2018-12-17 05:51:52 +00:00
v - btn ( icon , href = 'https://m.do.co/c/5f7445bfa4d0' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2018-12-17 05:51:52 +00:00
v - divider
2019-07-29 04:50:03 +00:00
v - list - item
v - list - item - avatar ( tile )
2018-12-17 05:51:52 +00:00
img ( src = '/svg/logo-icons8.svg' , alt = 'Icons8' )
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title Icons8
2019-08-03 04:48:55 +00:00
v - list - item - subtitle All the Icons You Need . Guaranteed .
2019-07-29 04:50:03 +00:00
v - list - item - action
2018-12-17 05:51:52 +00:00
v - btn ( icon , href = 'https://icons8.com' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2019-02-23 23:22:25 +00:00
v - divider
2019-07-29 04:50:03 +00:00
v - list - item
v - list - item - avatar ( tile )
2019-02-23 23:22:25 +00:00
img ( src = 'https://static.requarks.io/logo/lokalise.png' , alt = 'Lokalise' )
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title Lokalise
2019-08-03 04:48:55 +00:00
v - list - item - subtitle Lokalise is a translation management system built for agile teams who want to automate their localization process .
2019-07-29 04:50:03 +00:00
v - list - item - action
2019-02-23 23:22:25 +00:00
v - btn ( icon , href = 'https://lokalise.co' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2019-03-09 05:51:02 +00:00
v - divider
2019-07-29 04:50:03 +00:00
v - list - item
v - list - item - avatar ( tile )
2019-03-09 05:51:02 +00:00
img ( src = 'https://static.requarks.io/logo/netlify.svg' , alt = 'Netlify' )
2019-07-29 04:50:03 +00:00
v - list - item - content
v - list - item - title Netlify
2019-08-03 04:48:55 +00:00
v - list - item - subtitle Deploy modern static websites with Netlify . Get CDN , Continuous deployment , 1 - click HTTPS , and all the services you need .
2019-07-29 04:50:03 +00:00
v - list - item - action
2019-03-09 05:51:02 +00:00
v - btn ( icon , href = 'https://wwwnetlify.com' , target = '_blank' )
2019-08-03 04:48:55 +00:00
v - icon ( color = 'grey' ) mdi - earth
2018-04-14 19:22:45 +00:00
< / template >
< script >
2018-09-22 15:27:48 +00:00
import _ from 'lodash'
2018-12-02 04:03:14 +00:00
import { get } from 'vuex-pathify'
2018-09-22 15:27:48 +00:00
import groupsQuery from 'gql/admin/contribute/contribute-query-contributors.gql'
2018-04-14 19:22:45 +00:00
export default {
2018-09-22 15:27:48 +00:00
data ( ) {
return {
contributors : [ ]
}
} ,
computed : {
2018-12-02 04:03:14 +00:00
darkMode : get ( 'site/dark' ) ,
2018-09-22 15:27:48 +00:00
sponsors ( ) {
return _ . filter ( this . contributors , [ 'tier' , 'sponsors' ] )
} ,
backers ( ) {
return _ . reject ( this . contributors , [ 'tier' , 'sponsors' ] )
}
} ,
apollo : {
contributors : {
query : groupsQuery ,
fetchPolicy : 'network-only' ,
update : ( data ) => data . contribute . contributors ,
watchLoading ( isLoading ) {
this . $store . commit ( ` loading ${ isLoading ? 'Start' : 'Stop' } ` , 'admin-contribute-refresh' )
}
}
}
2018-04-14 19:22:45 +00:00
}
< / script >
2019-04-12 20:58:27 +00:00
< style lang = 'scss' >
. admin - contribute {
& - tabs {
. v - tabs _ _item img {
height : 24 px ;
margin - bottom : 5 px ;
}
}
& - ethaddress {
display : inline - block ;
margin - bottom : 12 px ;
border - radius : 7 px ;
background - color : mc ( 'grey' , '100' ) ;
2019-08-10 16:18:14 +00:00
color : mc ( 'grey' , '700' ) ;
2019-04-12 20:58:27 +00:00
padding : 12 px ;
strong {
display : block ;
}
}
ul {
margin - left : 1 rem ;
list - style - type : square ;
}
2018-04-14 19:22:45 +00:00
}
< / style >