import Link from "next/link"; import { CardTags } from "@/components/common/card-tags"; import { MEDIA_CARD_COVER, MEDIA_CARD_DESC, MEDIA_CARD_EPISODES, MEDIA_CARD_META, MEDIA_CARD_ROOT, MEDIA_CARD_TITLE_PC, MEDIA_CARD_TITLE_PC_MD, } from "@/components/common/media-card-hover"; import { dramaHref } from "@/components/short-drama/data"; import type { Drama } from "./data"; import { Badge } from "./section-heading"; type DramaCardProps = { drama: Drama; size?: "wide" | "card"; rank?: string; }; export function DramaCard({ drama, size = "card", rank }: DramaCardProps) { const isWide = size === "wide"; const detailHref = dramaHref(drama.id); return (
{drama.badge ? (
) : null} {drama.episodes}

{rank ? {rank} : null} {drama.title}

{drama.subtitle}

{drama.heat}
); } export function ThemeBlock({ title, subtitle, cover }: { title: string; subtitle: string; cover: string }) { return (

{title}

{subtitle}

浏览更多
); }