From 869d40892f646ce1e3cfdc3fcb4ea178a51a19b7 Mon Sep 17 00:00:00 2001 From: 199ocero <199ocero@gmail.com> Date: Thu, 4 Jan 2024 20:09:04 +0800 Subject: [PATCH] fix design and remove future todos --- .../components/activity-date.blade.php | 6 +- .../components/activity-description.blade.php | 2 +- .../components/activity-icon.blade.php | 68 +++- .../components/activity-section.blade.php | 341 +++--------------- .../components/activity-title.blade.php | 2 +- src/Components/ActivitySection.php | 83 +++-- 6 files changed, 153 insertions(+), 349 deletions(-) diff --git a/resources/views/infolists/components/activity-date.blade.php b/resources/views/infolists/components/activity-date.blade.php index 5778dd4..027ca9f 100644 --- a/resources/views/infolists/components/activity-date.blade.php +++ b/resources/views/infolists/components/activity-date.blade.php @@ -1,3 +1,5 @@ -
+ {{ $getState() != null ? $getDate($getState()) : $getPlaceholder() }} +
+
{{ $getState() ?? $getPlaceholder() }}
diff --git a/resources/views/infolists/components/activity-icon.blade.php b/resources/views/infolists/components/activity-icon.blade.php index 901a9c0..a4b4ca9 100644 --- a/resources/views/infolists/components/activity-icon.blade.php +++ b/resources/views/infolists/components/activity-icon.blade.php @@ -6,22 +6,54 @@ $color = $getColor($getState()) ?? 'gray'; $size = $getSize($getState()) ?? IconEntrySize::Medium; @endphp - -