Fix styles on welcome page with system theme detection

This commit is contained in:
Marquis Kurt 2019-04-21 14:32:49 -04:00
parent fd617210eb
commit fc53bdf1f4
2 changed files with 5 additions and 2 deletions

View File

@ -319,7 +319,7 @@ class WelcomePage extends Component<any, IWelcomeState> {
</Fade>
<br/>
<Typography variant="caption">
&copy; 2019 <Link href="https://hyperspace.marquiskurt.net" target="_blank" rel="noreferrer">Hyperspace</Link> developers. All rights reserved.
&copy; {new Date().getFullYear()} {this.state.brandName && this.state.brandName !== "Hyperspace"? `${this.state.brandName} developers and the `: ""}<Link href="https://hyperspace.marquiskurt.net" target="_blank" rel="noreferrer">Hyperspace</Link> developers. All rights reserved.
</Typography>
<Typography variant="caption">
{ this.state.repo? <span><Link href={this.state.repo? this.state.repo: "https://github.com/hyperspacedev"} target="_blank" rel="noreferrer">Source code</Link> | </span>: null}<Link href={this.state.license? this.state.license: "https://www.apache.org/licenses/LICENSE-2.0"} target="_blank" rel="noreferrer">License</Link> | <Link href="https://github.com/hyperspacedev/hyperspace/issues/new" target="_blank" rel="noreferrer">File an Issue</Link>

View File

@ -33,7 +33,10 @@ export const styles = (theme: Theme) => createStyles({
paddingLeft: theme.spacing.unit * 4,
paddingRight: theme.spacing.unit * 4,
paddingBottom: theme.spacing.unit * 6,
textAlign: 'center'
textAlign: 'center',
'& a': {
color: theme.palette.primary.light
}
},
flexGrow: {
flexGrow: 1