diff --git a/public/ipcHandlers.js b/public/ipcHandlers.js index b7df61b..edaf910 100644 --- a/public/ipcHandlers.js +++ b/public/ipcHandlers.js @@ -47,6 +47,10 @@ ipcMain.on('get-about-info', (event) => { version: app.getVersion() }, versions: process.versions, + links: [ + { name: 'GitHub', link: 'https://github.com/jalenng/twenty', iconName: 'GitGraph' }, + { name: 'Website', link: 'https://jalenng.github.io/twenty', iconName: 'Globe' } + ], openSourceLibraries: [ { name: '@fluentui/react', link: 'https://github.com/microsoft/fluentui' }, { name: 'electron', link: 'https://github.com/electron/electron' }, diff --git a/src/preferences/tabs/About.js b/src/preferences/tabs/About.js index d62db5e..524835e 100644 --- a/src/preferences/tabs/About.js +++ b/src/preferences/tabs/About.js @@ -47,6 +47,7 @@ export default class extends React.Component { render () { const appInfo = aboutAppInfo.appInfo const versions = aboutAppInfo.versions + const links = aboutAppInfo.links const openSourceLibraries = aboutAppInfo.openSourceLibraries const licenseParagraphs = this.state.licenseExpanded ? aboutAppInfo.license @@ -99,6 +100,27 @@ export default class extends React.Component { + {/* Links */} + + Links + +
+ + {links.map(linkElem => { + return ( + openExternalLink(linkElem.link)} + /> + ) + })} + +
+
+ {/* Attributions to open-source libraries */} Open source libraries