diff --git a/app/Controllers/ProjectPages.php b/app/Controllers/ProjectPages.php index 00e0825..b9840c8 100644 --- a/app/Controllers/ProjectPages.php +++ b/app/Controllers/ProjectPages.php @@ -10,7 +10,7 @@ class ProjectPages extends ProjectBaseController { $this->session = \Config\Services::session(); $projData = new \App\Models\projectData(); - $this->appList = $projData->projectList(); + $this->appList = $projData->appProjectList(); $_SESSION['appList'] = $this->appList; } public function index() diff --git a/app/Models/projectData.php b/app/Models/projectData.php index 4f01606..e277cdd 100644 --- a/app/Models/projectData.php +++ b/app/Models/projectData.php @@ -10,6 +10,54 @@ class projectData extends baseModel parent::__construct(); } + public function appProjectList(){ + $data =[ + 'myfit'=>[ + 'name' => 'myFit A.I', + 'description' => 'This is the description of the project', + 'banner_image' => 'project_banner.jpg', + 'product_url' => 'www.chiefsoft.com', + ], + 'wrenchboard'=>[ + 'name' => 'WrenchBoard', + 'description' => 'This is the description of the project', + 'banner_image' => 'project_banner.jpg', + 'product_url' => 'www.chiefsoft.com', + ], + 'coregrade'=>[ + 'name' => 'CoreGrade', + 'description' => 'This is the description of the project', + 'banner_image' => 'project_banner.jpg', + 'product_url' => 'www.chiefsoft.com', + ], + 'float'=>[ + 'name' => 'Float (New)', + 'description' => 'This is the description of the project', + 'banner_image' => 'project_banner.jpg', + 'product_url' => 'www.chiefsoft.com', + ], + 'legacyfloat'=>[ + 'name' => 'Float (Legacy)', + 'description' => 'Float Current Project to be Redesigned', + 'banner_image' => 'project_banner.jpg', + 'product_url' => 'https://www.float.sg', + ], + 'merms'=>[ + 'name' => 'Merms EMR', + 'description' => 'This is the description of the project', + 'banner_image' => 'project_banner.jpg', + 'product_url' => 'www.chiefsoft.com', + ], + 'jubabox'=>[ + 'name' => 'JubaBox', + 'description' => 'This is the description of the project', + 'banner_image' => 'project_banner.jpg', + 'product_url' => 'www.chiefsoft.com', + ], + + ]; + return $data; + } public function projectList(){ $data =[ 'myfit'=>[