feat: custom CSS editor with CodeMirror, live preview, and /docs/css reference
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user