import { categoryLabels } from "@/lib/mock-data"; import { AppGrid, HeroSection, StatsPanel, UnlockSection } from "@/components/sections"; import { ScrollReveal } from "@/components/scroll-reveal"; import { getApps } from "@/services/apps.service"; import Link from "next/link"; export default async function Home() { const appResources = await getApps(); const latest = [...appResources].sort((a, b) => b.updatedAt.localeCompare(a.updatedAt)); const featured = appResources.filter((a) => a.featured).slice(0, 6); return (

热门分类

按分类浏览
全部 {Object.values(categoryLabels).map((label) => ( {label} ))}

精选资源推荐

查看更多

最新更新

查看全部
资源信息 版本 大小 更新日期
{latest.slice(0, 8).map((app) => (
{app.icon}

{app.name}

{app.subtitle}

{app.version} {app.size} {app.updatedAt}
))}
); }