Redesign sales pipeline UI and reconnect it to live board APIs.
Keep the employer kanban layout while loading pipelines/deals from the server, persisting drag-and-drop moves, and seeding a Waiting pipeline with demo deals. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<script setup lang="ts">
|
||||
import DealCard from './DealCard.vue';
|
||||
import type { PipelineAccent, PipelineDeal } from '@/lib/pipeline-board';
|
||||
|
||||
defineProps<{
|
||||
deal: PipelineDeal;
|
||||
accent: PipelineAccent;
|
||||
x: number;
|
||||
y: number;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="overlay"
|
||||
:style="{ transform: `translate3d(${x}px, ${y}px, 0)` }"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<DealCard :deal="deal" :accent="accent" dragging />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 80;
|
||||
width: min(300px, 86vw);
|
||||
pointer-events: none;
|
||||
filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.16));
|
||||
opacity: 0.97;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user