feat: adjust animation and rewording

This commit is contained in:
Li Xin
2025-04-25 13:20:41 +08:00
parent ec52f49156
commit 18494be796

View File

@@ -108,10 +108,10 @@ export function MessagesBlock({ className }: { className?: string }) {
<Welcome /> <Welcome />
</div> </div>
<motion.div <motion.div
className="h-42 w-full items-center justify-center transition-all duration-300" className="h-42 w-full items-center justify-center"
initial={{ opacity: 0, y: 200 }} initial={{ opacity: 0, y: "20vh" }}
animate={{ opacity: 1, y: 0 }} animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.3 }} transition={{ duration: 0.5 }}
> >
<Card <Card
className={cn( className={cn(
@@ -124,7 +124,7 @@ export function MessagesBlock({ className }: { className?: string }) {
<CardHeader> <CardHeader>
<CardTitle> <CardTitle>
<RainbowText animated={responding}> <RainbowText animated={responding}>
Replay Mode {responding ? "Replaying" : "Replay Mode"}
</RainbowText> </RainbowText>
</CardTitle> </CardTitle>
<CardDescription> <CardDescription>