18 lines
498 B
TypeScript
18 lines
498 B
TypeScript
import type { CardFaceProps } from "./types";
|
|
|
|
/** 卡面:斜线纹理 + 右上角光晕 */
|
|
export function LineFace(_: CardFaceProps) {
|
|
return (
|
|
<>
|
|
<div
|
|
className="absolute inset-0 opacity-[0.07]"
|
|
style={{
|
|
backgroundImage:
|
|
"repeating-linear-gradient(135deg, #fff 0px, #fff 1px, transparent 1px, transparent 12px)",
|
|
}}
|
|
/>
|
|
<div className="absolute -right-10 -top-10 size-48 rounded-full bg-white/15 blur-2xl" />
|
|
</>
|
|
);
|
|
}
|