MCPcopy Create free account

hub / github.com/czm1290433700/nextjs-demo / functions

Functions20 in github.com/czm1290433700/nextjs-demo

↓ 1 callersFunctioncheckLanguage
()
stores/language.tsx:19
↓ 1 callersFunctioncheckTheme
()
stores/theme.tsx:20
↓ 1 callersFunctioncheckUserAgent
()
stores/userAgent.tsx:19
↓ 1 callersFunctiongetIsMobile
(context: AppContext)
utils/index.ts:6
↓ 1 callersFunctiongetIsSupportWebp
(context: AppContext)
utils/index.ts:13
FunctionArticle
({ title, author, description, createTime, content })
pages/article/[articleId].tsx:18
FunctionDocument
()
pages/_document.tsx:5
FunctionFooter
({ title, linkList, qrCode, copyRight, siteNumber, publicNumber, })
components/footer/index.tsx:31
FunctionHome
({ title, description, articles, isSupportWebp })
pages/index.tsx:28
FunctionLanguageContextProvider
({ children }: IProps)
stores/language.tsx:15
FunctionLayout
({ navbarData, footerData, children, })
components/layout/index.tsx:11
FunctionMyApp
(data: AppProps & ILayoutProps & IComponentProps)
pages/_app.tsx:17
FunctionNavBar
({})
components/navbar/index.tsx:10
FunctionThemeContextProvider
({ children }: IProps)
stores/theme.tsx:15
FunctionUserAgentProvider
({ children }: IProps)
stores/userAgent.tsx:14
FunctiongetArticleInfoData
(req: NextApiRequest, res: NextApiResponse<IArticleProps>)
pages/api/articleInfo.ts:6
FunctiongetArticleIntroData
(req: NextApiRequest, res: NextApiResponse<IArticleIntroProps>)
pages/api/articleIntro.ts:16
FunctiongetHomeData
(req: NextApiRequest, res: NextApiResponse<IHomeProps>)
pages/api/home.ts:10
FunctiongetLayoutData
(req: NextApiRequest, res: NextApiResponse<ILayoutProps>)
pages/api/layout.ts:7
FunctiongetServerSideProps
pages/article/[articleId].tsx:43