Eugene Pankov před 4 roky
rodič
revize
0c8b6e56da

+ 4 - 0
tabby-core/src/services/homeBase.service.ts

@@ -31,6 +31,10 @@ export class HomeBaseService {
         this.platform.openExternal('https://github.com/Eugeny/tabby/discussions')
     }
 
+    openTwitter (): void {
+        this.platform.openExternal('https://twitter.com/eugeeeeny')
+    }
+
     reportBug (): void {
         let body = `Version: ${this.appVersion}\n`
         body += `Platform: ${this.hostApp.platform} ${process.arch} ${this.platform.getOSRelease()}\n`

+ 6 - 0
tabby-settings/src/components/settingsTab.component.pug

@@ -58,6 +58,12 @@
                                         div What's new
                                         small.text-muted Show release notes
 
+                                button.list-group-item.list-group-item-action.link-card((click)='homeBase.openTwitter()')
+                                    i.fab.fa-fw.fa-twitter
+                                    div
+                                        div Subscribe to updates
+                                        small.text-muted Tabby news and updates on Twitter
+
 
                     h3 Application settings
                     .form-line(*ngIf='platform.isShellIntegrationSupported()')