2018-11-16 14:08:38 +05:30
|
|
|
import { remote } from 'electron';
|
2018-11-05 14:44:19 +05:30
|
|
|
import * as React from 'react';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Window that display app version and copyright info
|
|
|
|
|
*/
|
|
|
|
|
export default class LoadingScreen extends React.PureComponent {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* main render function
|
|
|
|
|
*/
|
|
|
|
|
public render() {
|
|
|
|
|
const appName = remote.app.getName() || 'Symphony';
|
|
|
|
|
return (
|
2018-11-16 14:08:38 +05:30
|
|
|
<div className='LoadingScreen'>
|
|
|
|
|
<img className='LoadingScreen-logo' src='assets/symphony-logo.png' />
|
|
|
|
|
<span id='LoadingScreen-appName' className='name'>{appName}</span>
|
2018-11-05 14:44:19 +05:30
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|