Skip to content

Commit

Permalink
added credit footer
Browse files Browse the repository at this point in the history
  • Loading branch information
AHS12 committed Oct 14, 2023
1 parent b02359d commit 00505c2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ public static function table(Table $table): Table
// ); //performance issue
// ->defaultPaginationPageOption(25)
//->reorderable('sort')
//->selectCurrentPageOnly()
->queryStringIdentifier('users')
->deferLoading();
}
Expand Down
6 changes: 5 additions & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ public function panel(Panel $panel): Panel
])
->authMiddleware([
Authenticate::class,
]);
])
->renderHook(
'panels::body.end',
fn () => view('filament.common.footer'),
);
}
}
15 changes: 15 additions & 0 deletions resources/views/filament/common/footer.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{-- <footer class="fixed bottom-0 left-0 z-20 w-full p-4 bg-white border-t border-gray-200 shadow md:flex md:items-center md:justify-between md:p-6 dark:bg-gray-800 dark:border-gray-600">
<span class="text-sm text-gray-500 sm:text-center dark:text-gray-400">© 2023
<a href="#" class="hover:underline">Your Site™</a>. All Rights Reserved.
</span>
</footer> --}}
<footer class="relative z-20 w-full p-4 bg-white border-t border-gray-200 shadow md:flex md:items-center md:justify-between md:p-6 dark:bg-gray-800 dark:border-gray-600">
<span class="text-sm text-gray-500 sm:text-center dark:text-gray-400" style="text-align: center;">
© <span id="currentYear">2023</span>
<a href="#" class="hover:underline">Developed By Innovix Matrix Systems™</a>. All Rights Reserved.
</span>
</footer>

<script>
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
</script>
1 change: 0 additions & 1 deletion resources/views/filament/settings/footer.blade.php

This file was deleted.

0 comments on commit 00505c2

Please sign in to comment.