import { User } from "@supabase/supabase-js"; import AnimatedText from "./AnimatedText"; import { Emoji } from "./Emoji"; /** * Headlines for the landing page * * "No more boring AI conversations with a chatbot", * "No more boring AI conversations on a screen", * "No more boring AI chatbots", * "Experience AI conversations that feel real", * "No more boring AI chatbot convos", * "A new home for your AI characters", * "Hear a joke whenever you need a pick-me-up", * "Your AI, better at debates than Congress", * "Think TMZ, but with punchlines.", * "Say goodbye to boring AI chatbot conversations", * "The AI Device with the best dad jokes", * "The AI wearable for toys" * */ const HeaderText = "Elato"; interface FrontPageProps { user?: User; allPersonalities: IPersonality[]; } // const getRandomPersonalities = ( // personalities: IPersonality[], // count: number // ) => { // return [...personalities].sort(() => Math.random() - 0.5).slice(0, count); // }; // const getBlobShape = (index: number) => { // const shapes = [ // "40% 60% 70% 30% / 40% 50% 60% 50%", // "60% 40% 30% 70% / 60% 30% 50% 40%", // "50% 60% 40% 50% / 40% 60% 50% 60%", // "30% 70% 60% 40% / 50% 60% 40% 50%", // "45% 55% 65% 35% / 55% 45% 55% 45%", // "40% 60% 70% 30% / 40% 50% 60% 50%", // "60% 40% 30% 70% / 60% 30% 50% 40%", // "50% 60% 40% 50% / 40% 60% 50% 60%", // "30% 70% 60% 40% / 50% 60% 40% 50%", // "45% 55% 65% 35% / 55% 45% 55% 45%", // "40% 60% 70% 30% / 40% 50% 60% 50%", // "60% 40% 30% 70% / 60% 30% 50% 40%", // "50% 60% 40% 50% / 40% 60% 50% 60%", // "30% 70% 60% 40% / 50% 60% 40% 50%", // "45% 55% 65% 35% / 55% 45% 55% 45%", // "40% 60% 70% 30% / 40% 50% 60% 50%", // "60% 40% 30% 70% / 60% 30% 50% 40%", // "50% 60% 40% 50% / 40% 60% 50% 60%", // "30% 70% 60% 40% / 50% 60% 40% 50%", // "45% 55% 65% 35% / 55% 45% 55% 45%", // ]; // return shapes[index]; // }; const FrontPage = ({ user }: FrontPageProps) => { return (
{/* Now Available for Preorder */}

{HeaderText}

{/*

Real time{" "} AI conversations {" "} in one compact, open-source device

*/}

The screen-free storytelling toy starring your little one

{/*

{SubHeaderText}

*/} {/*
*/}
{/*
*/}
); }; export default FrontPage; { /* {getRandomPersonalities(allPersonalities, NUM_AVATARS).map( (personality, index) => { // Calculate position on a circle const angle = (index * (2 * Math.PI)) / NUM_AVATARS; // Divide circle by number of avatars const radius = 80; // Radius of the circular arrangement const centerX = 20; // Center point X (from right) const centerY = -10; // Center point Y (from top) // Calculate position using trigonometry const x = Math.cos(angle) * radius; const y = Math.sin(angle) * radius; return (
{personality.key}
); } )} */ }