Skip to content

Commit b272d37

Browse files
use waitlist for now
1 parent e52ce7f commit b272d37

File tree

3 files changed

+41
-31
lines changed

3 files changed

+41
-31
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { cn } from "@hypr/utils";
2+
3+
export function JoinWaitlistButton() {
4+
return (
5+
<a
6+
href="https://tally.so/r/mJaRDY"
7+
target="_blank"
8+
rel="noopener noreferrer"
9+
className={cn([
10+
"group px-6 h-12 flex items-center justify-center text-base sm:text-lg",
11+
"bg-linear-to-t from-stone-600 to-stone-500 text-white rounded-full",
12+
"shadow-md hover:shadow-lg hover:scale-[102%] active:scale-[98%]",
13+
"transition-all",
14+
])}
15+
>
16+
Join waitlist
17+
<svg
18+
xmlns="http://www.w3.org/2000/svg"
19+
fill="none"
20+
viewBox="0 0 24 24"
21+
strokeWidth="1.5"
22+
stroke="currentColor"
23+
className="h-5 w-5 ml-2 group-hover:translate-x-1 transition-transform"
24+
>
25+
<path
26+
strokeLinecap="round"
27+
strokeLinejoin="round"
28+
d="m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
29+
/>
30+
</svg>
31+
</a>
32+
);
33+
}

apps/web/src/routes/_view/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { createFileRoute } from "@tanstack/react-router";
66
import { DownloadButton } from "@/components/download-button";
77
import { GitHubOpenSource } from "@/components/github-open-source";
88
import { GithubStars } from "@/components/github-stars";
9+
import { JoinWaitlistButton } from "@/components/join-waitlist-button";
910
import { LogoCloud } from "@/components/logo-cloud";
1011
import { SocialCard } from "@/components/social-card";
1112
import { VideoModal } from "@/components/video-modal";
@@ -153,7 +154,7 @@ function Component() {
153154

154155
{/* CTAs */}
155156
<div className="flex flex-col sm:flex-row gap-4 items-center">
156-
<DownloadButton />
157+
<JoinWaitlistButton />
157158
<p className="text-neutral-500">
158159
Free and{" "}
159160
<a

apps/web/src/routes/_view/route.tsx

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,14 @@ function Header() {
5050
</div>
5151
<nav className="flex items-center gap-6">
5252
<div className="flex gap-3">
53-
<HeaderUser />
54-
<Link
55-
to="/downloads"
53+
<a
54+
href="https://tally.so/r/mJaRDY"
55+
target="_blank"
56+
rel="noopener noreferrer"
5657
className="px-4 h-8 flex items-center text-sm bg-linear-to-t from-stone-600 to-stone-500 text-white rounded-full shadow-md hover:shadow-lg hover:scale-[102%] active:scale-[98%] transition-all"
5758
>
58-
Download
59-
</Link>
59+
Join waitlist
60+
</a>
6061
</div>
6162
</nav>
6263
</div>
@@ -65,31 +66,6 @@ function Header() {
6566
);
6667
}
6768

68-
function HeaderUser() {
69-
const { user } = Route.useLoaderData();
70-
71-
if (user) {
72-
return (
73-
<Link
74-
to="/app/account"
75-
className="px-3 h-8 flex items-center text-sm text-neutral-500 hover:text-neutral-800 transition-all hover:underline decoration-dotted"
76-
>
77-
Account
78-
</Link>
79-
);
80-
}
81-
82-
return (
83-
<Link
84-
to="/auth"
85-
search={{ flow: "web" }}
86-
className="px-3 h-8 flex items-center text-sm text-neutral-500 hover:text-neutral-800 transition-all hover:underline decoration-dotted"
87-
>
88-
Get Started
89-
</Link>
90-
);
91-
}
92-
9369
function Footer() {
9470
const currentYear = new Date().getFullYear();
9571

0 commit comments

Comments
 (0)