mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 04:15:04 +03:00
29 lines
694 B
TypeScript
29 lines
694 B
TypeScript
import React from 'react'
|
|
import { cn } from 'ui'
|
|
import Panel from '~/components/Panel'
|
|
|
|
export default function LaunchWeekPrizeCard({
|
|
content,
|
|
className,
|
|
contentClassName,
|
|
}: {
|
|
content: any
|
|
className?: string
|
|
contentClassName?: string
|
|
}) {
|
|
return (
|
|
<Panel
|
|
hasShimmer
|
|
outerClassName={cn('relative rounded-lg overflow-hidden shadow-lg', className)}
|
|
innerClassName={cn(
|
|
'relative h-full flex flex-col bg-[#121516] rounded-lg overflow-hidden text-[#EDEDED]',
|
|
contentClassName
|
|
)}
|
|
shimmerToColor="hsl(var(--background-alternative-default))"
|
|
shimmerFromColor="hsl(var(--border-default))"
|
|
>
|
|
{content}
|
|
</Panel>
|
|
)
|
|
}
|