Open source CapCut alternative.
TypeScript
feat(site): remove sign-in/sign-up entry points from Donkey Use landing
David Lea7f0e0488208
diff --git a/site/src/app/_components/landing/Footer.tsx b/site/src/app/_components/landing/Footer.tsxindex 6e822ff2..ea3c012a 100644--- a/site/src/app/_components/landing/Footer.tsx+++ b/site/src/app/_components/landing/Footer.tsx@@ -30,13 +30,6 @@ export function Footer() {{ href: GITHUB_REPO_URL, label: "GitHub" },],},- {- title: "Account",- links: [- { href: "/sign-in", label: "Log in" },- { href: "/sign-up", label: "Sign up" },- ],- },{title: "Legal",links: [diff --git a/site/src/app/_components/landing/TopNav.tsx b/site/src/app/_components/landing/TopNav.tsxindex 2f5cbda4..b8f980d1 100644--- a/site/src/app/_components/landing/TopNav.tsx+++ b/site/src/app/_components/landing/TopNav.tsx@@ -15,9 +15,8 @@ type Props = {// Wordmark next to the logo. Donkey Vision is its own B2B product, so that// page overrides the default "Donkey" with "Donkey Vision".wordmark?: string;- // Log in + Sign up cluster. Hidden when an authToggle is supplied.- showAuthLinks?: boolean;- // Sign-in/up pages swap the auth links for a single toggle to the other mode.+ // Sign-in/up pages show a single toggle to the other mode. Auth otherwise+ // lives on donkeycut.com, so the marketing nav carries no auth entry points.authToggle?: { href: string; label: string };// Signed-in pill into the product. The Cut landing points it at the Cut// projects home, which lives under a different base per host.@@ -27,7 +26,6 @@ type Props = {export function TopNav({homeHref = "/",wordmark = "Donkey",- showAuthLinks = true,authToggle,signedInPill = { href: "/app", label: "Dashboard" },}: Props) {@@ -88,20 +86,6 @@ export function TopNav({>{authToggle.label}</Link>- ) : showAuthLinks ? (- <>- <Link- href="/sign-in"- className="whitespace-nowrap text-sm font-semibold text-ink no-underline"- >- Log in- </Link>- <span className="hidden md:inline-flex">- <PillButton href="/sign-up" variant="secondary" size="sm">- Sign up- </PillButton>- </span>- </>) : null}</div></div>diff --git a/site/src/app/cut/_components/landing/CutLanding.tsx b/site/src/app/cut/_components/landing/CutLanding.tsxindex 16b31d53..1382c2a2 100644--- a/site/src/app/cut/_components/landing/CutLanding.tsx+++ b/site/src/app/cut/_components/landing/CutLanding.tsx@@ -11,10 +11,9 @@ import { CutWorksWith } from "@/app/cut/_components/landing/CutWorksWith";// The donkeycut.com marketing page: the Donkey landing's cream visual system// with Cut-only content. `root` is "" on donkeycut.com and "/cut" in dev, so-// links into the app resolve on either host. Auth links are hidden: /sign-in-// does not exist on donkeycut.com — sign-in happens through the app's own-// entry points — while the signed-in "Go to App" pill points at the Cut-// projects home on either host.+// links into the app resolve on either host. The nav carries no auth entry+// points — sign-in happens through the app's own surfaces (signInUrl) — while+// the signed-in "Go to App" pill points at the Cut projects home on either host.export function CutLanding({ root }: { root: string }) {return (<main@@ -29,7 +28,6 @@ export function CutLanding({ root }: { root: string }) {<TopNavhomeHref={root || "/"}wordmark="Donkey Cut"- showAuthLinks={false}signedInPill={{ href: `${root}/app`, label: "Go to App" }}/><CutHero root={root} />