The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Merge branch 'main' into help
Steven Tey116ac655203d
diff --cc app/ui/home/background/index.tsxindex 50f1a34413,2d52ca17d9..b330c90ef2--- a/app/ui/home/background/index.tsx+++ b/app/ui/home/background/index.tsx@@@ -9,10 -15,10 +9,10 @@@ export default function Background()try {segment = useSelectedLayoutSegment();} catch (e) {- // this is for /login and /signup which are still on /pages router+ // this is for /welcome which is still on /pages router}- return !segment || showBackgroundSegments.has(segment) ? (+ return !segment || SHOW_BACKGROUND_SEGMENTS.has(segment) ? (<div className={styles.main}><div className={styles.content} /></div>diff --cc app/ui/home/nav.tsxindex 0c701e5103,3b32d24418..3fe40da5e5--- a/app/ui/home/nav.tsx+++ b/app/ui/home/nav.tsx@@@ -6,24 -6,13 +6,24 @@@ import { useParams, useSelectedLayoutSeimport useScroll from "#/lib/hooks/use-scroll";import { cn } from "#/lib/utils";import MaxWidthWrapper from "@/components/shared/max-width-wrapper";-import { APP_DOMAIN } from "#/lib/constants";+import { APP_DOMAIN, SHOW_BACKGROUND_SEGMENTS } from "#/lib/constants";import va from "@vercel/analytics";- import { LogoType } from "../icons";+ import { LogoType } from "#/ui/icons";-const navItems = ["pricing", "changelog"];--const transparentHeaderSegments = new Set(["metatags", "pricing"]);+const navItems = [+ {+ name: "Pricing",+ segment: "pricing",+ },+ {+ name: "Changelog",+ segment: "changelog",+ },+ {+ name: "Help Center",+ segment: "help",+ },+];export default function Nav() {const { domain = "dub.sh" } = useParams() as { domain: string };