[Resolved] build on home page & css import.
This commit is contained in:
@@ -3,13 +3,31 @@
|
|||||||
"public": "build",
|
"public": "build",
|
||||||
"headers": [
|
"headers": [
|
||||||
{
|
{
|
||||||
"source": "**",
|
"source": "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Access-Control-Allow-Origin",
|
||||||
|
"value": "*"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "**/*.@(jpg|jpeg|gif|png)",
|
||||||
"headers": [
|
"headers": [
|
||||||
{
|
{
|
||||||
"key": "Cache-Control",
|
"key": "Cache-Control",
|
||||||
"value": "max-age=7200"
|
"value": "max-age=7200"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "**/*.js",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Cache-Control",
|
||||||
|
"value": "no-cache"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rewrites": [
|
"rewrites": [
|
||||||
|
|||||||
@@ -128,6 +128,5 @@
|
|||||||
],
|
],
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Qolzam/react-social-network/issues"
|
"url": "https://github.com/Qolzam/react-social-network/issues"
|
||||||
},
|
}
|
||||||
"homepage": "https://github.com/Qolzam/react-social-network#readme"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ export class CircleComponent extends Component<ICircleComponentProps, ICircleCom
|
|||||||
<ListItemIcon className={classes.icon}>
|
<ListItemIcon className={classes.icon}>
|
||||||
<SvgGroup />
|
<SvgGroup />
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
<ListItemText inset primary={<span style={this.styles}>{this.props.circle.get('name')}</span>} />
|
<ListItemText inset primary={<span style={this.styles as any}>{this.props.circle.get('name')}</span>} />
|
||||||
<ListItemSecondaryAction>
|
<ListItemSecondaryAction>
|
||||||
{circle.get('isSystem') ? null : rightIconMenu}
|
{circle.get('isSystem') ? null : rightIconMenu}
|
||||||
</ListItemSecondaryAction>
|
</ListItemSecondaryAction>
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import PropTypes from 'prop-types'
|
|||||||
import { getTranslate, getActiveLanguage } from 'react-localize-redux'
|
import { getTranslate, getActiveLanguage } from 'react-localize-redux'
|
||||||
import moment from 'moment/moment'
|
import moment from 'moment/moment'
|
||||||
import DayPickerInput from 'react-day-picker/DayPickerInput'
|
import DayPickerInput from 'react-day-picker/DayPickerInput'
|
||||||
import 'react-day-picker/lib/style.css'
|
|
||||||
import MomentLocaleUtils, {
|
import MomentLocaleUtils, {
|
||||||
formatDate,
|
formatDate,
|
||||||
parseDate,
|
parseDate,
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@import url(~react-day-picker/lib/style.css);
|
||||||
.grid {
|
.grid {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@import "~react-day-picker/lib/style.css";
|
||||||
@import "base/variables";
|
@import "base/variables";
|
||||||
@import 'base/grid';
|
@import 'base/grid';
|
||||||
@import 'base/animate';
|
@import 'base/animate';
|
||||||
|
|||||||
Reference in New Issue
Block a user