feat: long form articles

This commit is contained in:
codytseng
2025-08-07 23:10:04 +08:00
parent 0f16ed8d46
commit 3950cbd9e6
13 changed files with 1706 additions and 22 deletions

View File

@@ -1,9 +1,14 @@
import { cn } from '@/lib/utils'
import Username, { SimpleUsername } from '../Username'
export function EmbeddedMention({ userId }: { userId: string }) {
export function EmbeddedMention({ userId, className }: { userId: string; className?: string }) {
return (
<Username userId={userId} showAt className="text-primary font-normal inline" withoutSkeleton />
<Username
userId={userId}
showAt
className={cn('text-primary font-normal inline', className)}
withoutSkeleton
/>
)
}