Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

781 B
Raw Blame
<script setup lang="ts">
import PreviewAvatar from '@/components/posts/previews/PreviewAvatar.vue';
import type { PreviewAccount } from '@/components/posts/previews/types';

defineProps<{
    account: PreviewAccount;
    text: string;
}>();
</script>

<template>
    <div class="flex gap-2 border-t pt-3 pb-1">
        <PreviewAvatar :account="account" class="size-8 text-[11px]" />
        <div class="min-w-0 flex-1 rounded-lg bg-muted px-3 py-2">
            <p class="truncate text-[13px] font-semibold text-foreground">
                {{ account.display_label }}
            </p>
            <p
                class="text-[13px] break-words whitespace-pre-line text-foreground"
            >
                {{ text }}
            </p>
        </div>
    </div>
</template>