tangled
alpha
login
or
join now
isuggest.selfce.st
/
strand
3
fork
atom
alternative tangled frontend (extremely wip)
3
fork
atom
overview
issues
pulls
pipelines
feat: repos profile route
serenity
1 week ago
c4816ac1
07a63217
+7
2 changed files
expand all
collapse all
unified
split
src
components
Profile
ProfileRepos.tsx
routes
_layout
$identifier
index.tsx
+3
src/components/Profile/ProfileRepos.tsx
···
1
1
+
export const ProfileRepos = () => {
2
2
+
return <></>;
3
3
+
};
+4
src/routes/_layout/$identifier/index.tsx
···
11
11
profileQueryOptions,
12
12
} from "@/lib/queries/get-profile";
13
13
import { reposQueryOptions } from "@/lib/queries/get-repos";
14
14
+
import { ProfileRepos } from "@/components/Profile/ProfileRepos";
14
15
15
16
const paramsSchema = z.object({
16
17
tab: z.string().optional(),
···
75
76
switch (currTab) {
76
77
case "overview":
77
78
tabComponent = <ProfileOverview identifier={identifier} />;
79
79
+
break;
80
80
+
case "repos":
81
81
+
tabComponent = <ProfileRepos />;
78
82
break;
79
83
default:
80
84
tabComponent = <></>;