--- // Port of preview/pages/chat.html (layout: default) // Front matter page-container-class: "flex-fill d-flex flex-column" → containerClass prop. import DefaultLayout from '@shared/layouts/DefaultLayout.astro'; import Icon from '@shared/components/Icon.astro'; import Avatar from '@shared/components/ui/Avatar.astro'; import Chat from '@shared/components/ui/Chat.astro'; import people from '@data/people.json'; import chats from '@data/chats.json'; interface Person { full_name?: string; photo?: string; [key: string]: unknown; } interface Message { message?: string; [key: string]: unknown; } const sidebarPeople = (people as Person[]).slice(0, 10); const messages = chats as Message[]; ---