-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Info panel
- Loading branch information
Showing
35 changed files
with
1,432 additions
and
1,074 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './LightbublFullIcon'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from './icon'; | ||
export * from './menu'; | ||
export * from './page'; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './LeftMenu'; |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
client/components/Layout.tsx → ...modules/common/components/page/Layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
client/components/index.ts → ...t/modules/common/components/page/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
export * from './AppFrame'; | ||
export * from './Content'; | ||
export * from './Layout'; | ||
export * from './LeftMenu'; | ||
export * from './LightbublFullIcon'; | ||
export * from './TopBar'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './components'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import {Paper, Typography, withStyles} from '@material-ui/core'; | ||
import * as React from 'react'; | ||
import {FormattedMessage} from 'react-intl'; | ||
import {Lang} from '../../../Lang'; | ||
|
||
interface Props {} | ||
|
||
const decorate = withStyles((theme) => ({ | ||
root: { | ||
padding: theme.spacing.unit, | ||
}, | ||
|
||
description: { | ||
paddingTop: theme.spacing.unit, | ||
}, | ||
|
||
iconLinkWrapper: { | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'space-between', | ||
padding: theme.spacing.unit, | ||
}, | ||
|
||
iconLink: { | ||
textDecoration: 'none', | ||
color: theme.palette.secondary.main, | ||
paddingRight: theme.spacing.unit, | ||
}, | ||
})); | ||
|
||
export const InfoPaper = decorate<Props>(({classes}) => { | ||
return ( | ||
<Paper className={classes.root}> | ||
<FormattedMessage id={Lang.INFO_TITLE}>{(msg) => <Typography variant="subheading">{msg}</Typography>}</FormattedMessage> | ||
<FormattedMessage id={Lang.INFO_DESCRIPTION}> | ||
{(msg) => ( | ||
<Typography variant="caption" className={classes.description}> | ||
{msg} | ||
</Typography> | ||
)} | ||
</FormattedMessage> | ||
|
||
<div className={classes.iconLinkWrapper}> | ||
<a href={'https://apitree.cz'} target="_blank" className={classes.iconLink}> | ||
<img src="/static/images/logo.svg" height={40} /> | ||
</a> | ||
<div> | ||
<a href={'https://github.com/ApiTreeCZ/alda'} target="_blank" className={classes.iconLink}> | ||
<i className={`fab fa-github-square fa-2x`} /> | ||
</a> | ||
<a href={'https://alesdostal.blogspot.com'} target="_blank" className={classes.iconLink}> | ||
<i className={`fab fa-blogger fa-2x`} /> | ||
</a> | ||
<a href={'https://www.facebook.com/ApiTree.cz'} target="_blank" className={classes.iconLink}> | ||
<i className={`fab fa-facebook-square fa-2x`} /> | ||
</a> | ||
</div> | ||
</div> | ||
</Paper> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './AboutPaper'; | ||
export * from './InfoPaper'; | ||
export * from './TechCard'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import {PaletteOptions} from '@material-ui/core/styles/createPalette'; | ||
|
||
const light = { | ||
type: 'light', | ||
primary: { | ||
main: '#007985', | ||
light: '#4ca8b5', | ||
dark: '#004d58', | ||
contrastText: '#fff', | ||
}, | ||
secondary: { | ||
main: '#00a651', | ||
light: '#54d97f', | ||
dark: '#007625', | ||
contrastText: '#fff', | ||
}, | ||
custom: { | ||
green: { | ||
main: '#4caf50', | ||
light: '#80e27e', | ||
dark: '#087f23', | ||
contrastText: '#fff', | ||
}, | ||
orange: { | ||
main: '#ff9800', | ||
light: '#ffc947', | ||
dark: '#c66900', | ||
contrastText: '#000', | ||
}, | ||
indigo: { | ||
main: '#3f51b5', | ||
light: '#757de8', | ||
dark: '#002984', | ||
contrastText: '#fff', | ||
}, | ||
brown: { | ||
main: '#795548', | ||
light: '#a98274', | ||
dark: '#4b2c20', | ||
contrastText: '#fff', | ||
}, | ||
}, | ||
background: { | ||
default: '#f1f1f1', | ||
}, | ||
} as PaletteOptions; | ||
|
||
const dark = { | ||
type: 'dark', | ||
primary: { | ||
main: '#007985', | ||
light: '#4ca8b5', | ||
dark: '#004d58', | ||
contrastText: '#fff', | ||
}, | ||
secondary: { | ||
main: '#00a651', | ||
light: '#54d97f', | ||
dark: '#007625', | ||
contrastText: '#fff', | ||
}, | ||
custom: { | ||
green: { | ||
main: '#4caf50', | ||
light: '#80e27e', | ||
dark: '#087f23', | ||
contrastText: '#fff', | ||
}, | ||
orange: { | ||
main: '#ff9800', | ||
light: '#ffc947', | ||
dark: '#c66900', | ||
contrastText: '#000', | ||
}, | ||
indigo: { | ||
main: '#3f51b5', | ||
light: '#757de8', | ||
dark: '#002984', | ||
contrastText: '#fff', | ||
}, | ||
brown: { | ||
main: '#795548', | ||
light: '#a98274', | ||
dark: '#4b2c20', | ||
contrastText: '#fff', | ||
}, | ||
}, | ||
} as PaletteOptions; | ||
|
||
export const CustomPalette = { | ||
light, | ||
dark, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.