MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / CreaturesShowcase

Function CreaturesShowcase

components/creatures-showcase.tsx:5–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { cn } from "@/lib/utils";
4
5import CreatureCard from "./creature-card";
6
7const 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
12export 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"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected