diff --git a/components/timeline/vertical-timeline-entry.vue b/components/timeline/vertical-timeline-entry.vue index 3fc5c28..e8d501e 100644 --- a/components/timeline/vertical-timeline-entry.vue +++ b/components/timeline/vertical-timeline-entry.vue @@ -2,6 +2,8 @@ import { bgColors } from "@/lib/colors"; import type { TimelineObject } from "@/types/timeline"; +import ReferenceButton from "../reference-button.vue"; + const localePath = useLocalePath(); const props = defineProps<{ @@ -82,9 +84,14 @@ const itemClass = computed(() => { :to="localePath(`/detail/${i.class}/${i.to.id}`)" class="flow-root rounded-md p-2 transition duration-150 ease-in-out hover:bg-neutral-100 focus:outline-none focus-visible:ring dark:hover:bg-neutral-900" > - +
{{ i.name }} - + +
{{ i.to.name }} @@ -97,9 +104,14 @@ const itemClass = computed(() => { :to="localePath(`/detail/${item.class}/${item.to.id}`)" class="flow-root rounded-md p-2 transition duration-150 ease-in-out hover:bg-neutral-100 focus:outline-none focus-visible:ring dark:hover:bg-neutral-900" > - +
{{ item.name }} - + +
{{ item.to.name }}