feat: add projects page and rework home page

This commit is contained in:
2026-07-09 16:24:51 +02:00
parent 8aa5aca650
commit 834d7ed00f
32 changed files with 720 additions and 77 deletions
+10
View File
@@ -0,0 +1,10 @@
import type { GithubRepository } from '~/types/github-repository';
export const useGithub = () => {
const api = useApi('https://api.github.com');
const getRepoMeta = (owner: string, name: string): UseApiResponse<GithubRepository> =>
api.get<GithubRepository>(`repos/${owner}/${name}`);
return { getRepoMeta };
};