Skip to content

Commit bd6e92d

Browse files
Add landing page CTA
Add a final download-focused CTA section to the home page.
1 parent 3b9793f commit bd6e92d

1 file changed

Lines changed: 49 additions & 15 deletions

File tree

apps/web/src/routes/index.tsx

Lines changed: 49 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -346,21 +346,7 @@ function Component() {
346346
</p>
347347
<div className="mt-8 flex flex-wrap gap-x-5 gap-y-3 text-sm">
348348
<DownloadButton />
349-
<a
350-
href="https://github.com/fastrepl/anarlog"
351-
className="inline-flex items-center gap-2 rounded-full border border-[#d8d0c5] px-5 py-3 font-medium text-[#181613] transition-colors hover:border-[#b8aea0] hover:bg-[#f7f4ef]"
352-
>
353-
<img
354-
src="https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg"
355-
alt=""
356-
className="size-4"
357-
aria-hidden="true"
358-
/>
359-
<span>GitHub</span>
360-
<span className="text-[#756b5d]">
361-
{formattedGithubStars} stars
362-
</span>
363-
</a>
349+
<GitHubButton formattedGithubStars={formattedGithubStars} />
364350
</div>
365351
</section>
366352

@@ -392,6 +378,8 @@ function Component() {
392378
</div>
393379
</div>
394380
</section>
381+
382+
<FinalCtaSection formattedGithubStars={formattedGithubStars} />
395383
</div>
396384
</div>
397385

@@ -400,6 +388,52 @@ function Component() {
400388
);
401389
}
402390

391+
function FinalCtaSection({
392+
formattedGithubStars,
393+
}: {
394+
formattedGithubStars: string;
395+
}) {
396+
return (
397+
<section className="relative left-1/2 mt-6 w-screen -translate-x-1/2 py-16 md:py-20">
398+
<div className="mx-auto max-w-[700px] px-5 md:px-8">
399+
<h2 className="font-hand max-w-3xl text-5xl leading-[0.98] font-semibold tracking-normal text-balance text-[#181613] md:text-7xl">
400+
Keep your meeting notes yours.
401+
</h2>
402+
<p className="mt-6 max-w-2xl text-lg leading-8 text-[#4f4940]">
403+
Download Anarlog for macOS and turn private meeting notes into useful
404+
summaries without adding a bot to the room.
405+
</p>
406+
<div className="mt-8 flex flex-wrap gap-x-5 gap-y-3 text-sm">
407+
<DownloadButton />
408+
<GitHubButton formattedGithubStars={formattedGithubStars} />
409+
</div>
410+
</div>
411+
</section>
412+
);
413+
}
414+
415+
function GitHubButton({
416+
formattedGithubStars,
417+
}: {
418+
formattedGithubStars: string;
419+
}) {
420+
return (
421+
<a
422+
href="https://github.com/fastrepl/anarlog"
423+
className="inline-flex items-center gap-2 rounded-full border border-[#d8d0c5] px-5 py-3 font-medium text-[#181613] transition-colors hover:border-[#b8aea0] hover:bg-[#f7f4ef]"
424+
>
425+
<img
426+
src="https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg"
427+
alt=""
428+
className="size-4"
429+
aria-hidden="true"
430+
/>
431+
<span>GitHub</span>
432+
<span className="text-[#756b5d]">{formattedGithubStars} stars</span>
433+
</a>
434+
);
435+
}
436+
403437
function CredibilityLogoMarquee() {
404438
return (
405439
<section className="py-8" aria-labelledby="credibility-heading">

0 commit comments

Comments
 (0)