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

20 lines636 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.

GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs1import { KeyRound, Settings, Webhook } from "lucide-react";
Webhooks: every event, to your own addresses, signed and retried2
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>
GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs15 <TabLink to={`${base}/settings/secrets`} icon={<KeyRound size={15} />}>
16 Secrets and variables
17 </TabLink>
Webhooks: every event, to your own addresses, signed and retried18 </nav>
19 );
20}