import { fetchUserRepositories } from "../lib/api"; import { Project } from "../components/Projects"; import { Text } from "../components/utils/Text"; import { H1 } from "../components/utils/Titles"; import { Navbar } from "../components/nav/Navbar"; export default async function Projects() { const projects = await fetchUserRepositories().then((res) => res .filter((data) => !data.fork) .sort((a, b) => (b.stargazers_count ?? 0) - (a.stargazers_count ?? 0)) ); return ( /* Inherits from the RootLayout */

All Projects

Here's a list of all my public projects, they are sorted by most starred. Note that some projects are still under development and/or unfinished, but I'd like to get around to finishing them at some point in the future! I promise I'll implement sorting options soon
{projects.map((project) => (
))}
); }