diff --git a/src/components/mdx/BlogPosts/BlogPosts.tsx b/src/components/mdx/BlogPosts/BlogPosts.tsx new file mode 100644 index 0000000..ad5b433 --- /dev/null +++ b/src/components/mdx/BlogPosts/BlogPosts.tsx @@ -0,0 +1,39 @@ +import React from 'react' +import clsx from 'clsx' +import styles from './style.module.scss' +import { Button } from '@site/src/components/Button' + +type TProps = { + children: React.ReactNode +} + +const BlogPost = () => ( +
+

Decentralizing Storage for Web3

+

+ Throughout the Web 2.0 era of the Internet, the distributed systems + architecture adopted by large multinational technology corporations has + led to the centralization of control over user-generated content. +

+
+ by Leonardo Bautista-Gomez + + + +
+ + + +
+) + +export const BlogPosts = ({ children }: TProps): JSX.Element => { + return ( +
+
+ + +
+
+ ) +} diff --git a/src/components/mdx/BlogPosts/index.tsx b/src/components/mdx/BlogPosts/index.tsx new file mode 100644 index 0000000..d25b9d0 --- /dev/null +++ b/src/components/mdx/BlogPosts/index.tsx @@ -0,0 +1 @@ +export * from './BlogPosts' diff --git a/src/components/mdx/BlogPosts/style.module.scss b/src/components/mdx/BlogPosts/style.module.scss new file mode 100644 index 0000000..d5b5096 --- /dev/null +++ b/src/components/mdx/BlogPosts/style.module.scss @@ -0,0 +1,19 @@ +.blogpostsWrapper { + .blogposts { + .blogpost { + background: none; + //border: 1px solid var(--ifm-color-gray-200); + p { + color: var(--ifm-color-gray-500); + } + + .blogpostMeta { + margin-bottom: calc(var(--ifm-leading) / 2); + } + + + .blogpost { + margin-top: var(--ifm-leading); + } + } + } +} diff --git a/src/css/custom.scss b/src/css/custom.scss index e591cea..ea45d31 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -78,7 +78,7 @@ --ifm-font-weight-base: var(--ifm-font-weight-normal); --ifm-h1-font-size: 4rem; - --ifm-h2-font-size: 3.5rem; + --ifm-h2-font-size: 2rem; --ifm-h3-font-size: 1.25rem; --ifm-h4-font-size: 1.15rem; --ifm-h5-font-size: 1rem; @@ -211,7 +211,6 @@ .sans { font-family: var(--lgs-font-family-secondary); - font-size: var(--ifm-font-size-secondary); line-height: var(--ifm-line-height-secondary); }