feat: custom CSS editor with CodeMirror, live preview, and /docs/css reference
Some checks failed
lint / lint (push) Failing after 7m36s
test / unit (push) Successful in 17m12s
test / integration (push) Failing after 18m34s

This commit is contained in:
2026-05-24 03:26:34 +02:00
parent 379f31e27d
commit 3f26456d77
7 changed files with 493 additions and 5 deletions

View File

@@ -9,6 +9,7 @@ import {
getUserThoughts,
Me,
} from "@/lib/api";
import { CssPreviewListener } from "@/components/css-preview-listener";
interface ProfilePageProps {
params: Promise<{ username: string }>;
@@ -134,6 +135,7 @@ export default async function ProfilePage({ params }: ProfilePageProps) {
{user.customCss && (
<style dangerouslySetInnerHTML={{ __html: user.customCss }} />
)}
<CssPreviewListener />
<div
id="profile-header"