MCPcopy Create free account

hub / github.com/danil-vladimirov/collected-nextjs-portfolio-template / functions

Functions72 in github.com/danil-vladimirov/collected-nextjs-portfolio-template

↓ 8 callersFunctionurlForImage
(source: Image | undefined)
sanity/lib/utils.ts:11
↓ 5 callersFunctionloadHomePage
()
sanity/loader/loadQuery.ts:75
↓ 5 callersFunctionloadSettings
()
sanity/loader/loadQuery.ts:67
↓ 5 callersFunctionresolveHref
( documentType?: string, slug?: string, )
sanity/lib/utils.ts:31
↓ 5 callersFunctionuseQuery
( query: string, params?: QueryParams, options?: UseQueryOptionsDefinedInitial<QueryResponseResult>, )
sanity/loader/useQuery.ts:15
↓ 2 callersFunctionassertValue
(v: T | undefined, errorMessage: string)
sanity/lib/api.ts:23
↓ 2 callersFunctiongetHomePageTitle
()
sanity/loader/loadQuery.ts:91
↓ 2 callersFunctionloadProject
(slug: string)
sanity/loader/loadQuery.ts:107
↓ 2 callersFunctionurlForOpenGraphImage
(image: Image | undefined)
sanity/lib/utils.ts:20
↓ 2 callersFunctionuseSettings
(initial: QueryResponseInitial<SettingsPayload>)
sanity/loader/useQuery.ts:40
↓ 2 callersFunctionwithOpacity
(variableName)
tailwind.config.js:3
↓ 1 callersFunctiongenerateStaticSlugs
(type: string)
sanity/loader/generateStaticSlugs.ts:9
↓ 1 callersFunctiongetAboutPage
()
sanity/loader/loadQuery.ts:99
↓ 1 callersFunctionloadMoreProjects
()
sanity/loader/loadQuery.ts:83
↓ 1 callersFunctionpageStructure
( typeDefArray: DocumentDefinition[], )
sanity/plugins/settings.tsx:37
↓ 1 callersFunctionsingletonPlugin
(types: string[])
sanity/plugins/settings.tsx:8
↓ 1 callersFunctionurlForLogo
(source: Image | undefined)
sanity/lib/utils.ts:24
FunctionAboutPage
({ data }: AboutPageProps)
components/pages/about/AboutPage.tsx:13
FunctionAboutPagePreview
(props: Props)
components/pages/about/AboutPagePreview.tsx:15
FunctionCustomPortableText
({ paragraphClasses, value, }: { paragraphClasses?: string value: PortableTextBlock[] })
components/shared/CustomPortableText.tsx:10
FunctionFooter
(props: FooterProps)
components/global/Footer/FooterLayout.tsx:8
FunctionFooter
()
components/global/Footer/index.tsx:13
FunctionGET
(request: NextRequest)
app/api/disable-draft/route.ts:4
FunctionGET
(request: Request)
app/api/draft/route.ts:10
FunctionHeader
(props: TextBoxProps)
components/shared/TextBox.tsx:6
FunctionHeader
(props: HeaderProps)
components/shared/Header.tsx:6
FunctionHeaderLinks
(props: HeaderLinks)
components/shared/HeaderLinks.tsx:11
FunctionHomePage
({ data, encodeDataAttribute }: HomePageProps)
components/pages/home/HomePage.tsx:14
FunctionHomePagePreview
(props: Props)
components/pages/home/HomePagePreview.tsx:15
FunctionImage
({ data = {} })
components/modules/single-image.js:3
FunctionImage
({ data = {} })
components/modules/text-box.js:3
FunctionImage
({ data = {} })
components/modules/two-images.js:3
FunctionImageBox
({ leftImage, rightImage, alt = 'Project image', width = 3500, height = 2000, sizes = '(min-width:
components/shared/TwoImageBox.tsx:18
FunctionImageBox
({ image, alt = 'Cover image', width = 3500, height = 2000, size = '(min-width: 940px) 80vw, 100vw',
components/shared/SingleImage.tsx:16
FunctionImageBox
({ image, alt = 'Cover image', width = 3500, height = 2000, size = '(min-width: 1200px) 33vw, (min-w
components/shared/ImageBox.tsx:19
FunctionImageBox
({ image, alt = 'About image', width = 3500, height = 2000, size = '(min-width: 940px) 60vw, 100vw',
components/shared/AboutImageBox.tsx:15
FunctionIndexRoute
()
app/(personal)/page.tsx:12
FunctionIndexRoute
({ children, }: { children: React.ReactNode })
app/(personal)/layout.tsx:64
FunctionIndexRoute
()
app/(personal)/about/page.tsx:11
FunctionLiveVisualEditing
()
sanity/loader/LiveVisualEditing.tsx:12
FunctionLogo
()
sanity/plugins/Logo.jsx:3
FunctionModule
({ content, })
components/modules/index.js:9
FunctionMoreProjects
(props: ProjectProps)
components/pages/project/MoreProjects.tsx:12
FunctionNavbar
(props: NavbarProps)
components/global/Navbar/NavbarLayout.tsx:13
FunctionNavbar
()
components/global/Navbar/index.tsx:13
FunctionNavbarPreview
(props: Props)
components/global/Footer/FooterPreview.tsx:11
FunctionNavbarPreview
(props: Props)
components/global/Navbar/NavbarPreview.tsx:13
FunctionPOST
(req: NextRequest)
app/api/revalidate/route.ts:31
FunctionProjectListItem
(props: ProjectProps)
components/pages/home/ProjectListItem.tsx:8
FunctionProjectPage
({ data, moreProjects, encodeDataAttribute, }: ProjectPageProps)
components/pages/project/ProjectPage.tsx:16
FunctionProjectPreview
(props: Props)
components/pages/project/ProjectPreview.tsx:16
FunctionProjectSlugRoute
({ params }: Props)
app/(personal)/projects/[slug]/page.tsx:43
FunctionRedirect
()
app/(personal)/projects/page.tsx:3
FunctionRootLayout
({ children, }: { children: React.ReactNode })
app/layout.tsx:12
FunctionStudioPage
()
app/studio/[[...index]]/page.tsx:18
FunctionTemplate
({ children }: { children: React.ReactNode })
app/template.tsx:33
FunctionTextBox
({ project }: { project: ShowcaseProject })
components/pages/home/ProjectListItem.tsx:27
FunctionTwoVideos
({ data = {} })
components/modules/two-videos.js:3
FunctionVideo
({ data = {} })
components/modules/single-video.js:3
FunctionVideoBox
({ videoLink, caption }: VideoBoxProps)
components/shared/SingleVideo.tsx:12
FunctionVideoBox
({ videoOneLink, videoTwoLink, caption, }: VideoBoxProps)
components/shared/TwoVideoBox.tsx:13
FunctiongenerateMetadata
()
app/(personal)/layout.tsx:18
FunctiongenerateMetadata
( { params }: Props, parent: ResolvingMetadata, )
app/(personal)/projects/[slug]/page.tsx:19
FunctiongenerateStaticParams
()
app/(personal)/projects/[slug]/page.tsx:39
Functionprepare
({ photo })
sanity/schemas/documents/project.ts:132
Functionprepare
({ title })
sanity/schemas/singletons/home.ts:98
Functionprepare
({ title, url })
sanity/schemas/singletons/about.ts:105
Functionprepare
({ title, url })
sanity/schemas/singletons/settings.ts:58
Functionrobots
()
app/robots.tsx:4
Functionsitemap
()
app/sitemap.tsx:6
FunctionuseHomepage
(initial: QueryResponseInitial<HomePagePayload>)
sanity/loader/useQuery.ts:44
Functionviewport
()
app/(personal)/layout.tsx:55