import { Container, Stack, Group, Avatar, Text, Title, Button, Spoiler, Grid, GridCol, } from '@mantine/core'; import { truncateText } from '@/lib/utils/text'; import MinimalProfileHeaderContainer from '../../containers/minimalProfileHeaderContainer/MinimalProfileHeaderContainer'; import { FaBluesky } from 'react-icons/fa6'; import { getProfile } from '../../lib/dal'; interface Props { handle: string; } export default async function ProfileHeader(props: Props) { const profile = await getProfile(props.handle); return ( {profile.name} @{profile.handle} {profile.description && ( {profile.description} )} ); }