MCPcopy Create free account
hub / github.com/github/docs / MainHomePage

Function MainHomePage

pages/index.tsx:26–43  ·  view source on GitHub ↗
({
  mainContext,
  gettingStartedLinks,
  popularLinks,
  productGroups,
}: Props)

Source from the content-addressed store, hash-verified

24}
25
26export default function MainHomePage({
27 mainContext,
28 gettingStartedLinks,
29 popularLinks,
30 productGroups,
31}: Props) {
32 return (
33 <MainContext.Provider value={mainContext}>
34 <DefaultLayout>
35 <HomePage
36 gettingStartedLinks={gettingStartedLinks}
37 popularLinks={popularLinks}
38 productGroups={productGroups}
39 />
40 </DefaultLayout>
41 </MainContext.Provider>
42 )
43}
44
45type HomePageProps = {
46 popularLinks: Array<FeaturedLink>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected