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,15 +5,16 @@ 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>
</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 = () => {
return (
<SEO title="Home"
children=""
description=""
/>
)
}
export const pageQuery = graphql`