added text
This commit is contained in:
@@ -8,7 +8,12 @@ class Home extends BaseController
|
|||||||
{
|
{
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
return view('web/index');
|
$siteData =[];
|
||||||
|
$out = $this->APIcall('GET','http://10.10.10.35:8805/blogdata/coregrade',[]);
|
||||||
|
$siteData['blogdata'] = is_array( $out['payload']['blogdata']) ? $out['payload']['blogdata'] : [];
|
||||||
|
$siteData['blog_media_url'] = $out['payload']['image_url'];
|
||||||
|
|
||||||
|
return view('web/index',$siteData);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function blog()
|
public function blog()
|
||||||
|
|||||||
+18
-75
@@ -196,9 +196,9 @@
|
|||||||
<div>
|
<div>
|
||||||
<span class="short-title only-divider">Features</span>
|
<span class="short-title only-divider">Features</span>
|
||||||
</div>
|
</div>
|
||||||
<h2 class="title">AI solutions <span>tailored</span> <br/> for startups</h2>
|
<h2 class="title">AI solutions <span>tailored</span> <br/> for learning</h2>
|
||||||
<div class="te-section-desc">
|
<div class="te-section-desc">
|
||||||
<p>It is a long established fact that a reader will be distracted by the readable contedable content of a page whennt of a page when looking at its layout. The point of using Lorem Ipsum</p>
|
<p>Power your learning with CoreGrade, a flexible, scalable, and secure cloud and AI platform that enhances learning experiences, streamlines operations, and saves time to focus on what matters most—preparing you for the future.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -329,16 +329,22 @@
|
|||||||
<div>
|
<div>
|
||||||
<span class="short-title">LATEST BLOG</span>
|
<span class="short-title">LATEST BLOG</span>
|
||||||
</div>
|
</div>
|
||||||
<h2 class="title"><span>Innovate</span> and thrive with <br/> AI technology</h2>
|
<h2 class="title"><span>Innovate</span> and learn with <br/> AI technology</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row gy-5">
|
<div class="row gy-5">
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$ic= 0;
|
||||||
|
foreach ($blogdata as $item){
|
||||||
|
if ($ic < 3){
|
||||||
|
?>
|
||||||
<div class="col-lg-4 col-md-6">
|
<div class="col-lg-4 col-md-6">
|
||||||
<div class="te-post-card style-1">
|
<div class="te-post-card style-1">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
<img src="/asset/images/latest-post/l1.jpg" alt="post"/>
|
<img src="<?=$blog_media_url?>/<?=$item['meta_value']?>" alt="<?=$item['post_title']?>"/>
|
||||||
<div class="te-post-date">
|
<div class="te-post-date">
|
||||||
<span>Feb 06 2023</span>
|
<span>Feb 06 2023</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -349,91 +355,28 @@
|
|||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="fa-solid fa-user"></i>
|
<i class="fa-solid fa-user"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="text">By admin</span>
|
<span class="text">By CoreGrade</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="te-single-meta">
|
<div class="te-single-meta">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="fa-solid fa-comments"></i>
|
<i class="fa-solid fa-comments"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="text">Comments (05)</span>
|
<span class="text">Comments (<?php echo $item['comment_count'] ?>)</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 class="title">
|
<h3 class="title">
|
||||||
<a href="blog-details.html">The future outlook for AI-powered your startups</a>
|
<a href="/blog-details/<?=$item['id']?>"><?=$item['post_title']?></a>
|
||||||
</h3>
|
</h3>
|
||||||
<div class="te-post-content">
|
<div class="te-post-content">
|
||||||
<p>It is a long established fact that and a reader will be distrol acted It is a long established fact that</p>
|
<!-- <p> --><?php //echo substr( htmlentities($item["post_content"]), 0,25) ?><!--</p>-->
|
||||||
</div>
|
</div>
|
||||||
<a href="blog-details.html" class="read-btn">Learn More <i class="fa-light fa-arrow-right-long"></i></a>
|
<a href="/blog-details/<?=$item['id']?>" class="read-btn">Learn More <i class="fa-light fa-arrow-right-long"></i></a>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-4 col-md-6">
|
|
||||||
<div class="te-post-card style-1">
|
|
||||||
<div class="image">
|
|
||||||
<img src="/asset/images/latest-post/l2.jpg" alt="post"/>
|
|
||||||
<div class="te-post-date">
|
|
||||||
<span>Feb 06 2023</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
|
||||||
<div class="te-post-meta-info">
|
|
||||||
<div class="te-single-meta">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fa-solid fa-user"></i>
|
|
||||||
</span>
|
|
||||||
<span class="text">By admin</span>
|
|
||||||
</div>
|
|
||||||
<div class="te-single-meta">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fa-solid fa-comments"></i>
|
|
||||||
</span>
|
|
||||||
<span class="text">Comments (05)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<h3 class="title">
|
|
||||||
<a href="blog-details.html">Difference between your AI and automation</a>
|
|
||||||
</h3>
|
|
||||||
<div class="te-post-content">
|
|
||||||
<p>It is a long established fact that and a reader will be distrol acted It is a long established fact that</p>
|
|
||||||
</div>
|
|
||||||
<a href="blog-details.html" class="read-btn">Learn More <i class="fa-light fa-arrow-right-long"></i></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-4 col-md-6">
|
|
||||||
<div class="te-post-card style-1">
|
|
||||||
<div class="image">
|
|
||||||
<img src="/asset/images/latest-post/l3.jpg" alt="post"/>
|
|
||||||
<div class="te-post-date">
|
|
||||||
<span>Feb 06 2023</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
|
||||||
<div class="te-post-meta-info">
|
|
||||||
<div class="te-single-meta">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fa-solid fa-user"></i>
|
|
||||||
</span>
|
|
||||||
<span class="text">By admin</span>
|
|
||||||
</div>
|
|
||||||
<div class="te-single-meta">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fa-solid fa-comments"></i>
|
|
||||||
</span>
|
|
||||||
<span class="text">Comments (05)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<h3 class="title">
|
|
||||||
<a href="blog-details.html">Ignite ethical considerations for AI-powered startups</a>
|
|
||||||
</h3>
|
|
||||||
<div class="te-post-content">
|
|
||||||
<p>It is a long established fact that and a reader will be distrol acted It is a long established fact that</p>
|
|
||||||
</div>
|
|
||||||
<a href="blog-details.html" class="read-btn">Learn More <i class="fa-light fa-arrow-right-long"></i></a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
||||||
|
} $ic++; }
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 196 KiB |
Reference in New Issue
Block a user