feat: enhance chat room UI with user avatars and message improvements

- Added user avatar generation with external avatar service
- Implemented message styling with user-specific layouts
- Added message length counter and validation
- Updated CSS for improved message and user profile display
- Restricted message length to 2048 characters
- Added disabled state for send button based on message length
This commit is contained in:
Juan Sebastián Montoya 2025-03-07 01:06:31 -05:00
parent 3d41e2cc42
commit d4d99fb5e7
5 changed files with 144 additions and 24 deletions

View file

@ -9,7 +9,7 @@ import { PrismaClient } from '@prisma/client';
import fastifyCors from '@fastify/cors';
import { z } from 'zod';
dotenv.config({ path: '../../.env' });
dotenv.config({ path: '../../.env.local' });
const { allowedOrigins, port, host } = z
.object({