Compare commits
2 Commits
e58b955496
...
07c88c98b8
Author | SHA1 | Date | |
---|---|---|---|
07c88c98b8 | |||
6c56ed7ceb |
@ -5,14 +5,15 @@ import Header from '../Header';
|
|||||||
import './styles.scss';
|
import './styles.scss';
|
||||||
import '../../styles/code.scss';
|
import '../../styles/code.scss';
|
||||||
|
|
||||||
|
type baseType = {
|
||||||
|
children: React.ReactNode
|
||||||
|
}
|
||||||
|
|
||||||
const Base = ({ children }: any) => (
|
const Base = ({ children }: baseType) => (
|
||||||
<>
|
<>
|
||||||
<div className="ContainerMD">
|
<div className="ContainerMD">
|
||||||
<Header />
|
<Header />
|
||||||
<div style={{ marginTop: '2rem' }}>
|
<main>{children}</main>
|
||||||
<main>{children}</main>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
.HeaderBlock {
|
.HeaderBlock {
|
||||||
padding-top: 1em;
|
padding-top: 15%;
|
||||||
|
margin-bottom: 4%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LinkText {
|
.LinkText {
|
||||||
|
@ -50,10 +50,12 @@ const IndexPage = (props: articleListType) => {
|
|||||||
export default IndexPage;
|
export default IndexPage;
|
||||||
|
|
||||||
export const Head = () => {
|
export const Head = () => {
|
||||||
<SEO title="Home"
|
return (
|
||||||
children=""
|
<SEO title="Home"
|
||||||
description=""
|
children=""
|
||||||
/>
|
description=""
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export const pageQuery = graphql`
|
export const pageQuery = graphql`
|
||||||
|
Loading…
Reference in New Issue
Block a user