fix blog libks
This commit is contained in:
@@ -6,15 +6,12 @@ class Home extends BaseController
|
||||
{
|
||||
public function index(): string
|
||||
{
|
||||
|
||||
// $appConfig = config('Cache');
|
||||
// var_dump($appConfig->redis['host']);
|
||||
// exit();
|
||||
|
||||
$siteData =[];
|
||||
$out = $this->APIcall('GET','http://10.10.10.35:8805/blogdata/oluameye',[]);
|
||||
$siteData['blogdata'] = $out['payload']['blogdata'];
|
||||
$siteData['blog_media_url'] = $out['payload']['image_url'];
|
||||
//var_dump( $siteData['blogdata']);
|
||||
//exit;
|
||||
$siteData['recent_works'] = $this->recentWorks();
|
||||
return view('view_home', $siteData);
|
||||
}
|
||||
@@ -25,36 +22,48 @@ class Home extends BaseController
|
||||
'title'=>'Ecommerce',
|
||||
'category'=>'ecommerce',
|
||||
'banner'=>'./assets/images/1.jpg',
|
||||
'link'=> '',
|
||||
'extra_link' => '',
|
||||
'description'=> 'Ecommerce'
|
||||
],
|
||||
[
|
||||
'title'=>'Mobility',
|
||||
'category'=>'mobility',
|
||||
'banner'=>'./assets/images/2.jpg',
|
||||
'link'=> '',
|
||||
'extra_link' => '',
|
||||
'description'=> 'Optimizing Mobility'
|
||||
],
|
||||
[
|
||||
'title'=>'Healthcare',
|
||||
'category'=>'healthcare',
|
||||
'banner'=>'./assets/images/3.jpg',
|
||||
'link'=> '',
|
||||
'extra_link' => '',
|
||||
'description'=> 'Personal & Practices'
|
||||
],
|
||||
[
|
||||
'title'=>'Engineering',
|
||||
'category'=>'engineering',
|
||||
'banner'=>'./assets/images/4.jpg',
|
||||
'link'=> '',
|
||||
'extra_link' => '',
|
||||
'description'=> 'Robotics & Automation'
|
||||
],
|
||||
[
|
||||
'title'=>'Marketing',
|
||||
'category'=>'branding',
|
||||
'banner'=>'./assets/images/5.jpg',
|
||||
'link'=> '',
|
||||
'extra_link' => '',
|
||||
'description'=> 'Marketing'
|
||||
],
|
||||
[
|
||||
'title'=>'Research',
|
||||
'category'=>'research',
|
||||
'banner'=>'./assets/images/6.jpg',
|
||||
'link'=> '',
|
||||
'extra_link' => '',
|
||||
'description'=> 'Research'
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user