This commit is contained in:
tanch0
2024-06-16 00:15:09 +05:45
parent cb99bedac6
commit fcbaa0f679
647 changed files with 401 additions and 1780 deletions

View File

@ -30,10 +30,13 @@ class WebsiteController extends Controller
->where('status',1)
->get();
$data['sports'] = Newscategories::with('sportNews')->get();
$data['cultural'] = Newscategories::with('culturalNews')->get();
$data['technology'] = Newscategories::with('technologyNews')->get();
$data['entertainment'] = Newscategories::with('entertainmentNews')->get();
$data['branches'] = Newscategories::with('branchesNews')->get();
// dd($data['entertainment']);
$data['internationalNews'] = News_type::with('news')->get();