The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
subtle border on card hover
Francesco Sansalvadore269fe54e199e
diff --git a/apps/www/components/Panel/index.tsx b/apps/www/components/Panel/index.tsxindex 9ee2f113933..cd73de9ba74 100644--- a/apps/www/components/Panel/index.tsx+++ b/apps/www/components/Panel/index.tsx@@ -5,6 +5,7 @@ interface Props {outerClassName?: stringinnerClassName?: stringhasActiveOnHover?: boolean+ activeColor?: 'default' | 'brand'hasShimmer?: booleanhasInnerShimmer?: booleanshimmerFromColor?: string@@ -15,6 +16,7 @@ const Panel = ({outerClassName,innerClassName,hasActiveOnHover = false,+ activeColor = 'default',hasShimmer = false,hasInnerShimmer = false,shimmerFromColor,@@ -38,7 +40,9 @@ const Panel = ({if (hasShimmer) {const activeGlow =hasActiveOnHover && isActive- ? `radial-gradient(65rem circle at ${x}px ${y}px, var(--colors-brand9), transparent), `+ ? `radial-gradient(65rem circle at ${x}px ${y}px, var(${+ activeColor === 'brand' ? '--colors-brand9' : '--colors-scale9'+ }), transparent), `: ''outerElement.style.backgroundImage = `${activeGlow}radial-gradient(30rem circle at ${x}px ${y}px, ${@@ -67,7 +71,7 @@ const Panel = ({ref={outerRef}className={['relative z-0 rounded-xl bg-gradient-to-b from-background-surface-300 to-scale-400 p-px shadow-md',- !trackCursor && hasActiveOnHover ? 'hover:bg-none hover:!bg-brand' : '',+ !trackCursor && hasActiveOnHover ? 'hover:bg-none hover:!bg-scale-800' : '',outerClassName,].join(' ')}whileHover="hover"diff --git a/apps/www/components/Products/ProductCard.tsx b/apps/www/components/Products/ProductCard.tsxindex b957513912e..2a83c0a85d5 100644--- a/apps/www/components/Products/ProductCard.tsx+++ b/apps/www/components/Products/ProductCard.tsx@@ -26,13 +26,13 @@ const ProductCard = ({<Link href={url}><aclassName={[- 'group relative w-full h-[400px] sm:aspect-square md:aspect-auto sm:h-[400px] flex flex-col gap-5 lg:flex-row focus:outline-none focus:border-none focus:ring-brand-600 focus:ring-2 focus:rounded-xl',+ 'group relative w-full h-[400px] flex flex-col gap-5 lg:flex-row focus:outline-none focus:border-none focus:ring-brand-600 focus:ring-2 focus:rounded-xl',className,].join(' ')}onClick={onClick}><Panel- // hasShimmer+ hasShimmerhasActiveOnHoverouterClassName="relative w-full h-full shadow-lg p-0"innerClassName="relative overflow-hidden flex-1 flex flex-col items-center gap-5 lg:items-start justify-between w-full rounded-xl h-full bg"