Skip to content

Open source CapCut alternative.

TypeScript

Update GitHub org links

David Le27008ec187b7
diff --git a/scripts/promote-github-release.py b/scripts/promote-github-release.py
index ed3c8fbf..1cb1bc2b 100644
--- a/scripts/promote-github-release.py
+++ b/scripts/promote-github-release.py
@@ -111,7 +111,7 @@ def write_release_constants(path: Path, version: Version) -> None:
if LATEST_VERSION_RE.search(source):
next_source = LATEST_VERSION_RE.sub(replacement, source, count=1)
else:
- anchor = 'export const GITHUB_REPO_URL = "https://github.com/DonkeyUse-com/Donkey";'
+ anchor = 'export const GITHUB_REPO_URL = "https://github.com/DonkeyUseCorp/Donkey";'
next_source = source.replace(anchor, f"{anchor}\n{replacement}", 1)
path.write_text(next_source, encoding="utf-8")
diff --git a/site/src/app/_components/landing/FinalCTA.tsx b/site/src/app/_components/landing/FinalCTA.tsx
index b7178d30..b85d7901 100644
--- a/site/src/app/_components/landing/FinalCTA.tsx
+++ b/site/src/app/_components/landing/FinalCTA.tsx
@@ -3,7 +3,7 @@
import { ArrowRight } from "lucide-react";
import { PillButton } from "@/app/_components/landing/LandingPrimitives";
-import { DONKEY_DOWNLOAD_URL } from "@/app/_components/landing/data";
+import { DONKEY_INSTALL_URL } from "@/app/_components/landing/data";
import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
import { BLACK, CORAL } from "@/app/_components/landing/theme";
@@ -99,7 +99,7 @@ export function FinalCTA() {
justifyContent: "center",
}}
>
- <PillButton href={DONKEY_DOWNLOAD_URL} variant="primary" size="lg">
+ <PillButton href={DONKEY_INSTALL_URL} variant="primary" size="lg">
Download for Mac <ArrowRight size={18} />
</PillButton>
<PillButton href="/pricing" variant="secondary" size="lg">
diff --git a/site/src/app/_components/landing/Hero.tsx b/site/src/app/_components/landing/Hero.tsx
index 0dff5b06..256bb439 100644
--- a/site/src/app/_components/landing/Hero.tsx
+++ b/site/src/app/_components/landing/Hero.tsx
@@ -3,7 +3,7 @@
import { ArrowRight } from "lucide-react";
import { PillButton } from "@/app/_components/landing/LandingPrimitives";
-import { DONKEY_DOWNLOAD_URL } from "@/app/_components/landing/data";
+import { DONKEY_INSTALL_URL } from "@/app/_components/landing/data";
import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
export function Hero() {
@@ -45,7 +45,7 @@ export function Hero() {
you.
</p>
<div style={{ marginTop: 36, display: "flex", flexWrap: "wrap", gap: 12 }}>
- <PillButton href={DONKEY_DOWNLOAD_URL} variant="primary" size="lg">
+ <PillButton href={DONKEY_INSTALL_URL} variant="primary" size="lg">
Download for Mac <ArrowRight size={18} />
</PillButton>
</div>
diff --git a/site/src/app/_components/landing/OpenSource.tsx b/site/src/app/_components/landing/OpenSource.tsx
index 9ad431b2..1ad20ae0 100644
--- a/site/src/app/_components/landing/OpenSource.tsx
+++ b/site/src/app/_components/landing/OpenSource.tsx
@@ -86,7 +86,7 @@ export function OpenSource() {
}}
/>
<span style={{ marginLeft: 8, fontSize: 12 }}>
- ~/ - DonkeyUse-com/Donkey
+ ~/ - DonkeyUseCorp/Donkey
</span>
</div>
<div style={{ color: "#b7b7b7", whiteSpace: "nowrap" }}>
diff --git a/site/src/app/_components/landing/TopNav.tsx b/site/src/app/_components/landing/TopNav.tsx
index c5df50de..53fd5748 100644
--- a/site/src/app/_components/landing/TopNav.tsx
+++ b/site/src/app/_components/landing/TopNav.tsx
@@ -4,7 +4,7 @@ import Image from "next/image";
import { ArrowRight } from "lucide-react";
import { PillButton } from "@/app/_components/landing/LandingPrimitives";
-import { DONKEY_DOWNLOAD_URL } from "@/app/_components/landing/data";
+import { DONKEY_INSTALL_URL } from "@/app/_components/landing/data";
import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
import { BLACK } from "@/app/_components/landing/theme";
@@ -17,7 +17,7 @@ type Props = {
};
export function TopNav({
- ctaHref = DONKEY_DOWNLOAD_URL,
+ ctaHref = DONKEY_INSTALL_URL,
ctaLabel = "Download",
homeHref = "/",
}: Props) {
diff --git a/site/src/app/_components/landing/data.ts b/site/src/app/_components/landing/data.ts
index 0f31ee79..281c830d 100644
--- a/site/src/app/_components/landing/data.ts
+++ b/site/src/app/_components/landing/data.ts
@@ -1,6 +1,7 @@
import type { CardColor } from "@/app/_components/landing/theme";
-export const GITHUB_REPO_URL = "https://github.com/DonkeyUse-com/Donkey";
+export const GITHUB_REPO_URL = "https://github.com/DonkeyUseCorp/Donkey";
+export const DONKEY_INSTALL_URL = "/install";
export const DONKEY_LATEST_VERSION = "0.1.0";
export const DONKEY_LATEST_RELEASE_TAG = `v${DONKEY_LATEST_VERSION}`;
export const DONKEY_DOWNLOAD_URL = `${GITHUB_REPO_URL}/releases/download/${DONKEY_LATEST_RELEASE_TAG}/Donkey.dmg`;
diff --git a/site/src/app/legal/LegalPageShell.tsx b/site/src/app/legal/LegalPageShell.tsx
index ac392d01..6d119ff4 100644
--- a/site/src/app/legal/LegalPageShell.tsx
+++ b/site/src/app/legal/LegalPageShell.tsx
@@ -10,7 +10,7 @@ type Props = {
export function LegalPageShell({ children }: Props) {
return (
<main className="min-h-screen bg-[#F5EFE0] text-[#0F0E0D] antialiased [font-family:-apple-system,BlinkMacSystemFont,'Segoe_UI',sans-serif]">
- <TopNav ctaHref="/install" ctaLabel="Download" />
+ <TopNav />
<section className="mx-auto box-border w-full max-w-5xl px-6 py-12 md:px-10 md:py-20">
<article className="prose prose-neutral max-w-none prose-headings:font-semibold prose-headings:tracking-normal prose-h1:text-5xl prose-h1:leading-none prose-h2:mt-12 prose-h2:border-t prose-h2:border-black/15 prose-h2:pt-8 prose-a:font-semibold prose-a:text-black prose-strong:text-black md:prose-h1:text-7xl">
{children}