added text

This commit is contained in:
CHIEFSOFT\ameye
2025-06-22 08:42:56 -04:00
parent cee04ed858
commit 765279728a
3 changed files with 24 additions and 76 deletions
+6 -1
View File
@@ -8,7 +8,12 @@ class Home extends BaseController
{
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()
+18 -75
View File
@@ -196,9 +196,9 @@
<div>
<span class="short-title only-divider">Features</span>
</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">
<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>
@@ -329,16 +329,22 @@
<div>
<span class="short-title">LATEST BLOG</span>
</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 class="row gy-5">
<?php
$ic= 0;
foreach ($blogdata as $item){
if ($ic < 3){
?>
<div class="col-lg-4 col-md-6">
<div class="te-post-card style-1">
<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">
<span>Feb 06 2023</span>
</div>
@@ -349,91 +355,28 @@
<span class="icon">
<i class="fa-solid fa-user"></i>
</span>
<span class="text">By admin</span>
<span class="text">By CoreGrade</span>
</div>
<div class="te-single-meta">
<span class="icon">
<i class="fa-solid fa-comments"></i>
</span>
<span class="text">Comments (05)</span>
<span class="text">Comments (<?php echo $item['comment_count'] ?>)</span>
</div>
</div>
<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>
<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>
<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/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>
<a href="/blog-details/<?=$item['id']?>" class="read-btn">Learn More <i class="fa-light fa-arrow-right-long"></i></a>
</div>
</div>
</div>
<?php
} $ic++; }
?>
</div>
</div>
</div>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 196 KiB