Skip to content

Commit f59a36a

Browse files
committed
Remove compiled assets and update footer view
Deleted CSS and JS files from resources, including compiled and source assets, and updated the Blade view and service provider. This likely reflects a move away from custom asset compilation or a refactor to handle assets differently.
1 parent 23826af commit f59a36a

File tree

7 files changed

+1
-62
lines changed

7 files changed

+1
-62
lines changed

resources/css/index.css

Lines changed: 0 additions & 43 deletions
This file was deleted.

resources/dist/.gitkeep

Whitespace-only changes.

resources/dist/filament-easy-footer.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

resources/dist/filament-easy-footer.js

Whitespace-only changes.

resources/js/index.js

Whitespace-only changes.

resources/views/easy-footer.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@class([
66
'fi-footer my-3 flex flex-wrap items-center justify-center text-sm text-gray-500 dark:text-gray-400',
77
'border-t border-gray-200 dark:border-gray-700 text-center p-2' => $footerPosition === 'sidebar' || $footerPosition === 'sidebar.footer' || $borderTopEnabled === true,
8-
'fi-sidebar gap-2' => $footerPosition === 'sidebar' || $footerPosition === 'sidebar.footer',
8+
'fi-sidebar gap-2 h-auto' => $footerPosition === 'sidebar' || $footerPosition === 'sidebar.footer',
99
'gap-4' => $footerPosition !== 'sidebar' && $footerPosition !== 'sidebar.footer',
1010
'mx-auto w-full px-4 md:px-6 lg:px-8' => $footerPosition === 'footer',
1111
match ($maxContentWidth ??= (filament()->getMaxContentWidth() ?? Width::SevenExtraLarge)) {

src/EasyFooterServiceProvider.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ public function packageBooted(): void
6060

6161
Livewire::component('devonab.filament-easy-footer.github-version', GitHubVersion::class);
6262

63-
FilamentAsset::register(
64-
$this->getAssets(),
65-
$this->getAssetPackageName()
66-
);
67-
6863
FilamentAsset::registerScriptData(
6964
$this->getScriptData(),
7065
$this->getAssetPackageName()
@@ -86,18 +81,6 @@ protected function getAssetPackageName(): ?string
8681
return 'devonab/filament-easy-footer';
8782
}
8883

89-
/**
90-
* @return array<Asset>
91-
*/
92-
protected function getAssets(): array
93-
{
94-
return [
95-
// AlpineComponent::make('filament-easy-footer', __DIR__ . '/../resources/dist/components/filament-easy-footer.js'),
96-
Css::make('filament-easy-footer-styles', __DIR__ . '/../resources/dist/filament-easy-footer.css'),
97-
Js::make('filament-easy-footer-scripts', __DIR__ . '/../resources/dist/filament-easy-footer.js'),
98-
];
99-
}
100-
10184
/**
10285
* @return array<string, mixed>
10386
*/

0 commit comments

Comments
 (0)