MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / KiloCardLayout

Function KiloCardLayout

apps/web/src/components/KiloCardLayout.tsx:18–49  ·  view source on GitHub ↗
({
  children,
  title,
  contentClassName = 'space-y-6',
  className = 'max-w-3xl',
  bare = false,
}: KiloCardLayoutProps)

Source from the content-addressed store, hash-verified

16 contentClassName = 'space-y-6',
17 className = 'max-w-3xl',
18}: KiloCardLayoutProps) {
19 return (
20 <div className="flex min-h-screen flex-col items-center justify-center p-4">
21 <div className="mb-8">
22 <HeaderLogo className="w-auto self-auto pr-0" />
23 </div>
24 <div className={cn('mx-auto w-full', className)}>
25 <Card className="rounded-none shadow">
26 {title && (
27 <CardHeader className="text-center">
28 <h1 className="pb-8 text-2xl font-bold">{title}</h1>
29 </CardHeader>
30 )}
31 <CardContent className={contentClassName}>{children}</CardContent>
32 </Card>
33 </div>
34 </div>
35 );
36}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected