g1t/apps/web/app/components/repo-settings-tabs.tsx

17 lines501 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Webhooks: every event, to your own addresses, signed and retried1import { Settings, Webhook } from "lucide-react";
2
3import { TabLink } from "./ui";
4
5/** The parts of a repository's settings. */
6export function RepoSettingsTabs({ base }: { base: string }) {
7 return (
8 <nav className="mb-8 flex gap-x-6 border-b border-line">
9 <TabLink to={`${base}/settings`} end icon={<Settings size={15} />}>
10 General
11 </TabLink>
12 <TabLink to={`${base}/settings/webhooks`} icon={<Webhook size={15} />}>
13 Webhooks
14 </TabLink>
15 </nav>
16 );
17}