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
+8
View File
@@ -0,0 +1,8 @@
import type { CrateMeta } from '~/types/crate';
export const useCrates = () => {
const api = useApi('https://crates.io/api/v1/');
const getCrateInfo = (name: string): UseApiResponse<CrateMeta> => api.get<CrateMeta>(`crates/${name}`);
return { getCrateInfo };
};