Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

report-entry.blade.php 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. @props([
  2. 'heading' => null,
  3. 'description' => null,
  4. 'icon' => null,
  5. 'iconColor' => 'gray',
  6. ])
  7. <div class="group relative p-6 hover:bg-gray-300/5 dark:hover:bg-gray-700/5">
  8. <span
  9. @class([
  10. 'inline-flex rounded-lg p-3 ring-4 ring-white dark:ring-gray-900',
  11. match ($iconColor) {
  12. 'gray' => 'fi-color-gray bg-gray-50 text-gray-700 dark:bg-gray-950 dark:text-gray-300',
  13. default => 'fi-color-custom bg-custom-50 text-custom-700 dark:bg-custom-950 dark:text-custom-300',
  14. },
  15. ])
  16. @style([
  17. \Filament\Support\get_color_css_variables(
  18. $iconColor,
  19. shades: [50, 300, 700, 950],
  20. ) => $iconColor !== 'gray',
  21. ])
  22. >
  23. <x-filament::icon :icon="$icon" class="h-6 w-6" />
  24. </span>
  25. <div class="mt-8 pr-1">
  26. <h3 class="text-base font-semibold leading-6 text-gray-950 dark:text-white">
  27. {{ $heading }}
  28. </h3>
  29. <p class="mt-2 text-sm text-gray-500 dark:text-gray-400">
  30. {{ $description }}
  31. </p>
  32. </div>
  33. <x-filament::icon
  34. icon="heroicon-o-arrow-up-right"
  35. class="absolute right-6 top-6 text-gray-300 group-hover:text-gray-400 h-6 w-6"
  36. />
  37. </div>