merge + remove underlines in search results
This commit is contained in:
@@ -2,6 +2,7 @@ import { PageSectionBlock as PageSectionBlockType } from "@/gql/graphql";
|
||||
import styles from "./pageSection.module.scss";
|
||||
import { Blocks } from "./Blocks";
|
||||
import slugify from "@sindresorhus/slugify";
|
||||
import { DecorativeIcon } from "../general/Icon";
|
||||
|
||||
export const PageSectionBlock = ({
|
||||
block,
|
||||
@@ -17,7 +18,9 @@ export const PageSectionBlock = ({
|
||||
>
|
||||
<div className={styles.anchor} id={anchor}></div>
|
||||
<div className={styles.sectionHeader}>
|
||||
<div className={styles.icon} data-icon={block.icon ?? "none"} />
|
||||
<div className={styles.icon}>
|
||||
{block.icon && <DecorativeIcon type={block.icon} />}
|
||||
</div>
|
||||
<h2>{block.title}</h2>
|
||||
</div>
|
||||
<Blocks blocks={block.body} />
|
||||
|
||||
Reference in New Issue
Block a user