fix: Add cache control headers and improve typing indicator
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
- Add proper cache control headers in static.ts - HTML files: no-cache to always get fresh version - Assets: long cache with immutable (content-hashed filenames) - Improve typing indicator animation (larger dots, faster animation)
This commit is contained in:
@@ -13,13 +13,13 @@ interface Message {
|
||||
content: string;
|
||||
}
|
||||
|
||||
// Typing indicator with animated dots
|
||||
// Typing indicator with animated dots - v2
|
||||
function TypingIndicator() {
|
||||
return (
|
||||
<div className="flex items-center gap-1">
|
||||
<div className="w-2 h-2 bg-primary rounded-full animate-bounce" style={{ animationDelay: '0ms' }} />
|
||||
<div className="w-2 h-2 bg-primary rounded-full animate-bounce" style={{ animationDelay: '150ms' }} />
|
||||
<div className="w-2 h-2 bg-primary rounded-full animate-bounce" style={{ animationDelay: '300ms' }} />
|
||||
<div className="flex items-center gap-1.5">
|
||||
<div className="w-2.5 h-2.5 bg-primary rounded-full animate-bounce" style={{ animationDelay: '0ms', animationDuration: '0.6s' }} />
|
||||
<div className="w-2.5 h-2.5 bg-primary rounded-full animate-bounce" style={{ animationDelay: '150ms', animationDuration: '0.6s' }} />
|
||||
<div className="w-2.5 h-2.5 bg-primary rounded-full animate-bounce" style={{ animationDelay: '300ms', animationDuration: '0.6s' }} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user