mirror of
https://gitbruv.vercel.app/api/git/bruv/gitbruv.git
synced 2025-12-20 23:24:09 +01:00
added
This commit is contained in:
parent
ba29d1ad56
commit
bbbf5f2a24
14 changed files with 1071 additions and 29 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { getSession } from "@/lib/session";
|
||||
import { getUserRepositories } from "@/actions/repositories";
|
||||
import { getUserRepositoriesWithStars } from "@/actions/repositories";
|
||||
import { RepoList } from "@/components/repo-list";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { GitBranch, Plus, Rocket, Code, Users, BookOpen } from "lucide-react";
|
||||
|
|
@ -13,7 +13,7 @@ export default async function HomePage() {
|
|||
}
|
||||
|
||||
const username = (session.user as { username?: string }).username || "";
|
||||
const repos = await getUserRepositories(username);
|
||||
const repos = await getUserRepositoriesWithStars(username);
|
||||
|
||||
return (
|
||||
<div className="container py-8">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue