alternative tangled frontend (extremely wip)

feat: repos profile route

+7
+3
src/components/Profile/ProfileRepos.tsx
···
··· 1 + export const ProfileRepos = () => { 2 + return <></>; 3 + };
+4
src/routes/_layout/$identifier/index.tsx
··· 11 profileQueryOptions, 12 } from "@/lib/queries/get-profile"; 13 import { reposQueryOptions } from "@/lib/queries/get-repos"; 14 15 const paramsSchema = z.object({ 16 tab: z.string().optional(), ··· 75 switch (currTab) { 76 case "overview": 77 tabComponent = <ProfileOverview identifier={identifier} />; 78 break; 79 default: 80 tabComponent = <></>;
··· 11 profileQueryOptions, 12 } from "@/lib/queries/get-profile"; 13 import { reposQueryOptions } from "@/lib/queries/get-repos"; 14 + import { ProfileRepos } from "@/components/Profile/ProfileRepos"; 15 16 const paramsSchema = z.object({ 17 tab: z.string().optional(), ··· 76 switch (currTab) { 77 case "overview": 78 tabComponent = <ProfileOverview identifier={identifier} />; 79 + break; 80 + case "repos": 81 + tabComponent = <ProfileRepos />; 82 break; 83 default: 84 tabComponent = <></>;