File tree Expand file tree Collapse file tree 3 files changed +3
-33
lines changed
resources/views/components Expand file tree Collapse file tree 3 files changed +3
-33
lines changed Original file line number Diff line number Diff line change 1
- <div {{ $attributes -> style ([
2
- Illuminate \Support \Arr:: toCssStyles ([
3
- \Filament \Support \get_color_css_variables (
4
- $color ,
5
- shades : [400 , 900 ],
6
- ),
7
- ]),
8
- ]) } } >
9
- <div {{ $attributes -> class ([
10
- ' flex items-center gap-1 rounded-full px-2 py-1 text-xs font-semibold leading-tight shadow bg-custom-400 text-custom-900' ,
11
- ]) } } >
12
- @svg ($icon , ' h-5 w-5' )
13
-
14
- <span >{{ $label } } </span >
15
- </div >
16
- </div >
1
+ <x-cachet::badge :color =" $color" :label =" $label" :icon =" $icon" />
Original file line number Diff line number Diff line change 1
- <div {{ $attributes -> style ([
2
- Illuminate \Support \Arr:: toCssStyles ([
3
- \Filament \Support \get_color_css_variables (
4
- $color ,
5
- shades : [400 , 900 ],
6
- ),
7
- ]),
8
- ]) } } >
9
- <div {{ $attributes -> class ([
10
- ' flex items-center gap-1 rounded-full px-2 py-1 text-xs font-semibold leading-tight shadow bg-custom-400 text-custom-900' ,
11
- ]) } } >
12
- @svg ($icon , ' h-5 w-5' )
13
-
14
- <span >{{ $label } } </span >
15
- </div >
16
- </div >
1
+ <x-cachet::badge :color =" $color" :label =" $label" :icon =" $icon" />
Original file line number Diff line number Diff line change 13
13
' rounded-lg' => $incident -> incidentUpdates -> isEmpty (),
14
14
] )>
15
15
<div class =" text-xs font-medium" >{{ $incident -> components -> pluck (' name' )-> join (' , ' ) } } </div >
16
- <div class =" flex flex-col sm:flex-row justify-between gap-2 flex-col-reverse" >
16
+ <div class =" flex flex-col sm:flex-row justify-between gap-2 flex-col-reverse items-center " >
17
17
<div class =" flex flex-col flex-1" >
18
18
<h3 class =" max-w-full text-base font-semibold break-words sm:text-xl" >
19
19
<a href =" {{ route (' cachet.status-page.incident' , $incident ) } }" >{{ $incident -> name } } </a >
You can’t perform that action at this time.
0 commit comments