Posts

Showing posts from March, 2026

Infixstudios WEApp

Hero section :   You are given a task to integrate an existing React component in the codebase The codebase should support: - shadcn project structure   - Tailwind CSS - Typescript If it doesn't, provide instructions on how to setup project via shadcn CLI, install Tailwind or Typescript. Determine the default path for components and styles.  If default path for components is not /components/ui, provide instructions on why it's important to create this folder Copy-paste this component to /components/ui folder: ```tsx animated-hero.tsx import { useEffect, useMemo, useState } from "react"; import { motion } from "framer-motion"; import { MoveRight, PhoneCall } from "lucide-react"; import { Button } from "@/components/ui/button"; function Hero() {   const [titleNumber, setTitleNumber] = useState(0);   const titles = useMemo(     () => ["amazing", "new", "wonderful", "beautiful", "smart"],  ...