|
1 | 1 | import { ArrowUturnLeftIcon, BookOpenIcon } from "@heroicons/react/20/solid"; |
2 | 2 | import { type MetaFunction, Outlet, useLocation, useNavigate, useParams } from "@remix-run/react"; |
3 | 3 | import { type LoaderFunctionArgs } from "@remix-run/server-runtime"; |
4 | | -import { GitBranchIcon } from "lucide-react"; |
| 4 | +import { CogIcon, GitBranchIcon } from "lucide-react"; |
5 | 5 | import { useEffect } from "react"; |
6 | 6 | import { typedjson, useTypedLoaderData } from "remix-typedjson"; |
7 | 7 | import { z } from "zod"; |
@@ -53,7 +53,12 @@ import { |
53 | 53 | import { requireUserId } from "~/services/session.server"; |
54 | 54 | import { titleCase } from "~/utils"; |
55 | 55 | import { cn } from "~/utils/cn"; |
56 | | -import { EnvironmentParamSchema, docsPath, v3DeploymentPath } from "~/utils/pathBuilder"; |
| 56 | +import { |
| 57 | + EnvironmentParamSchema, |
| 58 | + docsPath, |
| 59 | + v3DeploymentPath, |
| 60 | + v3ProjectSettingsPath, |
| 61 | +} from "~/utils/pathBuilder"; |
57 | 62 | import { createSearchParams } from "~/utils/searchParams"; |
58 | 63 | import { BranchTrackingConfigSchema, getTrackedBranchForEnvironment } from "~/v3/github"; |
59 | 64 | import { compareDeploymentVersions } from "~/v3/utils/deploymentVersions"; |
@@ -319,6 +324,11 @@ export default function Page() { |
319 | 324 | > |
320 | 325 | {connectedGithubRepository.repository.fullName} |
321 | 326 | </a> |
| 327 | + <LinkButton |
| 328 | + variant="minimal/small" |
| 329 | + LeadingIcon={CogIcon} |
| 330 | + to={v3ProjectSettingsPath(organization, project, environment)} |
| 331 | + /> |
322 | 332 | </div> |
323 | 333 | )} |
324 | 334 | <PaginationControls currentPage={currentPage} totalPages={totalPages} /> |
|
0 commit comments