/
outbreak
/
kilocode
Обзор
Документация
Войти
/
outbreak
/
kilocode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
apps/web-roo-code/src/app/shell.tsx
18 строк
606 B
Chris Estreich
Bring back #4128 (#4292)
04 июн 2025, 00:03
Не верифицирован
04 июн 2025, 00:03
01eef2b
Код
Авторство
О чём код?
import { getGitHubStars, getVSCodeDownloads } from "@/lib/stats" import { NavBar, Footer } from "@/components/chromes" // Invalidate cache when a request comes in, at most once every hour. export const revalidate = 3600 export default async function Shell({ children }: { children: React.ReactNode }) { const [stars, downloads] = await Promise.all([getGitHubStars(), getVSCodeDownloads()]) return ( <div className="flex min-h-screen flex-col bg-background text-foreground"> <NavBar stars={stars} downloads={downloads} /> <main className="flex-1">{children}</main> <Footer /> </div> ) }