import { createClient } from "@/utils/supabase/server"; import { getAllPersonalities } from "@/db/personalities"; import EndingSection from "../components/LandingPage/EndingSection"; import FrontPage from "../components/LandingPage/FrontPage"; import Personalities from "../components/LandingPage/Personalities"; import { Button } from "@/components/ui/button"; import { Gamepad2, SmilePlus, Command, MessagesSquare, Bookmark, Share2, MessageCircle, Heart, Share, Wand } from "lucide-react"; import PreorderButton from "../components/PreorderButton"; import Link from "next/link"; import Usecases from "../components/LandingPage/Usecases"; import VideoPlayer from "../components/LandingPage/VideoPlayer"; import { videoSrc, videoSrc2, videoSrc3, videoSrc4 } from "@/lib/data"; import { redirect } from "next/navigation"; const steps = [ { title: "1. Pick their favorite story", description: "Select from a wide range of AI characters, each with unique personalities, stories and knowledge bases.", icon: , color: "text-amber-400" }, { title: "2. Connect the toy", description: "Easily set up your Elato device with your home Wi-Fi network or Personal hotspot.", icon: , color: "text-amber-500" }, { title: "3. Begin a new adventure", description: "Your characters are now always ready to chat. Watch your child's imagination come to life as they interact with (and create!) their own stories.", icon: , color: "text-amber-600" }, ] export default async function Index() { redirect("/"); const supabase = createClient(); const { data: { user }, } = await supabase.auth.getUser(); const allPersonalities = await getAllPersonalities(supabase); return (

{"The Elato toy combines AI-powered creative storytelling with a screen-free experience where children become the stars of their own adventures."}

{/* */} {/*

With a character for every occasion including

*/} {/* */} {/* */}
{steps.map((step, index) => (

{step.title} {step.icon}

{step.description}

))}
{/* */} {/* */}
); }