Skip to content

Commit

Permalink
Merge pull request #78 from lara-zeus/about-command
Browse files Browse the repository at this point in the history
update about command
  • Loading branch information
atmonshi authored Dec 14, 2023
2 parents 8c803bf + af74f39 commit cd39e58
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ All Zeus plugins depend on other plugins, and you must register them all.
// or if you have more
->defaultLocales(['en', 'es']),

// required for 'Sky' and 'Rain' only
// required for 'Sky' and 'dynamic dashboard' only
FilamentNavigation::make(),
])
```
Expand Down
18 changes: 10 additions & 8 deletions src/CoreServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ public function packageBooted(): void
{
if (class_exists(AboutCommand::class) && class_exists(InstalledVersions::class)) {
$packages = collect([
'core',
'wind',
'sky',
'bolt',
'helen',
'bolt-pro',
'thunder',
'rain',
'hermes',
'qr',
'bolt',
'sky',
'wind',
'dynamic-dashboard',
'rhea',
'artemis',
'hermes',
'helen',
'matrix-choice',
'core',
'tyche',
])
->filter(fn (string $package): bool => InstalledVersions::isInstalled("lara-zeus/{$package}"))
Expand All @@ -42,7 +44,7 @@ public function packageBooted(): void
}
// let me have my fun 🤷🏽‍
Blade::directive('zeus', function () {
return '<span class="text-custom-700 group"><span class="font-semibold text-primary-600 group-hover:text-custom-500 transition ease-in-out duration-300">Lara&nbsp;<span class="line-through italic text-custom-500 group-hover:text-primary-600 transition ease-in-out duration-300">Z</span>eus</span></span>';
return '<span class="text-primary-700 group"><span class="font-semibold text-primary-600 group-hover:text-primary-500 transition ease-in-out duration-300">Lara&nbsp;<span class="line-through italic text-primary-500 group-hover:text-primary-600 transition ease-in-out duration-300">Z</span>eus</span></span>';
});

FilamentAsset::register([
Expand Down
6 changes: 3 additions & 3 deletions tailwind-filament.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ module.exports = {
'../sky/resources/views/components/nav-item.blade.php',
'../sky/resources/views/filament/**/*.blade.php',
'../sky/src/Models/PostStatus.php',
// Rain
'../rain/resources/views/filament/**/*.blade.php',
'../rain/src/Models/Columns.php',
// DynamicDashboard
'../dynamic-dashboard/resources/views/filament/**/*.blade.php',
'../dynamic-dashboard/src/Models/Columns.php',
// Rhea
'../rhea/resources/views/**/*.blade.php',
// Bolt
Expand Down
4 changes: 2 additions & 2 deletions tailwind-frontend.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ module.exports = {
// hermes
'../hermes/resources/views/themes/**/*.blade.php',
// Rain
'../rain/resources/views/themes/**/*.blade.php',
'../rain/src/Models/Columns.php',
'../dynamic-dashboard/resources/views/themes/**/*.blade.php',
'../dynamic-dashboard/src/Models/Columns.php',
// filament
'./vendor/filament/**/*.blade.php',
],
Expand Down

0 comments on commit cd39e58

Please sign in to comment.