|
|
@ -14,6 +14,8 @@ interface Props { |
|
|
|
|
|
|
|
|
|
|
|
const { projects } = defineProps<Props>() |
|
|
|
const { projects } = defineProps<Props>() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const emit = defineEmits(['delete-project']) |
|
|
|
|
|
|
|
|
|
|
|
const { $e } = useNuxtApp() |
|
|
|
const { $e } = useNuxtApp() |
|
|
|
|
|
|
|
|
|
|
|
const { getColorByIndex } = useColors(true) |
|
|
|
const { getColorByIndex } = useColors(true) |
|
|
@ -72,18 +74,18 @@ const formatTitle = (title: string) => |
|
|
|
|
|
|
|
|
|
|
|
<MdiStarOutline class="star-icon" @click.stop /> |
|
|
|
<MdiStarOutline class="star-icon" @click.stop /> |
|
|
|
|
|
|
|
|
|
|
|
<v-menu> |
|
|
|
<a-dropdown @click.stop> |
|
|
|
<template #activator="{ props }"> |
|
|
|
<MdiMenuDown class="menu-icon" /> |
|
|
|
<MdiMenuDown class="menu-icon" @click.stop="props.onClick" /> |
|
|
|
<template #overlay> |
|
|
|
</template> |
|
|
|
<div |
|
|
|
|
|
|
|
class="grid grid-cols-6 cursor-pointer flex items-center p-2 border-1 bg-white dark:bg-slate-800 hover:bg-gray-200" |
|
|
|
<v-list class="!py-0 flex flex-col bg-white rounded-lg shadow-md border-1 border-gray-300"> |
|
|
|
@click.stop="emit('delete-project', project)" |
|
|
|
<div class="grid grid-cols-6 cursor-pointer hover:bg-gray-200 flex items-center p-2" @click.stop> |
|
|
|
> |
|
|
|
<MdiDeleteOutline class="col-span-2 mr-1 mt-[1px] text-red text-lg" /> |
|
|
|
<MdiDeleteOutline class="col-span-2 mr-1 mt-[1px] text-red text-lg" /> |
|
|
|
<div class="col-span-4 text-sm xl:text-md">{{ $t('general.delete') }}</div> |
|
|
|
<div class="col-span-4 text-sm xl:text-md">{{ $t('general.delete') }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</v-list> |
|
|
|
</template> |
|
|
|
</v-menu> |
|
|
|
</a-dropdown> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="prose-lg font-semibold"> |
|
|
|
<div class="prose-lg font-semibold"> |
|
|
@ -104,6 +106,7 @@ const formatTitle = (title: string) => |
|
|
|
content: ''; |
|
|
|
content: ''; |
|
|
|
z-index: -1; |
|
|
|
z-index: -1; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.thumbnail:hover::after { |
|
|
|
.thumbnail:hover::after { |
|
|
|
@apply shadow-2xl transform scale-110; |
|
|
|
@apply shadow-2xl transform scale-110; |
|
|
|
} |
|
|
|
} |
|
|
|