Browse Source

Add sponsorship buttons.

pull/3202/head
TheGoddessInari 5 years ago
parent
commit
f675bf296a
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 28
      app/view/main/Main.js

28
app/view/main/Main.js

@ -26,13 +26,22 @@ Ext.define('Hamsket.view.main.Main', {
,autoShow: true ,autoShow: true
,deferredRender: false ,deferredRender: false
,tabBar: { ,tabBar: {
items: [{ items: [
xtype: 'button' {
,html: '<span class="fa fa-heart" style="color:red;font-size:16px;cursor:pointer;padding:0 5px;"></span>' xtype: 'button'
,baseCls: '' ,html: '<span class="fa fa-heart" style="color:red;font-size:16px;cursor:pointer;padding:0 5px;"></span>'
,tooltip: locale['app.main[25]'] ,baseCls: ''
,href: 'https://www.gofundme.com/Hamsket' ,tooltip: locale['app.main[25]']
}] ,href: 'https://www.gofundme.com/Hamsket'
},
{
xtype: 'button'
,html: '<span class="fa fa-user-plus" style="color:red;font-size:16px;cursor:pointer;padding:0 5px;"></span>'
,baseCls: ''
,tooltip: 'Sponsor'
,href: 'https://github.com/sponsors/TheGoddessInari/'
}
]
} }
,items: [ ,items: [
{ {
@ -290,6 +299,11 @@ Ext.define('Hamsket.view.main.Main', {
,glyph: 'XF21E@FontAwesome' ,glyph: 'XF21E@FontAwesome'
,href: 'https://www.gofundme.com/Hamsket' ,href: 'https://www.gofundme.com/Hamsket'
} }
,{
text: 'Sponsor'
,glyph: 'XF234@FontAwesome'
,href: 'https://github.com/sponsors/TheGoddessInari'
}
] ]
/* TODO: Translation /* TODO: Translation
,{ ,{

Loading…
Cancel
Save