This commit is contained in:
CHIEFSOFT\ameye
2025-11-15 10:10:59 -05:00
parent fa9c23cf83
commit 744e2eaf37
2 changed files with 45 additions and 81 deletions
+25 -1
View File
@@ -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.'],
];
}
}
+20 -80
View File
@@ -1,5 +1,5 @@
<?php
$faq_list_data = $faq_data ?? [];
?>
<!-- START FAQ -->
@@ -13,86 +13,26 @@
<div class="row justify-content-center">
<div class="col-lg-6 col-sm-12 col-xs-12">
<div class="accordion" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
What is HealthRader?
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne"
data-bs-parent="#accordionExample">
<div class="accordion-body">
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.
<?php
foreach ($faq_list_data as $key => $value) {
?>
<div class="accordion-item">
<h2 class="accordion-header" id="heading<?=$key?>">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#collapse<?=$key?>" aria-expanded="false" aria-controls="collapse<?=$key?>">
<?=$value[0]?>
</button>
</h2>
<div id="collapse<?=$key?>" class="accordion-collapse collapse" aria-labelledby="heading<?=$key?>"
data-bs-parent="#accordionExample">
<div class="accordion-body">
<?=$value[1]?>
</div>
</div>
</div>
</div><!-- END ACCORDION ITEM -->
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Who will view my content?
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo"
data-bs-parent="#accordionExample">
<div class="accordion-body">
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.
</div>
</div>
</div><!-- END ACCORDION ITEM -->
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
What does it take become an author?
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree"
data-bs-parent="#accordionExample">
<div class="accordion-body">
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.
</div>
</div>
</div><!-- END ACCORDION ITEM -->
<div class="accordion-item">
<h2 class="accordion-header" id="headingFour">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
How to Change my Password easily?
</button>
</h2>
<div id="collapseFour" class="accordion-collapse collapse" aria-labelledby="headingFour"
data-bs-parent="#accordionExample">
<div class="accordion-body">
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.
</div>
</div>
</div><!-- END ACCORDION ITEM -->
<div class="accordion-item">
<h2 class="accordion-header" id="headingFive">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseFive" aria-expanded="true" aria-controls="collapseFive">
How does it create content?
</button>
</h2>
<div id="collapseFive" class="accordion-collapse collapse" aria-labelledby="headingFive"
data-bs-parent="#accordionExample">
<div class="accordion-body">
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.
</div>
</div>
</div><!-- END ACCORDION ITEM -->
</div><!-- END ACCORDION ITEM -->
<?php
}
?>
</div>
</div><!-- END COL -->
<div class="col-lg-6 col-sm-12 col-xs-12">