update rowy run docs link

This commit is contained in:
Sidney Alcantara
2021-11-10 14:45:15 +11:00
parent 8e151994b1
commit f5a3ebfb7f
3 changed files with 5 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ import LoadingButton from "@mui/lab/LoadingButton";
import InlineOpenInNewIcon from "@src/components/InlineOpenInNewIcon";
import { IProjectSettingsChildProps } from "@src/pages/Settings/ProjectSettings";
import { EXTERNAL_LINKS } from "@src/constants/externalLinks";
import { EXTERNAL_LINKS, WIKI_LINKS } from "@src/constants/externalLinks";
import { name } from "@root/package.json";
import { runRoutes } from "@src/constants/runRoutes";
@@ -152,11 +152,7 @@ export default function RowyRun({
</a>
)
) : (
<Button
href={EXTERNAL_LINKS.rowyRunDocs}
target="_blank"
rel="noopener noreferrer"
>
<Button href={WIKI_LINKS.rowyRun} target="_blank" rel="noopener noreferrer">
Deploy instructions
</Button>
);
@@ -168,7 +164,7 @@ export default function RowyRun({
such as table action scripts, user management, and easy Cloud Function
deployment.{" "}
<Link
href={EXTERNAL_LINKS.rowyRun}
href={WIKI_LINKS.rowyRun}
target="_blank"
rel="noopener noreferrer"
>

View File

@@ -12,7 +12,7 @@ import SetupItem from "./SetupItem";
import { name } from "@root/package.json";
import { rowyRun } from "@src/utils/rowyRun";
import { runRoutes } from "@src/constants/runRoutes";
import { EXTERNAL_LINKS } from "@src/constants/externalLinks";
import { EXTERNAL_LINKS, WIKI_LINKS } from "@src/constants/externalLinks";
export default function Step1RowyRun({
completion,
@@ -79,11 +79,7 @@ export default function Step1RowyRun({
/>
</a>
) : (
<Button
href={EXTERNAL_LINKS.rowyRunDocs}
target="_blank"
rel="noopener noreferrer"
>
<Button href={WIKI_LINKS.rowyRun} target="_blank" rel="noopener noreferrer">
Deploy instructions
<InlineOpenInNewIcon />
</Button>

View File

@@ -15,7 +15,6 @@ export const EXTERNAL_LINKS = {
rowyRunGitHub: meta.repository.url.replace(".git", "Run"),
// prettier-ignore
rowyRunDeploy: `https://deploy.cloud.run/?git_repo=${meta.repository.url.replace(".git", "Run")}.git`,
rowyRunDocs: meta.homepage.replace("//", "//docs.") + "/rowyRun",
rowyAppHostName: "rowy.app",