Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Blazity/next-saas-starter
/ functions
Functions
90 in github.com/Blazity/next-saas-starter
⨍
Functions
90
◇
Types & classes
25
↓ 4 callers
Function
useNewsletterModalContext
()
contexts/newsletter-modal.context.tsx:25
↓ 2 callers
Function
getAllPosts
()
utils/postsFetcher.ts:6
↓ 2 callers
Function
getPostsDirectory
()
utils/postsFetcher.ts:26
↓ 1 callers
Function
calculateReadTime
()
pages/blog/[slug].tsx:27
↓ 1 callers
Function
extractVideoHashFromUrl
(url: string)
components/YoutubeVideo.tsx:70
↓ 1 callers
Function
formatDate
(date: number | Date)
utils/formatDate.ts:4
↓ 1 callers
Function
getAllPostsSlugs
()
utils/postsFetcher.ts:10
↓ 1 callers
Function
getReadTime
(text: string)
utils/readTime.ts:3
↓ 1 callers
Function
handleCopyClick
(code: string)
components/Code.tsx:28
↓ 1 callers
Function
handleTabClick
(idx: number)
views/HomePage/FeaturesGallery.tsx:72
↓ 1 callers
Function
lazyLoadPrismTheme
()
pages/blog/[slug].tsx:34
↓ 1 callers
Function
normalizePartnerLogoName
(logo: string)
views/HomePage/Partners.tsx:47
↓ 1 callers
Function
normalizePostName
(postName: string)
pages/blog/[slug].tsx:115
↓ 1 callers
Function
onSubmit
(event: React.FormEvent<HTMLFormElement>, enrollNewsletter: (props: DefaultFormFields) => void)
components/NewsletterModal.tsx:23
↓ 1 callers
Function
useEscClose
({ onClose }: UseEscCloseProps)
hooks/useEscKey.ts:7
↓ 1 callers
Function
useScrollPosition
( effect: (props: ScrollPositionEffectProps) => void, deps?: React.DependencyList | undefined, element?:
hooks/useScrollPosition.ts:8
Function
Accordion
({ title, isOpen, children }: PropsWithChildren<AccordionProps>)
components/Accordion.tsx:12
Function
ArticleCard
({ title, slug, imageUrl, description }: ArticleCardProps)
components/ArticleCard.tsx:13
Function
ArticleImage
({ src, caption, ...rest }: ArticleImageProps)
components/ArticleImage.tsx:10
Function
BasicCard
({ title, description, imageUrl }: BasicCardProps)
components/BasicCard.tsx:10
Function
BasicSection
({ imageUrl, title, overTitle, reversed, children }: PropsWithChildren<BasicSectionProps>)
components/BasicSection.tsx:16
Function
BlogIndexPage
({ posts }: InferGetStaticPropsType<typeof getStaticProps>)
pages/blog/index.tsx:9
Function
ClientOnly
(props: PropsWithChildren<T>)
components/ClientOnly.tsx:3
Function
CloseIcon
(props: IconProps)
components/CloseIcon.tsx:3
Function
Code
({ code, language = 'javascript', selectedLines = [], withCopyButton = true, withLineNumbers, capt
components/Code.tsx:16
Function
ColorSwitcher
()
components/ColorSwitcher.tsx:4
Function
ContactPage
()
pages/privacy-policy.tsx:5
Function
ContactPage
()
pages/contact.tsx:7
Function
ContactPage
()
pages/cookies-policy.tsx:5
Function
CopyIcon
()
components/Code.tsx:75
Function
Cta
()
views/HomePage/Cta.tsx:11
Function
DrawerCloseButton
()
components/NavigationDrawer.tsx:58
Function
FaqSection
()
views/PricingPage/FaqSection.tsx:5
Function
Features
()
views/HomePage/Features.tsx:65
Function
FeaturesGallery
()
views/HomePage/FeaturesGallery.tsx:38
Function
FeaturesPage
()
pages/features.tsx:66
Function
Footer
()
components/Footer.tsx:49
Function
FooterList
({ title, items }: SingleFooterList)
components/Footer.tsx:85
Function
FormSection
()
views/ContactPage/FormSection.tsx:15
Function
HamburgerIcon
(props: IconProps)
components/HamburgerIcon.tsx:3
Function
Header
({ title, formattedDate, imageUrl, readTime }: HeaderProps)
views/SingleArticlePage/Header.tsx:13
Function
Hero
()
views/HomePage/Hero.tsx:11
Function
HeroIllustration
()
components/HeroIllustation.tsx:1
Function
Homepage
({ posts }: InferGetStaticPropsType<typeof getStaticProps>)
pages/index.tsx:16
Function
Icon
({ _ref, ...rest }: any)
components/Icon.tsx:6
Function
InformationSection
()
views/ContactPage/InformationSection.tsx:3
Function
Link
({ href, children }: PropsWithChildren<LinkProps>)
components/Link.tsx:9
Function
ListItem
({ title, href }: SingleFooterListItem)
components/Footer.tsx:96
Function
Logo
({ ...rest })
components/Logo.tsx:1
Function
MailSentState
()
components/MailSentState.tsx:3
Function
MetadataHead
(props: MetadataHeadProps)
views/SingleArticlePage/MetadataHead.tsx:11
Function
Modals
()
pages/_app.tsx:86
Function
MyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:31
Function
NavItem
({ href, title, outlined }: SingleNavItem)
components/Navbar.tsx:91
Function
NavItemsList
({ items }: NavigationDrawerProps)
components/NavigationDrawer.tsx:32
Function
Navbar
({ items }: NavbarProps)
components/Navbar.tsx:22
Function
NavigationDrawer
({ children, items }: NavigationDrawerProps)
components/NavigationDrawer.tsx:12
Function
NewsletterModal
({ onClose }: NewsletterModalProps)
components/NewsletterModal.tsx:18
Function
NewsletterModalContextProvider
({ children }: PropsWithChildren<T>)
contexts/newsletter-modal.context.tsx:10
Function
NotFoundIllustration
()
components/NotFoundIllustration.tsx:1
Function
NotFoundPage
()
pages/404.tsx:5
Function
OpenGraphHead
(props: OpenGraphHeadProps)
views/SingleArticlePage/OpenGraphHead.tsx:14
Function
Page
({ title, description, children }: PropsWithChildren<PageProps>)
components/Page.tsx:14
Function
Partners
()
views/HomePage/Partners.tsx:19
Function
PricingCard
({ title, description, benefits, isOutlined, children }: PropsWithChildren<PricingCardProps>)
components/PricingCard.tsx:14
Function
PricingPage
()
pages/pricing.tsx:6
Function
PricingTablesSection
()
views/PricingPage/PricingTablesSection.tsx:7
Function
Providers
({ children }: PropsWithChildren<T>)
pages/_app.tsx:78
Function
Quote
({ content, author, cite }: QuoteProps)
components/Quote.tsx:10
Function
RichText
(props: { content: TinaMarkdownContent | TinaMarkdownContent[] })
components/MDXRichText.tsx:9
Function
ScrollableBlogPosts
({ posts }: ScrollableBlogPostsProps)
views/HomePage/ScrollableBlogPosts.tsx:17
Function
SendEmail
(req: NextApiRequest, res: NextApiResponse)
pages/api/sendEmail.ts:5
Function
ShareWidget
({ title, slug }: ShareWidgetProps)
views/SingleArticlePage/ShareWidget.tsx:11
Function
SingleArticlePage
(props: InferGetStaticPropsType<typeof getStaticProps>)
pages/blog/[slug].tsx:19
Function
StructuredDataHead
(props: StructuredDataHeadProps)
views/SingleArticlePage/StructuredDataHead.tsx:15
Function
Testimonials
()
views/HomePage/Testimonials.tsx:41
Function
WaveCta
()
components/WaveCta.tsx:10
Function
YoutubeVideo
(props: YoutubeVideoProps)
components/YoutubeVideo.tsx:11
Method
getInitialProps
(ctx: DocumentContext)
pages/_document.tsx:6
Function
getSinglePost
(slug: string)
utils/postsFetcher.ts:18
Function
getStaticPaths
()
pages/blog/[slug].tsx:81
Function
getStaticProps
()
pages/index.tsx:89
Function
getStaticProps
({ params }: GetStaticPropsContext<{ slug: string }>)
pages/blog/[slug].tsx:119
Function
getStaticProps
()
pages/blog/index.tsx:46
Function
handleRouteChangeComplete
()
components/NavigationDrawer.tsx:37
Function
normalizePostName
(postName: string)
utils/postsFetcher.ts:14
Function
onSubmit
(payload: EmailPayload)
views/ContactPage/FormSection.tsx:21
Method
render
()
pages/_document.tsx:31
Function
scrollPositionCallback
({ currPos }: ScrollPositionEffectProps)
components/Navbar.tsx:33
Function
showNewsletterModal
()
components/Navbar.tsx:94