Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bhancockio/lead-convert-yt
/ functions
Functions
97 in github.com/bhancockio/lead-convert-yt
⨍
Functions
97
◇
Types & classes
20
↓ 16 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:5
↓ 5 callers
Function
useLeadMagnetEditorContext
()
context/LeadMagnetEditorContex.tsx:123
↓ 3 callers
Function
getPayingStatus
(subscription: Subscription | null)
utils/stripe.ts:10
↓ 3 callers
Function
slugifyLeadMagnet
(title: string)
lib/utils.ts:9
↓ 3 callers
Function
useProfileEditorContext
()
context/ProfileEditorContext.tsx:112
↓ 2 callers
Function
getLeadsForLeadMagnet
(leadMagnetId: string)
app/(dashboard)/lead-magnets/components/LeadMagnetTable.tsx:20
↓ 2 callers
Function
handleRequest
( request: Request, schema: z.ZodType<any, any>, isUpdate = false )
app/api/profile/route.ts:29
↓ 2 callers
Function
handleRequest
( request: Request, schema: z.ZodType<any, any>, isUpdate = false )
app/api/lead-magnet/route.ts:7
↓ 1 callers
Function
fetchAccount
(userId: string)
app/(dashboard)/account/page.tsx:8
↓ 1 callers
Function
fetchProfile
()
context/ProfileEditorContext.tsx:48
↓ 1 callers
Function
fetchSubscription
(userId: string)
app/(dashboard)/account/page.tsx:28
↓ 1 callers
Function
getConversionRate
( leadMagnetId: string, pageViews: number )
app/(dashboard)/lead-magnets/components/LeadMagnetTable.tsx:28
↓ 1 callers
Function
getLeadMagnet
(leadMagnetId: string)
app/(dashboard)/leads/[leadMagnetId]/page.tsx:6
↓ 1 callers
Function
getLeadMagnets
(userId: string)
app/(dashboard)/lead-magnets/page.tsx:6
↓ 1 callers
Function
getLeads
(userId: string)
app/(dashboard)/lead-magnets/page.tsx:19
↓ 1 callers
Function
getLeads
(leadMagnetId: string)
app/(dashboard)/leads/[leadMagnetId]/page.tsx:14
↓ 1 callers
Function
getSubscription
(userId: string)
app/(dashboard)/lead-magnets/page.tsx:32
↓ 1 callers
Function
hasUserEnteredInfo
()
components/LeadMagnetAIChatContainer.tsx:45
↓ 1 callers
Function
publish
()
context/LeadMagnetEditorContex.tsx:63
↓ 1 callers
Function
remove
()
context/LeadMagnetEditorContex.tsx:92
↓ 1 callers
Function
saveName
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorNavbar.tsx:34
↓ 1 callers
Function
seed
()
prisma/seed.ts:5
↓ 1 callers
Function
unpublish
()
context/LeadMagnetEditorContex.tsx:78
Function
AccountContainer
({ account, subscription }: AccountContainerProps)
app/(dashboard)/account/components/AccountContainer.tsx:16
Function
AccountPage
()
app/(dashboard)/account/page.tsx:7
Function
CallToAction
()
app/(landing)/page.tsx:245
Function
DELETE
(request: Request)
app/api/lead-magnet/route.ts:56
Function
DashboardLayout
({ children, }: { children: React.ReactNode; })
app/(dashboard)/layout.tsx:4
Function
DashboardNavBar
()
components/DashboardNavbar.tsx:19
Function
FeatureCard
({ title, description, icon, }: { title: string; description: string; icon: JSX.Element; })
app/(landing)/page.tsx:84
Function
Features
()
app/(landing)/page.tsx:59
Function
GET
(request: Request)
app/api/profile/route.ts:7
Function
GET
()
app/api/stripe/route.ts:6
Function
GET
()
app/api/account/route.ts:63
Function
Hero
()
app/(landing)/page.tsx:32
Function
HowItWorks
()
app/(landing)/page.tsx:104
Function
HowItWorksStep
({ title, description, checks, }: { title: string; description: string; checks: string[]; })
app/(landing)/page.tsx:177
Function
LandingLayout
({ children, // will be a page or nested layout }: { children: React.ReactNode; })
app/(landing)/layout.tsx:5
Function
LandingPage
()
app/(landing)/page.tsx:16
Function
LandingPageFooter
()
app/(landing)/components/LandingPageFooter.tsx:3
Function
LandingPageNavbar
()
app/(landing)/components/LandingPageNavbar.tsx:7
Function
LeadMagnetAIChatContainer
({ prompt, firstQuestion, captureEmail, emailCapturePrompt, leadMagnetId, }: LeadMagnetAIChatContain
components/LeadMagnetAIChatContainer.tsx:16
Function
LeadMagnetContentEditor
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetContentEditor.tsx:18
Function
LeadMagnetContentPreview
({ title, subtitle, body, }: LeadMagnetContentPreviewProps)
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetContentPreview.tsx:9
Function
LeadMagnetEditor
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditor.tsx:18
Function
LeadMagnetEditorContainer
({ leadMagnet, }: LeadMagnetEditorContainerProps)
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorContainer.tsx:15
Function
LeadMagnetEditorContextProvider
({ children, leadMagnet, }: { children: ReactNode; leadMagnet: LeadMagnet; })
context/LeadMagnetEditorContex.tsx:27
Function
LeadMagnetEditorNavbar
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorNavbar.tsx:13
Function
LeadMagnetEditorPage
({ params }: LeadMagnetEditorParams)
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/page.tsx:14
Function
LeadMagnetEditorSidebar
({ isSidebarCollapsed, setIsSidebarCollapsed, setSelectedEditor, }: LeadMagnetEditorSidebarProps)
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorSidebar.tsx:31
Function
LeadMagnetEmailCaptureModal
({ setShowEmailCaptureModal, emailCapturePrompt, leadMagnetId, setHasCapturedUserInfo, }: LeadMagnetEm
components/LeadMagnetEmailCaptureModal.tsx:11
Function
LeadMagnetEmailCapturePreview
({ emailCapturePrompt, leadMagnetId, setHasCapturedUserInfo, setShowEmailCaptureModal, }: LeadMagnetEm
components/LeadMagnetEmailCapturePreview.tsx:12
Function
LeadMagnetEmailEditor
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEmailEditor.tsx:5
Function
LeadMagnetLoading
()
app/(public)/lm/[username]/[leadMagnetSlug]/loading.tsx:4
Function
LeadMagnetNotFound
({ returnLink }: LeadMagnetNotFoundProps)
components/LeadMagnetNotFound.tsx:9
Function
LeadMagnetPage
({ params }: LeadMagnetPageProps)
app/(public)/lm/[username]/[leadMagnetSlug]/page.tsx:66
Function
LeadMagnetProfileEditor
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetProfileEditor.tsx:8
Function
LeadMagnetProfileEditor
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetProfileEditor.1.tsx:6
Function
LeadMagnetProfilePreview
({ profile }: LeadMagnetProfileEditorProps)
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetProfilePreview.tsx:9
Function
LeadMagnetPromptEditor
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetPromptEditor.tsx:5
Function
LeadMagnetSettings
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetSettings.tsx:5
Function
LeadMagnetTable
({ leadMagnets, leads }: LeadMagnetTableProps)
app/(dashboard)/lead-magnets/components/LeadMagnetTable.tsx:19
Function
LeadMagnetView
({ leadMagnet, profile }: LeadMagnetViewProps)
app/(public)/lm/[username]/[leadMagnetSlug]/components/LeadMagnetView.tsx:10
Function
LeadMagnetsContainer
({ leadMagnets, leads, subscription, }: LeadMagnetsContainerProps)
app/(dashboard)/lead-magnets/components/LeadMagnetsContainer.tsx:22
Function
LeadMagnetsPage
()
app/(dashboard)/lead-magnets/page.tsx:45
Function
LeadsContainer
({ leadMagnet, leads }: LeadsContainerProps)
app/(dashboard)/leads/[leadMagnetId]/components/LeadsContainer.tsx:10
Function
LeadsPage
({ params }: LeadPageProps)
app/(dashboard)/leads/[leadMagnetId]/page.tsx:31
Function
LeadsTable
({ leads }: { leads: Lead[] })
app/(dashboard)/leads/[leadMagnetId]/components/LeadsTable.tsx:13
Function
LoadingScreen
()
components/LoadingScreen.tsx:4
Function
POST
(request: Request)
app/api/profile/route.ts:74
Function
POST
(request: Request)
app/api/lead-magnet/route.ts:51
Function
POST
(request: Request)
app/api/lead-magnet/unpublish/route.ts:10
Function
POST
(request: Request)
app/api/lead-magnet/publish/route.ts:11
Function
POST
(request: Request)
app/api/openai/route.ts:13
Function
POST
(request: Request)
app/api/lead/route.ts:11
Function
POST
(req: Request)
app/api/webhooks/stripe/route.ts:7
Function
PUT
(request: Request)
app/api/profile/route.ts:76
Function
PUT
(request: Request)
app/api/lead-magnet/route.ts:53
Function
PUT
(request: Request)
app/api/account/route.ts:7
Function
Page
()
app/(auth)/sign-up/[[...sign-up]]/page.tsx:3
Function
Page
()
app/(auth)/sign-in/[[...sign-in]]/page.tsx:3
Function
Pricing
()
app/(landing)/page.tsx:205
Function
ProfileEditorContextProvider
({ children, }: { children: ReactNode; })
context/ProfileEditorContext.tsx:36
Function
RootLayout
({ children, }: { children: React.ReactNode; })
app/layout.tsx:13
Function
cancelSaveName
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorNavbar.tsx:45
Function
generateMetadata
({ params, }: LeadMagnetPageProps)
app/(public)/lm/[username]/[leadMagnetSlug]/page.tsx:15
Function
handleDelete
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorNavbar.tsx:89
Function
handlePublish
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorNavbar.tsx:63
Function
handleSave
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorNavbar.tsx:49
Function
handleStripe
()
app/(dashboard)/account/components/AccountContainer.tsx:57
Function
handleSubmit
(e: React.FormEvent<HTMLFormElement>)
components/LeadMagnetEmailCapturePreview.tsx:22
Function
handleSubmit
(e: React.FormEvent<HTMLFormElement>)
components/LeadMagnetAIChatContainer.tsx:54
Function
handleUnpublish
()
app/(dashboard)/lead-magnet-editor/[[...leadMagnetId]]/components/LeadMagnetEditorNavbar.tsx:76
Function
save
()
context/ProfileEditorContext.tsx:83
Function
save
()
context/LeadMagnetEditorContex.tsx:44
Function
updateUsername
()
app/(dashboard)/account/components/AccountContainer.tsx:25
Function
upgrade
()
app/(dashboard)/lead-magnets/components/LeadMagnetsContainer.tsx:34