Fix about page

This commit is contained in:
Olu Amey
2022-01-09 20:44:16 -05:00
parent 78c4fafe9e
commit ec670d2cc5
6 changed files with 116 additions and 3 deletions
+1
View File
@@ -35,6 +35,7 @@ $routes->setAutoRoute(true);
$routes->get('/', 'Home::index');
$routes->get('/covit', 'Land::covit',['as'=>'covit']);
$routes->get('/aboutus', 'Home::aboutus',['as'=>'aboutus']);
/*
* --------------------------------------------------------------------
* Additional Routing
+14 -1
View File
@@ -23,6 +23,19 @@ class Home extends BaseController {
$this->renderExtPage('merms-home', $data);
}
public function aboutus(){
global $myfit_items;
global $practice_text1;
global $practice_text2;
$data = array();
$data["blog_post"] =$this->getBlogItems(); // $blog_post;
$data["myfit_items"] = $myfit_items;
$data["practice_text1"] = $practice_text1;
$data["practice_text2"] = $practice_text2;
$data["country"] = MERMS_COUNTRIES;
$data["merms_faq"] = MERMS_FAQ;
$this->renderExtPage('aboutus', $data);
}
//--------------------------------------------------------------------
}
+1 -1
View File
@@ -24,7 +24,7 @@ class WpContentsClient
$response= []; // empty array
}
$responseArray = json_decode($response->getBody());
$cache->save('BlogWebData',$responseArray,600);
$cache->save('BlogWebData',$responseArray,7200);
}
else{
$responseArray = $cache->get('BlogWebData');
+99
View File
@@ -0,0 +1,99 @@
<!------main-content------>
<main class="main-content">
<section class="page_title">
<div class="container">
<div class="row">
<div class="col-lg-12 d-flex">
<div class="content_box">
<ul class="bread_crumb text-center">
<li class="bread_crumb-item"><a href="/">Home</a></li>
<li class="bread_crumb-item active"> About <?=PROUCT_BRAND_NAME?> </li>
</ul>
<h1 style="color: black;">About us </h1>
</div>
</div>
</div>
</div>
</section>
<section class="about type_one">
<div class="container">
<div class="row">
<div class="col-lg-4">
<div class="row">
<div class="col-lg-12 first_column">
<div class="icon_box type_one wow slideInUp" data-wow-delay="00ms" data-wow-duration="1500ms">
<div class="icon">
<img src="assets/image/dr-sanya-merms.jpg" alt="dr-sanya-merms" />
</div>
<div class="content_box">
<h2><a href="#">Dr. SanyaOlu A. Ameye. MBBS, FWACS, FMCORL</a></h2>
<p><a href="https://www.linkedin.com/in/sanyaolu-ameye-468335/">Linkedin</a> </p>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-8">
<div class="heading icon_dark tp_one">
<h1><?=PROUCT_BRAND_NAME?> </h1>
<span class="flaticon-virus icon"></span>
</div>
<div class="about_content">
<h4>Our Mission and Vision</h4>
<p class="description">MERMS was founded in 2000 with a simple goal: Provide practical patient, users, providers solutions that improve all outcomes. We also make it a foundation item to adapt the solutions we provide to evolving technology with ease of adoption.
</p>
<hr />
<p class="description">MERMS was built on the design of user care. We know we are all patient at a time, but that is not the totality of our care experience. So we have designed the intelligent solution to care for your health flow, what you need daily to moment by moment for the best outcome.
</p>
<p class="description">As a team of health providers, we understand the reality of connecting with the patient, especially when in the care transition period. Nobody wanted to know about the health situation late when it could be addressed early. This MERMS solution provides continuous health data integration for provider-patient optimization.
</p>
<p class="description">We have dedicated our careers to improving healthcare. We listen to our users and are proud to consider us care partners.
</p>
</div>
</div>
</div>
</div>
</section>
<section class="doctor type_one bg_white">
<div class="container">
<div class="row">
<div class="col-lg-12 ">
<div class="heading tp_one">
<h1>Latest from our blog</h1>
<span class="flaticon-virus icon"></span>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 padding_zero">
<div class="owl-carousel three_items">
<?php
foreach ($blog_post as $bitem) {
// print_r($bitem);
?>
<div class="doctor_box type_one ">
<div class="image_box">
<img src="<?=$bitem['image']?>" class="img-fluid" alt="<?= $bitem['title'] ?>" />
</div>
<div class="content_box">
<h2> <a href="<?= $bitem['link'] ?>"><?= $bitem['title'] ?> </a> </h2>
<small><?= $bitem['date'] ?></small>
<p><?= $bitem['desc']?>.</p>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
</section>
+1 -1
View File
@@ -213,7 +213,7 @@
</div>
</div>
</div>
<a href="#" class="theme_btn tp_two">Read More</a>
<a href="/aboutus" class="theme_btn tp_two">Read More</a>
</div>
</div>
</div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB