} </style> <title>Consulate Nepal </title> </head> <body> <?php use App\Pages; $pages = Pages::latest()->get(); ?> <div class="container-fluid" style="background-color:#071553;color:#f63e2a;height:200px;"> <img src="{{URL::asset('images/banner2.gif')}}" alt="logo" height="200px" float:"left" width="100%" > </div> </div> <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header">
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $pages = Pages::latest()->get(); return view('admin.pages.index')->with('pages', $pages); }