MCPcopy Create free account
hub / github.com/code100x/daily-code / Landing

Function Landing

apps/web/screens/Landing.tsx:9–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7import FooterCTA from "./footer-cta";
8
9export async function Landing() {
10 const tracks = await getAllTracks();
11 const categories = await getAllCategories(); // Fetch categories
12
13 return (
14 <div className="flex flex-col">
15 <AppbarClient />
16 <Hero tracks={tracks} />
17 <Tracks tracks={tracks} categories={categories} />
18 <FooterCTA />
19 <Footer />
20 </div>
21 );
22}

Callers

nothing calls this directly

Calls 2

getAllTracksFunction · 0.90
getAllCategoriesFunction · 0.90

Tested by

no test coverage detected