()
| 3 | import { cn } from "@/lib/utils"; |
| 4 | |
| 5 | import CreatureCard from "./creature-card"; |
| 6 | |
| 7 | const showcaseSlotClassName = |
| 8 | "relative min-w-0 origin-bottom [transform-style:preserve-3d] motion-reduce:rotate-0"; |
| 9 | |
| 10 | // Next.js `"use cache"` requires an async function even without await. |
| 11 | // oxlint-disable-next-line require-await |
| 12 | export default async function CreaturesShowcase() { |
| 13 | return ( |
| 14 | <div className="w-full min-w-0 overflow-x-clip px-1"> |
| 15 | <div className="relative mx-auto flex w-full max-w-5xl items-end justify-center pt-6 pb-4 [perspective:1400px]"> |
| 16 | <div |
| 17 | className={cn( |
| 18 | showcaseSlotClassName, |
| 19 | "z-0 w-[36%] -mr-[10%] -rotate-6 scale-[0.86] -rotate-y-12", |
| 20 | "motion-reduce:scale-90" |
nothing calls this directly
no outgoing calls
no test coverage detected