import React from "react"; import { ArrowUpRight, Star } from "lucide-react"; import { Section } from "@/components/layout/Section"; import { Eyebrow } from "@/components/ui/eyebrow"; import { GitHubIcon } from "@/components/icons/BrandIcons"; import { Skeleton } from "@/components/ui/skeleton"; import { getRecentRepos } from "@/lib/github"; import { siteConfig } from "@/lib/site"; import { formatRelativeTime } from "@/lib/utils"; const profileUrl = `https://github.com/${siteConfig.githubUsername}`; /** Async island so the GitHub request never blocks the rest of the page. */ export async function GitHubActivity() { const repos = await getRecentRepos(); if (repos.length === 0) return null; return ( ); } export function GitHubActivitySkeleton() { return (
{Array.from({ length: 4 }).map((_, index) => (
))}
); } export function BuildingInPublic({ children, }: { children?: React.ReactNode; }) { return (
Building in public

What I've been shipping, live from GitHub.

@{siteConfig.githubUsername}
{children}
); }