File tree Expand file tree Collapse file tree 4 files changed +16
-21
lines changed Expand file tree Collapse file tree 4 files changed +16
-21
lines changed Original file line number Diff line number Diff line change 1
- @if ($about !== ' ' && $about !== null )
1
+ @if ($about !== ' ' )
2
2
<div >
3
3
<h2 class =" text-3xl font-semibold" >{{ __ (' About This Site' ) } } </h2 >
4
4
<div class =" prose-sm md:prose prose-zinc mt-1 dark:prose-invert prose-a:text-primary-500 prose-a:underline" >
Original file line number Diff line number Diff line change 1
1
<x-cachet::cachet :title =" $incident->name" >
2
2
<x-cachet::header />
3
3
4
- <div class =" container mx-auto max-w-5xl px-4 py-10 sm:px-6 lg:px-8" >
4
+ <div class =" container mx-auto max-w-5xl px-4 py-10 sm:px-6 lg:px-8 flex flex-col space-y-6 " >
5
5
<x-cachet::about />
6
6
7
- <div class =" mt-6 space-y-10" >
8
- <x-cachet::status-bar />
7
+ <x-cachet::status-bar />
9
8
10
- <div class =" flex flex-col gap-6" >
11
- <div class =" flex flex-col gap-14 w-full" >
12
- <x-cachet::incident :date =" $incident->occurred_at" :incidents =" [$incident]" />
13
- </div >
9
+ <div class =" flex flex-col gap-6" >
10
+ <div class =" flex flex-col gap-14 w-full" >
11
+ <x-cachet::incident :date =" $incident->occurred_at" :incidents =" [$incident]" />
14
12
</div >
15
-
16
13
</div >
17
14
</div >
18
15
Original file line number Diff line number Diff line change 1
1
<x-cachet::cachet >
2
2
<x-cachet::header />
3
3
4
- <div class =" container mx-auto max-w-5xl px-4 py-10 sm:px-6 lg:px-8" >
4
+ <div class =" container mx-auto max-w-5xl px-4 py-10 sm:px-6 lg:px-8 flex flex-col space-y-6 " >
5
5
<x-cachet::about />
6
6
7
- <div class =" mt-6 space-y-10" >
8
- <x-cachet::status-bar />
7
+ <x-cachet::status-bar />
9
8
10
- @foreach ($componentGroups as $componentGroup )
11
- <x-cachet::component-group :component-group =" $componentGroup" />
12
- @endforeach
9
+ @foreach ($componentGroups as $componentGroup )
10
+ <x-cachet::component-group :component-group =" $componentGroup" />
11
+ @endforeach
13
12
14
- @if ($schedules -> isNotEmpty () )
15
- <x-cachet::schedules :schedules =" $schedules" />
16
- @endif
13
+ @if ($schedules -> isNotEmpty () )
14
+ <x-cachet::schedules :schedules =" $schedules" />
15
+ @endif
17
16
18
- <x-cachet::incidents />
19
- </div >
17
+ <x-cachet::incidents />
20
18
</div >
21
19
22
20
<x-cachet::footer />
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public function __construct(private AppSettings $settings)
24
24
public function render (): View |Closure |string
25
25
{
26
26
return view ('cachet::components.about ' , [
27
- 'about ' => Str::of ($ this ->settings ->about )->trim ()->markdown (),
27
+ 'about ' => Str::of ($ this ->settings ->about )->trim ()->markdown ()-> toString () ,
28
28
]);
29
29
}
30
30
}
You can’t perform that action at this time.
0 commit comments