feat: update chat greeting (#905)

This commit is contained in:
Jeremy 2025-04-03 01:05:07 -07:00 committed by GitHub
parent be774ea0b6
commit ccbc649317
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 37 additions and 60 deletions

29
components/greeting.tsx Normal file
View file

@ -0,0 +1,29 @@
import { motion } from 'framer-motion';
export const Greeting = () => {
return (
<div
key="overview"
className="max-w-3xl mx-auto md:mt-20 px-8 size-full flex flex-col justify-center"
>
<motion.div
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 10 }}
transition={{ delay: 0.5 }}
className="text-2xl font-semibold"
>
Hello there!
</motion.div>
<motion.div
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 10 }}
transition={{ delay: 0.6 }}
className="text-2xl text-zinc-500"
>
How can I help you today?
</motion.div>
</div>
);
};