18 Commits

Author SHA1 Message Date
d07976c52f Merge version_7 into main
Merge version_7 into main
2026-04-08 08:03:11 +00:00
060c2aff61 Update src/app/call-history/page.tsx 2026-04-08 08:03:08 +00:00
19b4561027 Merge version_6 into main
Merge version_6 into main
2026-04-08 01:57:48 +00:00
f14777a2a7 Update src/app/page.tsx 2026-04-08 01:57:45 +00:00
0749a0273a Update src/app/call-history/page.tsx 2026-04-08 01:57:45 +00:00
131d73f418 Merge version_5 into main
Merge version_5 into main
2026-04-08 01:54:29 +00:00
e75b933c6a Update src/app/call-history/page.tsx 2026-04-08 01:54:23 +00:00
a444f73c43 Merge version_5 into main
Merge version_5 into main
2026-04-08 01:54:01 +00:00
65f4abd0fc Update src/app/call-history/page.tsx 2026-04-08 01:53:55 +00:00
f158d6baa0 Merge version_4 into main
Merge version_4 into main
2026-04-08 01:47:51 +00:00
9574a73e1b Update src/app/call-history/page.tsx 2026-04-08 01:47:48 +00:00
e2a3d704e0 Merge version_3 into main
Merge version_3 into main
2026-04-08 01:46:11 +00:00
63728d296b Update src/app/call-history/page.tsx 2026-04-08 01:46:05 +00:00
7a82845411 Merge version_3 into main
Merge version_3 into main
2026-04-08 01:45:38 +00:00
e483d9fced Update src/app/call-history/page.tsx 2026-04-08 01:45:35 +00:00
9af763013d Merge version_3 into main
Merge version_3 into main
2026-04-08 01:45:13 +00:00
4a3cb052fb Update src/app/call-history/page.tsx 2026-04-08 01:45:07 +00:00
be738d81ca Merge version_2 into main
Merge version_2 into main
2026-04-08 01:39:55 +00:00
2 changed files with 49 additions and 18 deletions

View File

@@ -2,18 +2,23 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import CardStack from '@/components/cardStack/CardStack';
import { Clock } from "lucide-react";
export default function CallHistoryPage() {
const prospectNames = [
"Sarah Jenkins", "Ahmed Al-Mansoori", "Elena Rossi", "Mark Z", "Jane Doe",
"Alice Wong", "Robert Chen", "Sophia Martinez", "David Kim", "Linda Taylor", "Kevin Patel", "Emily Johnson", "Brian O'Connor", "Rachel Green", "Tom Hiddleston"
];
const callData = Array.from({ length: 15 }).map((_, i) => ({
id: `call-${i}`,
label: `Interaction ${i + 1}`,
title: `Customer #${1000 + i}`,
items: [
`Timestamp: ${new Date(Date.now() - i * 3600000).toLocaleString()}`,
"Status: Successfully handled by AI", "Confidence: 98%", "Action: Booked Appointment"
]
name: prospectNames[i],
timestamp: `${i + 1}h ago`,
snippet: i % 2 === 0
? "Interest confirmed in the premium tier, scheduling demo."
: "Standard inquiry regarding service availability and pricing.", status: i % 3 === 0 ? "Booked" : i % 3 === 1 ? "Follow-up" : "Lead"
}));
return (
@@ -31,7 +36,7 @@ export default function CallHistoryPage() {
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
<NavbarLayoutFloatingInline
navItems={[
{ name: "Home", id: "/" },
{ name: "Features", id: "/#features" },
@@ -39,20 +44,46 @@ export default function CallHistoryPage() {
{ name: "Call History", id: "/call-history" },
]}
brandName="ReceptionistAI"
button={{ text: "Get Started", href: "/contact" }}
/>
</div>
<div id="call-history-list" className="pt-32 pb-20">
<FeatureCardTwelve
<div id="call-history-list" data-section="call-history-list" className="pt-32 pb-20">
<CardStack
title="Call Interaction History"
description="Review the detailed log of all 15 recent receptionist interactions."
description="Review your latest prospect conversations and audio analysis."
textboxLayout="split"
animationType="slide-up"
useInvertedBackground={false}
features={callData}
/>
animationType="blur-reveal"
className="max-w-4xl mx-auto"
>
<div className="space-y-4">
{callData.map((call) => (
<div key={call.id} className="flex items-center justify-between p-6 bg-card rounded-xl border border-accent/20 hover:border-accent/50 transition-colors">
<div className="flex flex-col gap-1">
<h3 className="font-semibold flex items-center gap-2">
{call.name}
<span className="text-xs font-normal px-2 py-0.5 rounded-full bg-accent/10">{call.status}</span>
</h3>
<p className="text-sm opacity-70 italic">"{call.snippet}"</p>
<p className="text-xs opacity-50 flex items-center gap-1 mt-2"><Clock className="w-3 h-3" /> {call.timestamp}</p>
</div>
<div className="flex items-center gap-1">
<div className="w-24 h-8 flex items-end gap-0.5">
{[...Array(6)].map((_, j) => (
<div
key={j}
className="w-2 bg-primary-cta rounded-full animate-pulse"
style={{ height: `${20 + (Math.random() * 60)}%`, animationDelay: `${j * 0.15}s` }}
/>
))}
</div>
</div>
</div>
))}
</div>
</CardStack>
</div>
</ReactLenis>
</ThemeProvider>
);
}
}

View File

@@ -136,4 +136,4 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}
}