refactor sitemap generation and navigation handling; remove old GenerateSitemap command, update to use tasks for better organization, and enhance navigation data retrieval

This commit is contained in:
F4ilji
2025-07-18 13:07:51 +05:00
parent 1257cd552c
commit 0874d3e6b5
28 changed files with 461 additions and 475 deletions
@@ -0,0 +1,16 @@
<?php
namespace App\Containers\AppStructure\Tasks;
use App\Containers\InstituteStructure\Models\Department;
class GetDepartmentsForSitemapTask
{
public function run()
{
return Department::query()
->where('is_active', true)
->with('faculty')
->get();
}
}