MCPcopy Create free account

hub / github.com/Blazity/next-saas-starter / functions

Functions90 in github.com/Blazity/next-saas-starter

↓ 4 callersFunctionuseNewsletterModalContext
()
contexts/newsletter-modal.context.tsx:25
↓ 2 callersFunctiongetAllPosts
()
utils/postsFetcher.ts:6
↓ 2 callersFunctiongetPostsDirectory
()
utils/postsFetcher.ts:26
↓ 1 callersFunctioncalculateReadTime
()
pages/blog/[slug].tsx:27
↓ 1 callersFunctionextractVideoHashFromUrl
(url: string)
components/YoutubeVideo.tsx:70
↓ 1 callersFunctionformatDate
(date: number | Date)
utils/formatDate.ts:4
↓ 1 callersFunctiongetAllPostsSlugs
()
utils/postsFetcher.ts:10
↓ 1 callersFunctiongetReadTime
(text: string)
utils/readTime.ts:3
↓ 1 callersFunctionhandleCopyClick
(code: string)
components/Code.tsx:28
↓ 1 callersFunctionhandleTabClick
(idx: number)
views/HomePage/FeaturesGallery.tsx:72
↓ 1 callersFunctionlazyLoadPrismTheme
()
pages/blog/[slug].tsx:34
↓ 1 callersFunctionnormalizePartnerLogoName
(logo: string)
views/HomePage/Partners.tsx:47
↓ 1 callersFunctionnormalizePostName
(postName: string)
pages/blog/[slug].tsx:115
↓ 1 callersFunctiononSubmit
(event: React.FormEvent<HTMLFormElement>, enrollNewsletter: (props: DefaultFormFields) => void)
components/NewsletterModal.tsx:23
↓ 1 callersFunctionuseEscClose
({ onClose }: UseEscCloseProps)
hooks/useEscKey.ts:7
↓ 1 callersFunctionuseScrollPosition
( effect: (props: ScrollPositionEffectProps) => void, deps?: React.DependencyList | undefined, element?:
hooks/useScrollPosition.ts:8
FunctionAccordion
({ title, isOpen, children }: PropsWithChildren<AccordionProps>)
components/Accordion.tsx:12
FunctionArticleCard
({ title, slug, imageUrl, description }: ArticleCardProps)
components/ArticleCard.tsx:13
FunctionArticleImage
({ src, caption, ...rest }: ArticleImageProps)
components/ArticleImage.tsx:10
FunctionBasicCard
({ title, description, imageUrl }: BasicCardProps)
components/BasicCard.tsx:10
FunctionBasicSection
({ imageUrl, title, overTitle, reversed, children }: PropsWithChildren<BasicSectionProps>)
components/BasicSection.tsx:16
FunctionBlogIndexPage
({ posts }: InferGetStaticPropsType<typeof getStaticProps>)
pages/blog/index.tsx:9
FunctionClientOnly
(props: PropsWithChildren<T>)
components/ClientOnly.tsx:3
FunctionCloseIcon
(props: IconProps)
components/CloseIcon.tsx:3
FunctionCode
({ code, language = 'javascript', selectedLines = [], withCopyButton = true, withLineNumbers, capt
components/Code.tsx:16
FunctionColorSwitcher
()
components/ColorSwitcher.tsx:4
FunctionContactPage
()
pages/privacy-policy.tsx:5
FunctionContactPage
()
pages/contact.tsx:7
FunctionContactPage
()
pages/cookies-policy.tsx:5
FunctionCopyIcon
()
components/Code.tsx:75
FunctionCta
()
views/HomePage/Cta.tsx:11
FunctionDrawerCloseButton
()
components/NavigationDrawer.tsx:58
FunctionFaqSection
()
views/PricingPage/FaqSection.tsx:5
FunctionFeatures
()
views/HomePage/Features.tsx:65
FunctionFeaturesGallery
()
views/HomePage/FeaturesGallery.tsx:38
FunctionFeaturesPage
()
pages/features.tsx:66
FunctionFooter
()
components/Footer.tsx:49
FunctionFooterList
({ title, items }: SingleFooterList)
components/Footer.tsx:85
FunctionFormSection
()
views/ContactPage/FormSection.tsx:15
FunctionHamburgerIcon
(props: IconProps)
components/HamburgerIcon.tsx:3
FunctionHeader
({ title, formattedDate, imageUrl, readTime }: HeaderProps)
views/SingleArticlePage/Header.tsx:13
FunctionHero
()
views/HomePage/Hero.tsx:11
FunctionHeroIllustration
()
components/HeroIllustation.tsx:1
FunctionHomepage
({ posts }: InferGetStaticPropsType<typeof getStaticProps>)
pages/index.tsx:16
FunctionIcon
({ _ref, ...rest }: any)
components/Icon.tsx:6
FunctionInformationSection
()
views/ContactPage/InformationSection.tsx:3
FunctionLink
({ href, children }: PropsWithChildren<LinkProps>)
components/Link.tsx:9
FunctionListItem
({ title, href }: SingleFooterListItem)
components/Footer.tsx:96
FunctionLogo
({ ...rest })
components/Logo.tsx:1
FunctionMailSentState
()
components/MailSentState.tsx:3
FunctionMetadataHead
(props: MetadataHeadProps)
views/SingleArticlePage/MetadataHead.tsx:11
FunctionModals
()
pages/_app.tsx:86
FunctionMyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:31
FunctionNavItem
({ href, title, outlined }: SingleNavItem)
components/Navbar.tsx:91
FunctionNavItemsList
({ items }: NavigationDrawerProps)
components/NavigationDrawer.tsx:32
FunctionNavbar
({ items }: NavbarProps)
components/Navbar.tsx:22
FunctionNavigationDrawer
({ children, items }: NavigationDrawerProps)
components/NavigationDrawer.tsx:12
FunctionNewsletterModal
({ onClose }: NewsletterModalProps)
components/NewsletterModal.tsx:18
FunctionNewsletterModalContextProvider
({ children }: PropsWithChildren<T>)
contexts/newsletter-modal.context.tsx:10
FunctionNotFoundIllustration
()
components/NotFoundIllustration.tsx:1
FunctionNotFoundPage
()
pages/404.tsx:5
FunctionOpenGraphHead
(props: OpenGraphHeadProps)
views/SingleArticlePage/OpenGraphHead.tsx:14
FunctionPage
({ title, description, children }: PropsWithChildren<PageProps>)
components/Page.tsx:14
FunctionPartners
()
views/HomePage/Partners.tsx:19
FunctionPricingCard
({ title, description, benefits, isOutlined, children }: PropsWithChildren<PricingCardProps>)
components/PricingCard.tsx:14
FunctionPricingPage
()
pages/pricing.tsx:6
FunctionPricingTablesSection
()
views/PricingPage/PricingTablesSection.tsx:7
FunctionProviders
({ children }: PropsWithChildren<T>)
pages/_app.tsx:78
FunctionQuote
({ content, author, cite }: QuoteProps)
components/Quote.tsx:10
FunctionRichText
(props: { content: TinaMarkdownContent | TinaMarkdownContent[] })
components/MDXRichText.tsx:9
FunctionScrollableBlogPosts
({ posts }: ScrollableBlogPostsProps)
views/HomePage/ScrollableBlogPosts.tsx:17
FunctionSendEmail
(req: NextApiRequest, res: NextApiResponse)
pages/api/sendEmail.ts:5
FunctionShareWidget
({ title, slug }: ShareWidgetProps)
views/SingleArticlePage/ShareWidget.tsx:11
FunctionSingleArticlePage
(props: InferGetStaticPropsType<typeof getStaticProps>)
pages/blog/[slug].tsx:19
FunctionStructuredDataHead
(props: StructuredDataHeadProps)
views/SingleArticlePage/StructuredDataHead.tsx:15
FunctionTestimonials
()
views/HomePage/Testimonials.tsx:41
FunctionWaveCta
()
components/WaveCta.tsx:10
FunctionYoutubeVideo
(props: YoutubeVideoProps)
components/YoutubeVideo.tsx:11
MethodgetInitialProps
(ctx: DocumentContext)
pages/_document.tsx:6
FunctiongetSinglePost
(slug: string)
utils/postsFetcher.ts:18
FunctiongetStaticPaths
()
pages/blog/[slug].tsx:81
FunctiongetStaticProps
()
pages/index.tsx:89
FunctiongetStaticProps
({ params }: GetStaticPropsContext<{ slug: string }>)
pages/blog/[slug].tsx:119
FunctiongetStaticProps
()
pages/blog/index.tsx:46
FunctionhandleRouteChangeComplete
()
components/NavigationDrawer.tsx:37
FunctionnormalizePostName
(postName: string)
utils/postsFetcher.ts:14
FunctiononSubmit
(payload: EmailPayload)
views/ContactPage/FormSection.tsx:21
Methodrender
()
pages/_document.tsx:31
FunctionscrollPositionCallback
({ currPos }: ScrollPositionEffectProps)
components/Navbar.tsx:33
FunctionshowNewsletterModal
()
components/Navbar.tsx:94