feat: Implement quotes

This commit is contained in:
Jesse Wierzbinski 2024-11-30 16:39:02 +01:00
parent 8cc4ff1348
commit 33cf7f5806
No known key found for this signature in database
6 changed files with 31 additions and 19 deletions

View file

@ -7,7 +7,6 @@
import type { Notification, Status } from "@versia/client/types";
import { computed } from "vue";
import NewNoteItem from "../notes/note.vue";
import NoteItem from "../social-elements/notes/note.vue";
import NotificationItem from "../social-elements/notifications/notif.vue";
const props = defineProps<{

View file

@ -1,7 +1,7 @@
<!-- Timeline.vue -->
<template>
<div class="timeline rounded overflow-hidden ring-1 ring-ring/10">
<TransitionGroup name="timeline-item" tag="div" class="timeline-items *:!border-b-[0.5px] *:last:border-0">
<div class="timeline rounded overflow-hidden">
<TransitionGroup name="timeline-item" tag="div" class="timeline-items *:rounded space-y-4 *:border *:border-border/50">
<TimelineItem :type="type" v-for="item in items" :key="item.id" :item="item" @update="updateItem"
@delete="removeItem" />
</TransitionGroup>