Compare commits

...

2 Commits

Author SHA1 Message Date
nc
07c88c98b8 fix home seo 2023-02-19 19:53:47 +07:00
nc
6c56ed7ceb fix header styling 2023-02-19 19:47:46 +07:00
3 changed files with 13 additions and 9 deletions

View File

@ -5,14 +5,15 @@ import Header from '../Header';
import './styles.scss';
import '../../styles/code.scss';
type baseType = {
children: React.ReactNode
}
const Base = ({ children }: any) => (
const Base = ({ children }: baseType) => (
<>
<div className="ContainerMD">
<Header />
<div style={{ marginTop: '2rem' }}>
<main>{children}</main>
</div>
<main>{children}</main>
</div>
</>
);

View File

@ -1,5 +1,6 @@
.HeaderBlock {
padding-top: 1em;
padding-top: 15%;
margin-bottom: 4%;
}
.LinkText {

View File

@ -50,10 +50,12 @@ const IndexPage = (props: articleListType) => {
export default IndexPage;
export const Head = () => {
<SEO title="Home"
children=""
description=""
/>
return (
<SEO title="Home"
children=""
description=""
/>
)
}
export const pageQuery = graphql`