feat: update TableOfContents component for improved heading indentation and add new post "Qui Sumus"
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 6m14s
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 6m14s
This commit is contained in:
@@ -43,7 +43,7 @@ export default function TableOfContents({ headings }: TableOfContentsProps) {
|
||||
{headings.map(({ slug, text, level }) => (
|
||||
<li
|
||||
key={slug}
|
||||
className={level === 3 ? "pl-3" : ""}
|
||||
className={level === 3 ? "pl-6" : level === 2 ? "pl-3" : ""}
|
||||
>
|
||||
<a
|
||||
href={`#${slug}`}
|
||||
|
||||
Reference in New Issue
Block a user