diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index 9765b4d..3d88634 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -6,7 +6,31 @@ class Home extends BaseController { public function index(): string { + $data['faq_data'] = $this->faqData(); //return view('welcome_message'); - return view('index2'); + return view('index2',$data); } + + private function faqData() + { + return [ + [' What is HealthRader?', 'Great value and so easy to use and saves me so much time! I was shocked by how much time + and brain energy it saved me. Simple & easy gotta love that. Great value and so easy to + use.'], + [' What is HealthRader 11?', 'Great value and so easy to use and saves me so much time! I was shocked by how much time + and brain energy it saved me. Simple & easy gotta love that. Great value and so easy to + use.'], + [' What is HealthRader 22?', 'Great value and so easy to use and saves me so much time! I was shocked by how much time + and brain energy it saved me. Simple & easy gotta love that. Great value and so easy to + use.'], + [' What is HealthRader 33?', 'Great value and so easy to use and saves me so much time! I was shocked by how much time + and brain energy it saved me. Simple & easy gotta love that. Great value and so easy to + use.'], + [' What is HealthRader 55?', 'Great value and so easy to use and saves me so much time! I was shocked by how much time + and brain energy it saved me. Simple & easy gotta love that. Great value and so easy to + use.'], + ]; + + } + } diff --git a/app/Views/part_faq.php b/app/Views/part_faq.php index a791093..54047cf 100644 --- a/app/Views/part_faq.php +++ b/app/Views/part_faq.php @@ -1,5 +1,5 @@ @@ -13,86 +13,26 @@