add projects detail page, task create / delete

This commit is contained in:
Gregor Vostrak
2024-04-08 18:41:04 +02:00
parent 0081aa7a6e
commit 5293bc7a05
32 changed files with 733 additions and 215 deletions

View File

@@ -0,0 +1,24 @@
<script setup lang="ts">
import { Link } from '@inertiajs/vue3';
import { twMerge } from 'tailwind-merge';
defineProps<{
href?: string;
}>();
</script>
<template>
<Component
:is="href ? Link : 'div'"
:href="href"
:class="
twMerge(
'contents [&>*]:hover:bg-white/5 [&>*]:transition [&>*]:cursor-pointer [&>*]:border-row-separator [&>*]:border-b',
href ? '[&>*]:cursor-pointer' : ''
)
">
<slot></slot>
</Component>
</template>
<style scoped></style>