use next/link for internal links, even if absolute from the cms

This commit is contained in:
2026-07-10 03:24:00 +02:00
parent ca397070ea
commit 3892624382
12 changed files with 92 additions and 53 deletions
+4 -1
View File
@@ -1,3 +1,4 @@
import { RichText } from "@/components/general/RichText";
import styles from "./studioHeader.module.scss";
export const StudioHeader = ({
@@ -54,7 +55,9 @@ export const StudioHeader = ({
</div>
</div>
{lead && (
<div className={`lead ${styles.lead}`} dangerouslySetInnerHTML={{ __html: lead }} />
<div className={`lead ${styles.lead}`}>
<RichText content={lead} />
</div>
)}
</div>
);