feat: initial commit - Jhonny Editor
- Adicionado estrutura completa do projeto - Configurado MCP server para Premiere Pro - Adicionado documentação e skills - Configurado Gitignore para o projeto
This commit is contained in:
Executable
+29
@@ -0,0 +1,29 @@
|
||||
"use client"
|
||||
|
||||
import type { ComponentPropsWithoutRef } from "react"
|
||||
import { trackOnboardingEvent } from "@/lib/onboarding-events"
|
||||
|
||||
type TrackedLinkProps = ComponentPropsWithoutRef<"a"> & {
|
||||
trackingLocation: string
|
||||
trackingDestination: string
|
||||
}
|
||||
|
||||
export function TrackedLink({
|
||||
trackingLocation,
|
||||
trackingDestination,
|
||||
onClick,
|
||||
...props
|
||||
}: TrackedLinkProps) {
|
||||
return (
|
||||
<a
|
||||
{...props}
|
||||
onClick={(event) => {
|
||||
trackOnboardingEvent("primary_cta_clicked", {
|
||||
location: trackingLocation,
|
||||
destination: trackingDestination,
|
||||
})
|
||||
onClick?.(event)
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user