Adjust home screen layout
This commit is contained in:
parent
ebd4fcf2ce
commit
c7d571923c
|
@ -24,8 +24,10 @@ export default class About extends Component {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const classes = `${contentStyle.contentWrapper} ${style.about}`
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={contentStyle.contentWrapper, style.about} >
|
<div className={classes} >
|
||||||
<Header header={'About Me'} />
|
<Header header={'About Me'} />
|
||||||
<div className={contentStyle.content} dangerouslySetInnerHTML={{ __html: result }}>
|
<div className={contentStyle.content} dangerouslySetInnerHTML={{ __html: result }}>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,8 +34,10 @@ export default class Blog extends Component {
|
||||||
</tr>
|
</tr>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const classes = `${contentStyle.contentWrapper} ${styles.blog}`
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={contentStyle.contentWrapper, styles.blog} id="blog">
|
<div className={classes} id="blog">
|
||||||
<Header header={'Blog'} />
|
<Header header={'Blog'} />
|
||||||
|
|
||||||
<div className={contentStyle.content}>
|
<div className={contentStyle.content}>
|
||||||
|
|
|
@ -7,5 +7,7 @@
|
||||||
.flexWrap {
|
.flexWrap {
|
||||||
@media only screen and (min-width: $break-large) {
|
@media only screen and (min-width: $break-large) {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue