AIvoices/frontend-nextjs/app/products/page.tsx
2025-04-20 21:05:55 +01:00

170 lines
7 KiB
TypeScript

import { Badge } from "@/components/ui/badge";
import { Truck, Box } from "lucide-react";
import Checkout from "../components/Order/Checkout";
import FAQ, { qnaProps } from "../components/Order/FAQ";
import Specs from "../components/Order/Specs";
import { DEVICE_COST, ORIGINAL_COST, paymentLink } from "@/lib/data";
import YoutubeDemo from "../components/LandingPage/YoutubeDemo";
import ProductGallery from "../components/LandingPage/ProductGallery";
import { CreditCardIcon, PowerIcon, ShieldCheckIcon, Settings2Icon, FileTextIcon, WifiIcon } from "lucide-react";
const SubtitleText =
"All AI characters packed into one fully assembled compact device that can be added to any object.";
const images = [
{
src: "/products/device1.jpeg",
alt: "Elato Device - white",
},
{
src: "/products/device2.jpeg",
alt: "Elato Device - gray",
},
{
src: "/products/device4.jpeg",
alt: "Elato Device - white",
},
{
src: "/products/device5.jpeg",
alt: "Elato Device - gray",
},
{
src: "/products/device6.jpeg",
alt: "Elato Device - black",
},
{
src: "/products/device7.jpeg",
alt: "Elato Device - white",
},
{
src: "/products/device8.jpeg",
alt: "Elato Device - gray",
},
];
const ICON_SIZE = 20;
const includedItems = [
"The Elato AI Device",
"USB Type-C Charging Cable",
// "Quick Start Guide",
"1 Month FREE Premium Subscription",
"2 Silicone Straps",
];
const technicalSpecs = [
"Dimensions: 4.5cm x 3.8cm x 1.9cm",
"Battery Life: 4+ days standby, 6 hours active use",
"Connectivity: Bluetooth 2.4 GHz, Wi-Fi + Hotspot",
"Access any AI character from Elato",
"Create your AI character with any voice and a bespoke personality",
];
const qna: qnaProps[] = [
{
question: "What happens after the 1-month free premium subscription?",
answer: "After your 1-month free trial, you can choose to continue with the premium features for $10/month, or use our free tier with limited usage. We'll remind you before the trial ends, so you can decide what's best for you.",
icon: <CreditCardIcon size={ICON_SIZE} />,
},
{
question: "How do I set up my Elato?",
answer: "Setting up your Elato is easy. Just press the main button on the device, find the ELATO-DEVICE wifi network, and register your device with your email. You'll be chatting with your favorite AI character in seconds.",
icon: <PowerIcon size={ICON_SIZE} />,
},
{
question: "Is my conversation data private and secure?",
answer: "We take your privacy seriously. All conversations are stored securely on our servers. You have full control over your data and can retrieve or delete it at any time. Reach out to us if you have any questions.",
icon: <ShieldCheckIcon size={ICON_SIZE} />,
},
{
question: "Can I customize my Elato AI's voice and personality?",
answer: "Yes! You can choose from a variety of voices and personalities for your AI character. As you interact more, it will naturally adapt to your preferences and conversation style.",
icon: <Settings2Icon size={ICON_SIZE} />,
},
{
question: "Can I use Elato AI with my documents?",
answer: "We are currently working on a robust Retrieval Augmented Generation (RAG) feature. It will be available very soon!",
icon: <FileTextIcon size={ICON_SIZE} />,
},
{
question: "Can I use Elato AI with any home wifi network?",
answer: "Yes! Elato AI will automatically connect to up to 5 private wifi networks or your phone hotspot. If you are having trouble connecting, please try restarting the device.",
icon: <WifiIcon size={ICON_SIZE} />,
},
];
export default function Component() {
return (
<div className="container px-0 mx-auto">
{/* <ProductsAndSub /> */}
{/* Hero Section */}
<div className="flex flex-col-reverse gap-6 sm:gap-12 md:flex-row items-start sm:mt-4 mb-16">
<div className="w-full md:w-3/5 px-4">
<ProductGallery images={images} />
</div>
<div className="md:w-2/5 px-6 mt-6">
<div className="flex flex-row items-center gap-2 mb-4">
<Badge
variant="secondary"
className="text-sm border-0 flex flex-row items-center gap-1 text-white bg-gradient-to-r from-yellow-500 to-amber-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-yellow-300 dark:focus:ring-yellow-800 font-medium rounded-lg text-center"
>
<Box size={16} /> {"Early Bird"}
</Badge>
<Badge
variant="secondary"
className="text-sm font-medium rounded-lg text-center flex flex-row items-center gap-1"
>
<Truck size={16} /> {"Kickstarter Pre-Order!"}
</Badge>
</div>
<h1 className="text-3xl font-silkscreen mt-10 mb-4 font-semibold tracking-tight sm:text-4xl">
Elato
</h1>
<p className="text-lg text-muted-foreground mb-6 -mt-2">
{SubtitleText}
</p>
<Checkout deviceCost={DEVICE_COST} originalCost={ORIGINAL_COST} paymentLink={paymentLink} />
<p className="text-sm text-muted-foreground/90">
*Buy now to get access to Elato Premium
FREE for 1 month. Fast shipping in 1 week.
</p>
</div>
</div>
<div className="my-12 px-4">
<YoutubeDemo caption="Watch the Elato Demo" />
</div>
{/* <ProductCarousel /> */}
<div className="flex flex-col gap-12 px-6">
{/* Product Details */}
<Specs includedItems={includedItems} technicalSpecs={technicalSpecs} />
{/* Key Features */}
{/* <KeyFeatures /> */}
{/* Testimonials */}
{/* <Reviews /> */}
{/* FAQ Section */}
<FAQ qna={qna} />
{/* Final CTA */}
{/* <div className="text-center mb-16">
<h2 className="text-3xl font-bold mb-4">
Ready to Meet Your New AI-in-a-Box?
</h2>
<p className="text-xl text-muted-foreground mb-8">
Order now and start your adventure with Elato AI!
</p>
<Button size="lg" className="text-lg px-8">
Get Your Elato AI Today{" "}
<ChevronRight className="ml-2 h-5 w-5" />
</Button>
</div> */}
{/* Delivery Notice */}
</div>
</div>
);
}