Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
Cannonb4ll committed Dec 4, 2023
1 parent 82afc29 commit 3fc1281
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
@endif
<div class="grid grid-cols-1 lg:grid-cols-2 gap-4">
@foreach(app(\App\Settings\GeneralSettings::class)->dashboard_items as $item)
<div class="space-y-2 col-span-{{ $item['column_span'] ?? 1 }}">
<h2 class="text-lg tracking-tight font-bold">{{ trans('general.'. $item['type']) }}</h2>
<div class="space-y-2 col-span-{{ $item->column_span ?? 1 }}">
<h2 class="text-lg tracking-tight font-bold">{{ trans('general.'. $item->type) }}</h2>

<livewire:is component="welcome.{{ $item['type'] }}"/>
<livewire:is component="welcome.{{ $item->type }}"/>
</div>
@endforeach
</div>
Expand Down

0 comments on commit 3fc1281

Please sign in to comment.