Basic implementation for anime page

This commit is contained in:
2026-01-18 00:46:32 +05:00
parent da573b6b33
commit 7390c631d5
31 changed files with 846 additions and 162 deletions

View File

@ -0,0 +1,31 @@
import type { VariantProps } from "class-variance-authority"
import { cva } from "class-variance-authority"
export { default as HoverableImage } from "./HoverableImage.vue"
export const imageVariants = cva(
"relative group cursor-pointer overflow-hidden rounded-lg",
{
variants: {
variant: {
default: "border border-border",
rounded: "rounded-full overflow-hidden",
elevated: "shadow-lg hover:shadow-xl",
minimal: "border-0",
},
size: {
sm: "max-w-xs",
md: "max-w-md",
lg: "max-w-lg",
xl: "max-w-xl",
full: "w-full",
}
},
defaultVariants: {
variant: "default",
size: "md",
},
}
)
export type HoverableImageVariants = VariantProps<typeof imageVariants>