blog data

This commit is contained in:
CHIEFSOFT\ameye
2024-09-07 06:56:07 -04:00
parent e8ad502a05
commit 46ad349dec
2 changed files with 171 additions and 107 deletions
+13 -1
View File
@@ -6,6 +6,18 @@ class Home extends BaseController
{
public function index(): string
{
return view('welcome_message');
$siteData =[];
//http://10.204.5.100:9083/en/wrench/api/v1/blogdata
// $out = $this->APIcall('GET','http://10.204.5.100:9083/en/wrench/api/v1/blogdata',[]);
$out = $this->APIcall('GET','http://10.10.10.35:8805/blogdata/sanyaameye',[]);
var_dump($out);
//exit();
$siteData['blogdata'] = $out['payload']['blogdata'];
$siteData['blog_media_url'] = $out['payload']['image_url'];
//var_dump($siteData);
// exit;
return view('welcome_message',$siteData);
}
}
+158 -106
View File
@@ -921,6 +921,8 @@
<!-- End Testimonials -->
<!-- Start Blog -->
<section class="lqd-section blog py-100" id="what-we-do">
<div class="container">
<div class="row justify-center">
@@ -929,15 +931,20 @@
<p class="ld-fh-element mb-0/5em text-17 leading-1/5em"> We embrace holistic development and support for the aim of being a first-choice employer within our sectors.</p>
</div>
<div class="col col-12">
<div class="lqd-lp-row row flex flex-wrap -mx-25">
<div class="lqd-lp-column col-sm-12 col-md-6 col-lg-4 flex flex-col px-25 mb-30">
<article class="lqd-lp lqd-lp-style-19 relative post type-post status-publish format-standard has-post-thumbnail hentry category-global tag-global">
<div class="lqd-lp-img relative mb-1/5em overflow-hidden">
<figure class="relative overflow-hidden">
<img width="666" height="450" src="./assets/images/demo/lawyer/blog-1.jpg" alt="blog">
</figure>
<footer class="lqd-lp-footer flex items-end justify-end absolute pos-tl w-full h-full">
<a href="#" class="btn btn-solid btn-hover-swp border-none font-family-inherit text-12 uppercase font-bold leading-1/5em tracking-0/1em">
<?php
foreach ($blogdata as $item){
?>
<div class="lqd-lp-column col-sm-12 col-md-6 col-lg-4 flex flex-col px-25 mb-30">
<article class="lqd-lp lqd-lp-style-19 relative post type-post status-publish format-standard has-post-thumbnail hentry category-global tag-global">
<div class="lqd-lp-img relative mb-1/5em overflow-hidden">
<figure class="relative overflow-hidden">
<img width="666" height="450" src="<?=$blog_media_url?>/<?=$item['meta_value']?>" alt="blog">
</figure>
<footer class="lqd-lp-footer flex items-end justify-end absolute pos-tl w-full h-full">
<a href="#" class="btn btn-solid btn-hover-swp border-none font-family-inherit text-12 uppercase font-bold leading-1/5em tracking-0/1em">
<span class="inline-flex items-center py-0/5rem px-1/5rem">
<span class="btn-txt">read</span>
<span class="btn-icon">
@@ -947,103 +954,148 @@
<i class="lqd-icn-ess icon-ion-ios-add"></i>
</span>
</span>
</a>
</footer>
</div>
<div class="lqd-lp-meta flex items-center p-0 mb-0/5rem">
<div>
<span class="screen-reader-text">Tags </span>
<ul class="lqd-lp-cat reset-ul inline-nav relative z-2 uppercase ltr-sp-1">
<li>
<a href="#" rel="tag">Global</a>
</li>
</ul>
</a>
</footer>
</div>
</div>
<header class="lqd-lp-header mb-1rem">
<h2 class="lqd-lp-title h5 m-0 font-bold">
<a href="#" data-split-text="true" data-split-options='{ "type" : "lines", "disableOnMobile" : true}'>Finding the best financial capital and business lawyer</a>
</h2>
</header>
<a href="#" class="lqd-lp-overlay-link lqd-overlay z-2"></a>
</article>
</div>
<div class="lqd-lp-column col-sm-12 col-md-6 col-lg-4 flex flex-col px-25 mb-30">
<article class="lqd-lp lqd-lp-style-19 relative post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized tag-office">
<div class="lqd-lp-img relative mb-1/5em overflow-hidden">
<figure class="relative overflow-hidden">
<img width="666" height="450" src="./assets/images/demo/lawyer/blog-2.jpg" alt="blog">
</figure>
<footer class="lqd-lp-footer flex items-end justify-end absolute pos-tl w-full h-full">
<a href="#" class="btn btn-solid btn-hover-swp border-none font-family-inherit text-12 uppercase font-bold leading-1/5em tracking-0/1em">
<span class="inline-flex items-center py-0/5rem px-1/5rem">
<span class="btn-txt">read</span>
<span class="btn-icon">
<i class="lqd-icn-ess icon-ion-ios-add"></i>
</span>
<span class="btn-icon">
<i class="lqd-icn-ess icon-ion-ios-add"></i>
</span>
</span>
</a></footer>
</div>
<div class="lqd-lp-meta flex items-center p-0 mb-0/5rem">
<div>
<span class="screen-reader-text">Tags </span>
<ul class="lqd-lp-cat reset-ul inline-nav relative z-2 uppercase ltr-sp-1">
<li>
<a href="#" rel="tag">Office</a>
</li>
</ul>
<div class="lqd-lp-meta flex items-center p-0 mb-0/5rem">
<div>
<!-- <span class="screen-reader-text">Tags </span>-->
<!-- <ul class="lqd-lp-cat reset-ul inline-nav relative z-2 uppercase ltr-sp-1">-->
<!-- <li>-->
<!-- <a href="#" rel="tag">Global</a>-->
<!-- </li>-->
<!-- </ul>-->
</div>
</div>
</div>
<header class="lqd-lp-header mb-1rem">
<h2 class="lqd-lp-title h5 m-0 font-bold">
<a href="#" data-split-text="true" data-split-options='{ "type" : "lines", "disableOnMobile" : true}'>Building the international influence in the United States</a>
</h2>
</header>
<a href="#" class="lqd-lp-overlay-link lqd-overlay z-2"></a>
</article>
</div>
<div class="lqd-lp-column col-sm-12 col-md-6 col-lg-4 flex flex-col px-25 mb-30">
<article class="lqd-lp lqd-lp-style-19 relative post type-post status-publish format-standard has-post-thumbnail hentry category-case-studies tag-case-studies">
<div class="lqd-lp-img relative mb-1/5em overflow-hidden">
<figure class="relative overflow-hidden">
<img width="666" height="450" src="./assets/images/demo/lawyer/blog-3.jpg" alt="blog">
</figure>
<footer class="lqd-lp-footer flex items-end justify-end absolute pos-tl w-full h-full">
<a href="#" class="btn btn-solid btn-hover-swp border-none font-family-inherit text-12 uppercase font-bold leading-1/5em tracking-0/1em">
<span class="inline-flex items-center py-0/5rem px-1/5rem">
<span class="btn-txt">read</span>
<span class="btn-icon">
<i class="lqd-icn-ess icon-ion-ios-add"></i>
</span>
<span class="btn-icon">
<i class="lqd-icn-ess icon-ion-ios-add"></i>
</span>
</span>
</a>
</footer>
</div>
<div class="lqd-lp-meta flex items-center p-0 mb-0/5rem">
<div>
<span class="screen-reader-text">Tags </span>
<ul class="lqd-lp-cat reset-ul inline-nav relative z-2 uppercase ltr-sp-1">
<li>
<a href="#" rel="tag">Case studies</a>
</li>
</ul>
</div>
</div>
<header class="lqd-lp-header mb-1rem">
<h2 class="lqd-lp-title h5 m-0 font-bold">
<a href="#" data-split-text="true" data-split-options='{ "type" : "lines", "disableOnMobile" : true}'>Legal authorities leak the new real estate laws</a>
</h2>
</header>
<a href="#" class="lqd-lp-overlay-link lqd-overlay z-2"></a>
</article>
</div>
<header class="lqd-lp-header mb-1rem">
<h2 class="lqd-lp-title h5 m-0 font-bold">
<a href="#" data-split-text="true" data-split-options='{ "type" : "lines", "disableOnMobile" : true}'><?=$item['post_title']?></a>
</h2>
</header>
<a href="#" class="lqd-lp-overlay-link lqd-overlay z-2"></a>
</article>
</div>
<?php
}
?>
<!-- <div class="lqd-lp-column col-sm-12 col-md-6 col-lg-4 flex flex-col px-25 mb-30">-->
<!-- <article class="lqd-lp lqd-lp-style-19 relative post type-post status-publish format-standard has-post-thumbnail hentry category-global tag-global">-->
<!---->
<!-- <div class="lqd-lp-img relative mb-1/5em overflow-hidden">-->
<!-- <figure class="relative overflow-hidden">-->
<!-- <img width="666" height="450" src="./assets/images/demo/lawyer/blog-1.jpg" alt="blog">-->
<!-- </figure>-->
<!-- <footer class="lqd-lp-footer flex items-end justify-end absolute pos-tl w-full h-full">-->
<!-- <a href="#" class="btn btn-solid btn-hover-swp border-none font-family-inherit text-12 uppercase font-bold leading-1/5em tracking-0/1em">-->
<!-- <span class="inline-flex items-center py-0/5rem px-1/5rem">-->
<!-- <span class="btn-txt">read</span>-->
<!-- <span class="btn-icon">-->
<!-- <i class="lqd-icn-ess icon-ion-ios-add"></i>-->
<!-- </span>-->
<!-- <span class="btn-icon">-->
<!-- <i class="lqd-icn-ess icon-ion-ios-add"></i>-->
<!-- </span>-->
<!-- </span>-->
<!-- </a>-->
<!-- </footer>-->
<!-- </div>-->
<!-- <div class="lqd-lp-meta flex items-center p-0 mb-0/5rem">-->
<!-- <div>-->
<!-- <span class="screen-reader-text">Tags </span>-->
<!-- <ul class="lqd-lp-cat reset-ul inline-nav relative z-2 uppercase ltr-sp-1">-->
<!-- <li>-->
<!-- <a href="#" rel="tag">Global</a>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
<!-- <header class="lqd-lp-header mb-1rem">-->
<!-- <h2 class="lqd-lp-title h5 m-0 font-bold">-->
<!-- <a href="#" data-split-text="true" data-split-options='{ "type" : "lines", "disableOnMobile" : true}'>Finding the best financial capital and business lawyer</a>-->
<!-- </h2>-->
<!-- </header>-->
<!-- <a href="#" class="lqd-lp-overlay-link lqd-overlay z-2"></a>-->
<!-- </article>-->
<!-- </div>-->
<!-- <div class="lqd-lp-column col-sm-12 col-md-6 col-lg-4 flex flex-col px-25 mb-30">-->
<!-- <article class="lqd-lp lqd-lp-style-19 relative post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized tag-office">-->
<!-- <div class="lqd-lp-img relative mb-1/5em overflow-hidden">-->
<!-- <figure class="relative overflow-hidden">-->
<!-- <img width="666" height="450" src="./assets/images/demo/lawyer/blog-2.jpg" alt="blog">-->
<!-- </figure>-->
<!-- <footer class="lqd-lp-footer flex items-end justify-end absolute pos-tl w-full h-full">-->
<!-- <a href="#" class="btn btn-solid btn-hover-swp border-none font-family-inherit text-12 uppercase font-bold leading-1/5em tracking-0/1em">-->
<!-- <span class="inline-flex items-center py-0/5rem px-1/5rem">-->
<!-- <span class="btn-txt">read</span>-->
<!-- <span class="btn-icon">-->
<!-- <i class="lqd-icn-ess icon-ion-ios-add"></i>-->
<!-- </span>-->
<!-- <span class="btn-icon">-->
<!-- <i class="lqd-icn-ess icon-ion-ios-add"></i>-->
<!-- </span>-->
<!-- </span>-->
<!-- </a></footer>-->
<!-- </div>-->
<!-- <div class="lqd-lp-meta flex items-center p-0 mb-0/5rem">-->
<!-- <div>-->
<!-- <span class="screen-reader-text">Tags </span>-->
<!-- <ul class="lqd-lp-cat reset-ul inline-nav relative z-2 uppercase ltr-sp-1">-->
<!-- <li>-->
<!-- <a href="#" rel="tag">Office</a>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
<!-- <header class="lqd-lp-header mb-1rem">-->
<!-- <h2 class="lqd-lp-title h5 m-0 font-bold">-->
<!-- <a href="#" data-split-text="true" data-split-options='{ "type" : "lines", "disableOnMobile" : true}'>Building the international influence in the United States</a>-->
<!-- </h2>-->
<!-- </header>-->
<!-- <a href="#" class="lqd-lp-overlay-link lqd-overlay z-2"></a>-->
<!-- </article>-->
<!-- </div>-->
<!-- <div class="lqd-lp-column col-sm-12 col-md-6 col-lg-4 flex flex-col px-25 mb-30">-->
<!-- <article class="lqd-lp lqd-lp-style-19 relative post type-post status-publish format-standard has-post-thumbnail hentry category-case-studies tag-case-studies">-->
<!-- <div class="lqd-lp-img relative mb-1/5em overflow-hidden">-->
<!-- <figure class="relative overflow-hidden">-->
<!-- <img width="666" height="450" src="./assets/images/demo/lawyer/blog-3.jpg" alt="blog">-->
<!-- </figure>-->
<!-- <footer class="lqd-lp-footer flex items-end justify-end absolute pos-tl w-full h-full">-->
<!-- <a href="#" class="btn btn-solid btn-hover-swp border-none font-family-inherit text-12 uppercase font-bold leading-1/5em tracking-0/1em">-->
<!-- <span class="inline-flex items-center py-0/5rem px-1/5rem">-->
<!-- <span class="btn-txt">read</span>-->
<!-- <span class="btn-icon">-->
<!-- <i class="lqd-icn-ess icon-ion-ios-add"></i>-->
<!-- </span>-->
<!-- <span class="btn-icon">-->
<!-- <i class="lqd-icn-ess icon-ion-ios-add"></i>-->
<!-- </span>-->
<!-- </span>-->
<!-- </a>-->
<!-- </footer>-->
<!-- </div>-->
<!-- <div class="lqd-lp-meta flex items-center p-0 mb-0/5rem">-->
<!-- <div>-->
<!-- <span class="screen-reader-text">Tags </span>-->
<!-- <ul class="lqd-lp-cat reset-ul inline-nav relative z-2 uppercase ltr-sp-1">-->
<!-- <li>-->
<!-- <a href="#" rel="tag">Case studies</a>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
<!-- <header class="lqd-lp-header mb-1rem">-->
<!-- <h2 class="lqd-lp-title h5 m-0 font-bold">-->
<!-- <a href="#" data-split-text="true" data-split-options='{ "type" : "lines", "disableOnMobile" : true}'>Legal authorities leak the new real estate laws</a>-->
<!-- </h2>-->
<!-- </header>-->
<!-- <a href="#" class="lqd-lp-overlay-link lqd-overlay z-2"></a>-->
<!-- </article>-->
<!-- </div>-->
</div>
</div>
</div>
</div>
@@ -1105,7 +1157,7 @@
<a href="#" class="flex items-center transition-color leading-1/5em text-white-80 hover:text-white">Legal Issues</a>
</li>
<li class="mb-15">
<a href="#" class="flex items-center transition-color leading-1/5em text-white-80 hover:text-white">Attorneys<span class="link-badge text-white">Hiring</span></a>
<a href="#" class="flex items-center transition-color leading-1/5em text-white-80 hover:text-white">Attorneys</a>
</li>
<!-- <li class="mb-15">-->
<!-- <a href="#" class="flex items-center transition-color leading-1/5em text-white-80 hover:text-white">Privacy Policy</a>-->
@@ -1187,9 +1239,9 @@
<div class="col col-12 col-md-6">
<div class="lqd-fancy-menu lqd-simple-menu mb-20">
<ul class="lqd-simple-menu-ul reset-ul inline-nav -mx-10">
<li class="w-auto inline-flex mx-10">
<a href="#" class="transition-color text-12 text-white-80 hover:text-white" target="_blank"> Privacy Policy</a>
</li>
<!-- <li class="w-auto inline-flex mx-10">-->
<!-- <a href="#" class="transition-color text-12 text-white-80 hover:text-white" target="_blank"> Privacy Policy</a>-->
<!-- </li>-->
<!-- <li class="w-auto inline-flex mx-10">-->
<!-- <a href="#" class="transition-color text-12 text-white-80 hover:text-white" target="_blank"> Our History</a>-->
<!-- </li>-->