import { HeroSection } from "@/components/hero" import { RecentlyAddedIcons } from "@/components/recently-added-icons" import { REPO_NAME } from "@/constants" import { getRecentlyAddedIcons, getTotalIcons } from "@/lib/api" async function getGitHubStars() { const response = await fetch(`https://api.github.com/repos/${REPO_NAME}`) const data = await response.json() console.log(`GitHub stars: ${data.stargazers_count}`) return data.stargazers_count } export default async function Home() { const { totalIcons } = await getTotalIcons() const recentIcons = await getRecentlyAddedIcons(10) const stars = await getGitHubStars() return (