feat: add deals, tasks, and organizations pages with CRUD functionality
- Implemented DealsPage with deal creation, updating, and filtering features. - Added OrganizationsPage to manage and switch between organizations. - Created TasksPage for task management, including task creation and filtering. - Updated router to include new pages for navigation.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { CheckCircle2, CircleDashed } from 'lucide-react'
|
||||
|
||||
interface TaskStatusPillProps {
|
||||
done: boolean
|
||||
}
|
||||
|
||||
export const TaskStatusPill = ({ done }: TaskStatusPillProps) => (
|
||||
<span className="inline-flex items-center gap-1 rounded-full border px-2.5 py-0.5 text-xs font-semibold">
|
||||
{done ? <CheckCircle2 className="h-4 w-4 text-emerald-500" /> : <CircleDashed className="h-4 w-4 text-amber-500" />}
|
||||
{done ? 'Выполнена' : 'Открыта'}
|
||||
</span>
|
||||
)
|
||||
Reference in New Issue
Block a user