mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 18:07:00 +02:00
misc(v2): change blog title size (#1821)
* misc(v2): change blog title size * misc(v2): change blog title size
This commit is contained in:
parent
17252a079c
commit
5eb79b17c3
4 changed files with 18 additions and 2 deletions
|
@ -6,11 +6,14 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import classnames from 'classnames';
|
||||
import {MDXProvider} from '@mdx-js/react';
|
||||
|
||||
import Link from '@docusaurus/Link';
|
||||
import MDXComponents from '@theme/MDXComponents';
|
||||
|
||||
import styles from './styles.module.css';
|
||||
|
||||
function BlogPostItem(props) {
|
||||
const {children, frontMatter, metadata, truncated} = props;
|
||||
const {date, permalink, tags} = metadata;
|
||||
|
@ -41,7 +44,7 @@ function BlogPostItem(props) {
|
|||
|
||||
return (
|
||||
<header>
|
||||
<h1 className="margin-bottom--xs">
|
||||
<h1 className={classnames('margin-bottom--sm', styles.blogPostTitle)}>
|
||||
<Link to={permalink}>{title}</Link>
|
||||
</h1>
|
||||
<div className="margin-bottom--sm">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue