Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astriaai/headshots-starter
/ functions
Functions
101 in github.com/astriaai/headshots-starter
⨍
Functions
101
◇
Types & classes
14
↓ 88 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 10 callers
Function
toast
({ ...props }: Toast)
components/ui/use-toast.ts:145
↓ 5 callers
Function
dispatch
(action: Action)
components/ui/use-toast.ts:136
↓ 4 callers
Function
useFormField
()
components/ui/form.tsx:44
↓ 4 callers
Function
useToast
()
components/ui/use-toast.ts:174
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
components/ui/use-toast.ts:61
↓ 1 callers
Function
aggregateCharacteristics
(results: ImageInspectionResult[])
lib/imageInspection.ts:94
↓ 1 callers
Function
dismiss
()
components/ui/use-toast.ts:153
↓ 1 callers
Function
fetchPacks
()
components/PacksGalleryZone.tsx:21
↓ 1 callers
Function
genId
()
components/ui/use-toast.ts:30
↓ 1 callers
Function
handleInspectionComplete
(result: ImageInspectionResult, file: File)
components/TrainModelZone.tsx:120
↓ 1 callers
Function
handleRedirect
(id: number)
components/ModelsTable.tsx:25
↓ 1 callers
Function
inspect
()
components/ImageInspector.tsx:18
↓ 1 callers
Function
inspectImage
(file: File, type: string)
lib/imageInspection.ts:23
↓ 1 callers
Function
isVercelPreviewUrl
(url: string)
lib/config.ts:8
↓ 1 callers
Function
nextSlide
()
components/homepage/3d-before-after-gallery.tsx:66
↓ 1 callers
Function
reducer
(state: State, action: Action)
components/ui/use-toast.ts:77
↓ 1 callers
Function
renderVisual
()
components/homepage/ProcessSection.tsx:37
↓ 1 callers
Function
resizeImage
(file: File)
lib/imageInspection.ts:41
↓ 1 callers
Function
signInWithMagicLink
(email: string)
app/login/components/Login.tsx:82
↓ 1 callers
Function
streamToString
(stream: ReadableStream<Uint8Array>)
lib/utils.ts:8
↓ 1 callers
Function
validateConfig
()
lib/config.ts:14
Function
AnnouncementBar
()
components/homepage/announcement-bar.tsx:10
Function
Badge
({ className, variant, ...props }: BadgeProps)
components/ui/badge.tsx:30
Function
BrandsSection
()
components/homepage/BrandsSection.tsx:3
Function
CTASection
()
components/homepage/CTASection.tsx:12
Function
ClientSideCredits
({ creditsRow, }: ClientSideCreditsProps)
components/realtime/ClientSideCredits.tsx:14
Function
ClientSideModel
({ serverModel, serverImages, samples, }: ClientSideModelProps)
components/realtime/ClientSideModel.tsx:19
Function
ClientSideModelsList
({ serverModels, }: ClientSideModelsListProps)
components/realtime/ClientSideModelsList.tsx:19
Function
CommandDialog
({ children, ...props }: DialogProps)
components/ui/command.tsx:26
Function
CommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/command.tsx:127
Function
CompanyLogos
()
components/homepage/company-logos.tsx:3
Function
ContextMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/context-menu.tsx:168
Function
DialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:70
Function
DialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:56
Function
DropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/dropdown-menu.tsx:171
Function
ExamplesSection
()
components/homepage/ExamplesSection.tsx:6
Function
FAQItem
({ question, answer, isOpen, onClick, index }: FAQItemProps)
components/homepage/faq-section.tsx:15
Function
FAQSection
()
components/homepage/faq-section.tsx:47
Function
FAQSection
()
components/homepage/FAQSection.tsx:4
Function
FeaturesSection
()
components/homepage/FeaturesSection.tsx:32
Function
Footer
()
components/Footer.tsx:4
Function
FormField
({ ...props }: ControllerProps<TFieldValues, TName>)
components/ui/form.tsx:31
Function
GET
(req: NextRequest)
app/auth/callback/route.ts:7
Function
GET
(request: Request)
app/astria/packs/route.ts:20
Function
HeroAnimation
()
components/homepage/hero-animation.tsx:7
Function
HeroSection
()
components/homepage/HeroSection.tsx:8
Function
ImageInspector
({ file, type, onInspectionComplete }: ImageInspectorProps)
components/ImageInspector.tsx:11
Function
Index
()
app/page.tsx:16
Function
Index
()
app/get-credits/page.tsx:8
Function
Index
()
app/overview/page.tsx:8
Function
Index
()
app/overview/packs/page.tsx:16
Function
Index
({ params }: { params: { id: string } })
app/overview/models/[id]/page.tsx:15
Function
Index
({ params }: { params: { pack : string } })
app/overview/models/train/[pack]/page.tsx:15
Function
Login
({ host, searchParams, }: { host: string | null; searchParams?: { [key: string]: string | string[] | u
app/login/components/Login.tsx:18
Function
LoginFail
({ errorMessage, }: { errorMessage: string | null; })
app/login/failed/components/LoginFail.tsx:4
Function
LoginPage
({ searchParams, }: { searchParams?: { [key: string]: string | string[] | undefined }; })
app/login/page.tsx:9
Function
LogoutButton
()
components/LogoutButton.tsx:1
Function
ModelTypeSelector
()
components/ModelTypeSelector.tsx:5
Function
ModelsTable
({ models }: ModelsTableProps)
components/ModelsTable.tsx:23
Function
ModernPricing
()
components/homepage/modern-pricing.tsx:25
Function
Navbar
()
components/Navbar.tsx:26
Function
NextJsLogo
()
components/NextJsLogo.tsx:3
Function
OR
()
app/login/components/Login.tsx:167
Function
POST
(request: Request)
app/auth/sign-out/route.ts:7
Function
POST
(request: Request)
app/stripe/subscription-webhook/route.ts:35
Function
POST
(request: Request)
app/astria/prompt-webhook/route.ts:31
Function
POST
(request: Request)
app/astria/train-model/route.ts:21
Function
POST
(request: Request)
app/astria/train-model/image-upload/route.ts:7
Function
POST
(request: Request)
app/astria/train-webhook/route.ts:32
Function
POST
(request: Request)
app/astria/inspect-image/route.ts:3
Function
PacksGalleryZone
()
components/PacksGalleryZone.tsx:16
Function
Page
({ searchParams, }: { searchParams?: { [key: string]: string | string[] | undefined }; })
app/login/failed/page.tsx:4
Function
PricingSection
()
components/homepage/PricingSection.tsx:4
Function
ProcessSection
()
components/homepage/ProcessSection.tsx:127
Function
ProcessStep
({ step, isActive, index }: { step: typeof processSteps[0], isActive: boolean, index: number })
components/homepage/ProcessSection.tsx:33
Function
RootLayout
({ children, }: { children: React.ReactNode; })
app/layout.tsx:25
Function
RootLayout
({ children, }: { children: React.ReactNode; })
app/overview/layout.tsx:7
Function
Skeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/skeleton.tsx:3
Function
StripePricingTable
({ user }: Props)
components/stripe/StripeTable.tsx:22
Function
SupabaseLogo
()
components/SupabaseLogo.tsx:3
Function
TestimonialCard
({ quote, author, role, avatarUrl }: TestimonialCardProps)
components/homepage/testimonial-card.tsx:15
Function
TestimonialsSection
()
components/homepage/TestimonialsSection.tsx:25
Function
ThemeProvider
({ children, ...props }: ThemeProviderProps)
components/homepage/theme-provider.tsx:5
Function
ThemeToggle
()
components/homepage/theme-toggle.tsx:7
Function
ThreeDBeforeAfterGallery
()
components/homepage/3d-before-after-gallery.tsx:15
Function
Toaster
()
components/ui/toaster.tsx:13
Function
TrainModelZone
({ packSlug }: { packSlug: string })
components/TrainModelZone.tsx:41
Function
TrustBadges
()
components/homepage/trust-badges.tsx:4
Function
WaitingForMagicLink
({ toggleState, }: { toggleState: () => void; })
app/login/components/WaitingForMagicLink.tsx:4
Function
handleMouseLeave
()
components/homepage/3d-before-after-gallery.tsx:102
Function
handleMouseMove
(e: MouseEvent)
components/homepage/hero-animation.tsx:35
Function
handleMouseMove
(e: MouseEvent)
components/homepage/3d-before-after-gallery.tsx:88
Function
middleware
(req: NextRequest)
middleware.ts:7
Function
onChange
()
components/ui/use-mobile.tsx:10
Function
onSubmit
()
components/TrainModelZone.tsx:56
Function
onSubmit
(data)
app/login/components/Login.tsx:36
Function
prevSlide
()
components/homepage/3d-before-after-gallery.tsx:76
Function
signInWithGoogle
()
app/login/components/Login.tsx:71
Function
update
(props: ToasterToast)
components/ui/use-toast.ts:148
next →
1–100 of 101, ranked by callers