<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function home(){
return view('home');
}
public function about(){
return view('about-us');
}
public function contact(){
return view('contact-us');
}
public function news(){
$news = news_podcasts::latest()->take(10)->get();
return view('news', compact('news'));
}
public function podcasts(){
$news = NewsPodcasts::latest()->take(5)->get();
return view('podcasts', compact('news'));
}
public function gallery(){
return view('gallery');
}
public function shows(){
return view('shows');
}
public function newsDetails(){
return view('news_details');
}
}