@ -1,5 +1,5 @@
< template lang = 'pug' >
< template lang = 'pug' >
v - container (fluid , grid - list - lg )
v - container .admin - contribute (fluid , grid - list - lg )
v - layout ( row , wrap )
v - layout ( row , wrap )
v - flex ( xs12 )
v - flex ( xs12 )
. admin - header
. admin - header
@ -16,18 +16,56 @@
. body - 1. pt - 3. pl - 3 { { $t ( 'admin:contribute.needYourHelp' ) } }
. body - 1. pt - 3. pl - 3 { { $t ( 'admin:contribute.needYourHelp' ) } }
v - divider . mt - 3
v - divider . mt - 3
v - subheader { { $t ( 'admin:contribute.fundOurWork' ) } }
v - subheader { { $t ( 'admin:contribute.fundOurWork' ) } }
. body - 1. pl - 3 { { $t ( 'admin:contribute.patreon' ) } }
v - tabs . mx - 3. radius - 7. admin - contribute - tabs (
v - card - actions . ml - 2
centered
a ( href = 'https://www.patreon.com/bePatron?u=16744039' , : title = '$t(`admin:contribute.becomeAPatron`)' )
fixed - tabs
color = 'primary'
dark
slider - color = '#FFF'
icons - and - text
)
v - tab
span Patreon
img ( src = '/svg/icon-patreon.svg' )
v - tab
span OpenCollective
img ( src = '/svg/icon-opencollective.svg' )
v - tab
span PayPal
img ( src = '/svg/icon-paypal.svg' )
v - tab
span Ethereum
img ( src = '/svg/icon-ethereum.svg' )
v - tab
span T - Shirts
img ( src = '/svg/icon-t-shirt.svg' )
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
. body - 1. pa - 3 { { $t ( 'admin:contribute.patreon' ) } }
a . ml - 3 ( href = 'https://www.patreon.com/bePatron?u=16744039' , : title = '$t(`admin:contribute.becomeAPatron`)' )
img ( src = '/img/become_a_patron_button.png' , : alt = '$t(`admin:contribute.becomeAPatron`)' style = 'width:200px;' )
img ( src = '/img/become_a_patron_button.png' , : alt = '$t(`admin:contribute.becomeAPatron`)' style = 'width:200px;' )
. body - 1. mt - 3. pl - 3 { { $t ( 'admin:contribute.openCollective' ) } }
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
v - card - actions . ml - 2
. body - 1. pa - 3 { { $t ( 'admin:contribute.openCollective' ) } }
v - btn ( outline , : color = 'darkMode ? `blue lighten-1` : `primary`' , href = 'https://opencollective.com/wikijs' )
a . ml - 3 ( href = 'https://opencollective.com/wikijs/donate' , : title = '$t(`admin:contribute.makeADonation`)' )
v - icon ( left ) local _atm
img ( src = 'https://opencollective.com/webpack/donate/button@2x.png?color=blue' , : alt = '$t(`admin:contribute.makeADonation`)' style = 'width:300px;' )
span { { $t ( 'admin:contribute.makeADonation' ) } }
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
. body - 1. mt - 3. pl - 3 { { $t ( 'admin:contribute.tshirts' ) } }
. body - 1. pa - 3 { { $t ( 'admin:contribute.paypal' ) } }
. 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' )
input ( type = 'image' , src = '/img/paypal_button.png' , border = '0' , name = 'submit' , title = 'PayPal - The safer, easier way to pay online!' , alt = 'Donate with PayPal button' )
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
div : img ( src = '/img/eth_donate_qr.png' )
v - tab - item ( : transition = 'false' , : reverse - transition = 'false' )
. body - 1. pa - 3 { { $t ( 'admin:contribute.tshirts' ) } }
v - card - actions . ml - 2
v - card - actions . ml - 2
v - btn ( outline , : color = 'darkMode ? `blue lighten-1` : `primary`' , href = 'https://wikijs.threadless.com' )
v - btn ( outline , : color = 'darkMode ? `blue lighten-1` : `primary`' , href = 'https://wikijs.threadless.com' , large )
v - icon ( left ) shopping _cart
v - icon ( left ) shopping _cart
span { { $t ( 'admin:contribute.shop' ) } }
span { { $t ( 'admin:contribute.shop' ) } }
v - divider . mt - 3
v - divider . mt - 3
@ -203,9 +241,31 @@ export default {
}
}
< / script >
< / script >
< style lang = 'scss' scoped >
< 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' ) ;
padding : 12 px ;
strong {
display : block ;
}
}
ul {
ul {
margin - left : 1 rem ;
margin - left : 1 rem ;
list - style - type : square ;
list - style - type : square ;
}
}
}
< / style >
< / style >