diff --git a/apps/sim/app/templates/components/template-card.tsx b/apps/sim/app/templates/components/template-card.tsx index 67b8bf71d9b..51b58f74854 100644 --- a/apps/sim/app/templates/components/template-card.tsx +++ b/apps/sim/app/templates/components/template-card.tsx @@ -42,8 +42,8 @@ export function TemplateCardSkeleton({ className }: { className?: string }) {
-
-
+
+
@@ -269,17 +269,17 @@ function TemplateCardInner({
-
+
{authorImageUrl ? ( -
+
{author}
) : ( -
- +
+
)} -
+
{author} {isVerified && }
diff --git a/apps/sim/app/workspace/[workspaceId]/templates/components/template-card.tsx b/apps/sim/app/workspace/[workspaceId]/templates/components/template-card.tsx index d0f0bead47a..caf0360572a 100644 --- a/apps/sim/app/workspace/[workspaceId]/templates/components/template-card.tsx +++ b/apps/sim/app/workspace/[workspaceId]/templates/components/template-card.tsx @@ -43,8 +43,8 @@ export function TemplateCardSkeleton({ className }: { className?: string }) {
-
-
+
+
@@ -270,17 +270,17 @@ function TemplateCardInner({
-
+
{authorImageUrl ? ( -
+
{author}
) : ( -
- +
+
)} -
+
{author} {isVerified && }
diff --git a/apps/sim/app/workspace/[workspaceId]/templates/page.tsx b/apps/sim/app/workspace/[workspaceId]/templates/page.tsx index 3605f98cd0d..0e49d77b5e4 100644 --- a/apps/sim/app/workspace/[workspaceId]/templates/page.tsx +++ b/apps/sim/app/workspace/[workspaceId]/templates/page.tsx @@ -63,6 +63,7 @@ export default async function TemplatesPage({ params }: TemplatesPageProps) { name: string profileImageUrl?: string | null details?: unknown + verified: boolean } | null views: number stars: number @@ -158,6 +159,7 @@ export default async function TemplatesPage({ params }: TemplatesPageProps) { } | null, referenceType: row.creator.referenceType, referenceId: row.creator.referenceId, + verified: row.creator.verified, } : null, views: row.views, diff --git a/apps/sim/components/ui/verified-badge.tsx b/apps/sim/components/ui/verified-badge.tsx index 347f524609f..b0e05ac094b 100644 --- a/apps/sim/components/ui/verified-badge.tsx +++ b/apps/sim/components/ui/verified-badge.tsx @@ -1,3 +1,4 @@ +import { Tooltip } from '@/components/emcn' import { cn } from '@/lib/core/utils/cn' interface VerifiedBadgeProps { @@ -15,19 +16,24 @@ export function VerifiedBadge({ className, size = 'md' }: VerifiedBadgeProps) { const dimension = sizeMap[size] return ( -
- - - -
+ + +
+ + + +
+
+ Verified Creator +
) }