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

29 lines956 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.

Projects: what a workspace builds and runs, first on every page1import { GitBranch, Lock, Rocket, Settings, Webhook } from "lucide-react";
Webhooks: every event, to your own addresses, signed and retried2
3import { TabLink } from "./ui";
4
Projects: what a workspace builds and runs, first on every page5/**
6 * A project's settings, and its repository's: what is about running it
7 * first, then what is about the code.
8 */
Webhooks: every event, to your own addresses, signed and retried9export function RepoSettingsTabs({ base }: { base: string }) {
10 return (
11 <nav className="mb-8 flex gap-x-6 border-b border-line">
12 <TabLink to={`${base}/settings`} end icon={<Settings size={15} />}>
13 General
14 </TabLink>
Secrets and variables: one list, rows per environment, for workflows and deployments15 <TabLink to={`${base}/settings/deployments`} icon={<Rocket size={15} />}>
16 Deployments
Webhooks: every event, to your own addresses, signed and retried17 </TabLink>
Secrets and variables: one list, rows per environment, for workflows and deployments18 <TabLink to={`${base}/settings/secrets`} icon={<Lock size={15} />}>
GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs19 Secrets and variables
20 </TabLink>
Projects: what a workspace builds and runs, first on every page21 <TabLink to={`${base}/settings/repository`} icon={<GitBranch size={15} />}>
22 Repository
23 </TabLink>
Secrets and variables: one list, rows per environment, for workflows and deployments24 <TabLink to={`${base}/settings/webhooks`} icon={<Webhook size={15} />}>
25 Webhooks
26 </TabLink>
Webhooks: every event, to your own addresses, signed and retried27 </nav>
28 );
29}