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. 18
      app/view/main/Main.js

18
app/view/main/Main.js

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

Loading…
Cancel
Save