Skip to content

Commit d9d687f

Browse files
authored
Merge pull request #324 from apsinghdev/chore/rem-img
[feat] integrate the testimonial page
2 parents fed39a2 + dfbbca4 commit d9d687f

6 files changed

Lines changed: 56 additions & 13 deletions

File tree

apps/web/src/app/(main)/(landing)/pitch/page.tsx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -545,15 +545,23 @@ const Pitch = () => {
545545
<p>
546546
check out{" "}
547547
<Link
548-
href="/pricing#testimonials"
549-
target="_blank"
550-
rel="noopener noreferrer"
548+
href="/testimonials"
551549
className="text-link hover:text-link-hover underline"
552550
>
553-
reviews
551+
testimonials
554552
</Link>{" "}
555553
from investors who&apos;ve invested.
556554
</p>
555+
<p className="text-text-tertiary italic text-base">
556+
(you can also see more detailed reviews on the{" "}
557+
<Link
558+
href="/pricing#testimonials"
559+
className="text-link hover:text-link-hover underline"
560+
>
561+
pricing page
562+
</Link>
563+
)
564+
</p>
557565
</div>
558566
</motion.div>
559567
</div>
@@ -718,12 +726,10 @@ const Pitch = () => {
718726
</Link>{" "}
719727
i have done so far. and check the{" "}
720728
<Link
721-
href="/pricing#testimonials"
722-
target="_blank"
723-
rel="noopener noreferrer"
729+
href="/testimonials"
724730
className="text-link hover:text-link-hover underline"
725731
>
726-
reviews
732+
testimonials
727733
</Link>{" "}
728734
of investors who&apos;ve invested.
729735
</p>

apps/web/src/app/(main)/(landing)/pricing/page.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,16 @@ const Pricing = () => {
369369
</div>
370370
</div>
371371
<TestimonialsSection />
372+
<div className="border-b border-border text-center py-8 px-4">
373+
<p className="text-lg mb-4 text-text-secondary">
374+
<Link
375+
href="/testimonials"
376+
className="text-brand-purple-light hover:text-brand-purple transition-colors underline"
377+
>
378+
See what our Pro customers said about us.
379+
</Link>
380+
</p>
381+
</div>
372382
<div className=" border-b border-[#252525] text-center py-4 font-bold px-4">
373383
For any doubts or queries, feel free to ping us at{" "}
374384
<Link
@@ -534,7 +544,7 @@ const SecondaryPricingCard = ({
534544
callbackUrl={callbackUrl}
535545
buttonLocation="pricing_page"
536546
/>
537-
<div className="flex justify-center mt-3">
547+
<div className="flex flex-col items-center gap-2 mt-3">
538548
<Link
539549
href="/pitch"
540550
className="text-sm text-text-tertiary hover:text-brand-purple-light transition-colors lowercase"

apps/web/src/app/(main)/testimonials/page.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import React, { useMemo } from "react";
33
import Navbar from "@/components/landing-sections/navbar";
44
import Footer from "@/components/landing-sections/footer";
5-
import { Twitter, Linkedin, Instagram, Youtube } from "lucide-react";
5+
import { Twitter, Linkedin, Instagram, Youtube, Home } from "lucide-react";
6+
import Link from "next/link";
67

78
import { trpc } from "@/lib/trpc";
89
import { imageTestimonials } from "@/data/testimonials";
@@ -156,6 +157,16 @@ const TestimonialsPage = () => {
156157
<Navbar />
157158

158159
<div className="min-h-screen w-full max-w-[2000px] mx-auto border-x border-border overflow-hidden pt-24 pb-20 px-4 md:px-6 lg:px-10">
160+
<div className="mb-8 max-w-7xl mx-auto">
161+
<Link
162+
href="/"
163+
className="inline-flex items-center gap-2 text-text-tertiary hover:text-brand-purple transition-colors group"
164+
>
165+
<Home className="w-5 h-5 group-hover:scale-110 transition-transform" />
166+
<span className="text-sm font-medium">Home</span>
167+
</Link>
168+
</div>
169+
159170
{/* Header */}
160171
<div className="max-w-3xl mx-auto text-center mb-12 space-y-6">
161172
<h1 className="text-4xl md:text-5xl lg:text-6xl font-semibold tracking-tighter text-text-primary">

apps/web/src/components/landing-sections/CTA.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ import Link from "next/link";
88
import { useAnalytics } from "@/hooks/useAnalytics";
99

1010
const CTA = () => {
11-
const { trackButtonClick } = useAnalytics();
11+
const { trackButtonClick, trackLinkClick } = useAnalytics();
1212

1313
const handleGetStartedClick = () => {
1414
trackButtonClick("Get Started", "cta_section");
1515
};
1616

17+
const handleTestimonialsClick = () => {
18+
trackLinkClick("/testimonials", "See what our investors say", "cta_section", false);
19+
};
20+
1721
return (
1822
<div className="w-[94%] h-[420px] mt-2 mx-auto relative bg-transparent lg:bg-gradient-to-r from-white via-[#101010] to-white z-10 flex flex-col gap-6 items-center justify-center lg:p-[60px] rounded-3xl overflow-hidden">
1923
<Image
@@ -41,6 +45,13 @@ const CTA = () => {
4145
Get Started
4246
</PrimaryButtom>
4347
</Link>
48+
<Link
49+
href="/testimonials"
50+
className="text-text-tertiary hover:text-brand-purple-light transition-colors text-sm lg:text-base underline z-30"
51+
onClick={handleTestimonialsClick}
52+
>
53+
See what our investors say →
54+
</Link>
4455
</div>
4556
);
4657
};

apps/web/src/components/landing-sections/footer.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ const Footer = () => {
7373
>
7474
Pricing
7575
</Link>
76+
<Link
77+
href="/testimonials"
78+
className="text-[#b1b1b1] hover:text-white transition-colors text-xs"
79+
>
80+
Testimonials
81+
</Link>
7682
<Link
7783
href="/pitch"
7884
className="text-[#b1b1b1] hover:text-white transition-colors text-xs"

apps/web/src/components/landing-sections/navbar.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,11 @@ const Navbar = () => {
5050

5151
const links = [
5252
{ name: "Pricing", href: "/pricing" },
53+
{ name: "Testimonials", href: "/testimonials" },
5354
{ name: "Features", href: "/#features" },
5455
{ name: "Demo", href: "/#demo" },
5556
{ name: "How it works", href: "/#HIW" },
5657
{ name: "Stats", href: "/#Stats" },
57-
{ name: "Contact", href: "/#Contact" },
58-
{ name: "FAQ", href: "/#faq" },
5958
];
6059

6160
return (

0 commit comments

Comments
 (0)