1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 05:41:17 -04:00

extract list of menu links to a config file

This commit is contained in:
2022-02-11 15:13:32 -05:00
parent d258ebd988
commit ae0fd5f56b
11 changed files with 139 additions and 137 deletions

View File

@@ -19,7 +19,7 @@ const CodeBlock = ({ forceBlock, className, children, ...rest }: CodeBlockProps)
<div className={styles.block}>
<CopyButton source={children} className={styles.copy_btn} />
<code
className={cx({ code: true, highlight: prismEnabled }, className?.replace("code-highlight", "").trim())}
className={cx(styles.code, { highlight: prismEnabled }, className?.replace("code-highlight", "").trim())}
{...rest}
>
{children}