Skip to content

Commit

Permalink
filament dashboard resources upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
Raza9798 committed Aug 13, 2024
1 parent 224d034 commit 10d7deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
6 changes: 2 additions & 4 deletions app/Filament/Admin/Pages/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ class Dashboard extends Page

public static $icon = 'heroicon-o-home';

public function view()
{
return view('filament.pages.dashboard');
}
public static string $view = 'filament.pages.dashboard';

}
30 changes: 1 addition & 29 deletions resources/views/filament/pages/dashboard.blade.php
Original file line number Diff line number Diff line change
@@ -1,33 +1,5 @@
<x-filament-panels::page>
<x-filament::grid columns="4">
<x-filament::grid.column>
<x-filament::card>
<h2 class="text-lg font-semibold">TEST</h2>
<p class="text-3xl font-bold"> 100 </p>
</x-filament::card>
</x-filament::grid.column>

<x-filament::grid.column>
<x-filament::card>
<h2 class="text-lg font-semibold">TEST</h2>
<p class="text-3xl font-bold"> 100 </p>
</x-filament::card>
</x-filament::grid.column>

<x-filament::grid.column>
<x-filament::card>
<h2 class="text-lg font-semibold">TEST</h2>
<p class="text-3xl font-bold"> 100 </p>
</x-filament::card>
</x-filament::grid.column>

<x-filament::grid.column>
<x-filament::card>
<h2 class="text-lg font-semibold">TEST</h2>
<p class="text-3xl font-bold"> 100 </p>
</x-filament::card>
</x-filament::grid.column>
</x-filament::grid>


<x-filament::card class="mt-6">
<h2 class="text-lg font-semibold mb-4">App Recent Activity</h2>
Expand Down

0 comments on commit 10d7deb

Please sign in to comment.