Blog page added

This commit is contained in:
Olu Amey
2021-09-19 16:23:46 -04:00
parent ffcf8593b5
commit 9420c6c1af
8 changed files with 5479 additions and 5300 deletions
+7
View File
@@ -1,6 +1,7 @@
<?php
namespace App\Controllers;
use App\Services\WpContentsClient;
class Home extends BaseController
{
@@ -38,4 +39,10 @@ class Home extends BaseController
{
return view('home/howitworks');
}
public function blog()
{
$data = array();
$data["blog_post"] =$this->getBlogItems(); // $blog_post;
return view('blog/index',$data);
}
}