<div class="card">
    <p class="content">{{ event().content }}</p>
    <div class="action-icons">
        <button class="edit-btn" (click)="onEdit()">Edit</button>
        <!-- <button class="icon-btn" title="Delete">&#128465;</button> -->
    </div>
    <span class="author">{{ event().createdByName }}</span>
    <span class="date">{{ event().createdAt | date:'MMM d, y' }}</span>
</div>