Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added credit footer #16

Merged
merged 1 commit into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading