-
-
+ class="flex flex-1 items-start gap-3 p-4 sm:p-5 text-left min-w-0 hover:bg-primary-500/5 transition-colors cursor-pointer">
+
+
+
+
-
-
-
- {{ $card->title }}
-
- {{ $card->course_name }}
-
-
-
- @if ($card->is_pinned)
-
- 📌 Dipinned
-
- @endif
- @if ($card->is_new)
-
- ✨ Baru
-
- @endif
+
+ {{ $card->title }}
+
+
+ {{ $card->course_name }}
+
- @if ($card->is_group)
-
- 👥 Kelompok
-
- @endif
-
- @if ($card->status_icon)
-
- @endif
- {{ $card->status_label }}
+
+ @if ($card->is_pinned)
+
+ 📌 Dipinned
-
- @if ($card->is_urgent)
-
- 🔥 Segera!
-
- @endif
-
-
-
-
-
-
- Batas: {{ $card->due_date_formatted }}
-
- @if ($card->submitted_at_formatted)
-
-
- Dikumpulkan:
- {{ $card->submitted_at_formatted }}
+ @endif
+ @if ($card->is_new)
+
+ ✨ Baru
+
+ @endif
+ @if ($card->is_group)
+
+ 👥 Kelompok
@endif
+
+ @if ($card->status_icon)
+
+ @endif
+ {{ $card->status_label }}
+
+
+ @if ($card->is_urgent)
+
+ 🔥 Segera!
+
+ @endif
+
+
+
+ Batas: {{ $card->due_date_formatted }}
+
+ @if ($card->submitted_at_formatted)
+
+
+ Dikumpulkan: {{ $card->submitted_at_formatted }}
+
+ @endif
+
@if ($card->can_submit_actual)
+ class="h-4 w-4 text-gray-400 group-hover:text-primary-500 mt-1 transition-colors shrink-0 hidden sm:block" />
@endif
+
+ class="flex items-center justify-start gap-2 px-4 py-2 border-t border-gray-100 dark:border-gray-700 sm:flex-col sm:items-start sm:justify-center sm:border-t-0 sm:border-l sm:px-2 sm:py-3 sm:shrink-0">
{{ ($this->pinAction)(['record' => $card->id]) }}
@canAny(['Update:Assignment', 'Delete:Assignment'])
{{ ($this->editAssignmentAction)(['record' => $card->id]) }}
-
{{ ($this->deleteAssignmentAction)(['record' => $card->id]) }}
@endcanAny
+
@if ($card->is_group && !$card->is_submitted)
-