24 lines
597 B
TypeScript
24 lines
597 B
TypeScript
import React from 'react'
|
|
import SecondaryButton from '../SecondaryButton'
|
|
|
|
const SidebarFooter: React.FC = () => (
|
|
<div className="mx-3 flex items-center justify-between gap-2">
|
|
<SecondaryButton
|
|
title={'Discord'}
|
|
onClick={() =>
|
|
window.electronAPI?.openExternalUrl('https://discord.gg/AsJ8krTT3N')
|
|
}
|
|
className="flex-1"
|
|
/>
|
|
<SecondaryButton
|
|
title={'Twitter'}
|
|
onClick={() =>
|
|
window.electronAPI?.openExternalUrl('https://twitter.com/janhq_')
|
|
}
|
|
className="flex-1"
|
|
/>
|
|
</div>
|
|
)
|
|
|
|
export default React.memo(SidebarFooter)
|