blog data
This commit is contained in:
@@ -6,6 +6,14 @@ class Home extends BaseController
|
|||||||
{
|
{
|
||||||
public function index(): string
|
public function index(): string
|
||||||
{
|
{
|
||||||
return view('view_home');
|
$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',[]);
|
||||||
|
// var_dump($out['blogdata']);
|
||||||
|
//exit();
|
||||||
|
$siteData['blogdata'] = $out['blogdata'];
|
||||||
|
//var_dump($siteData);
|
||||||
|
// exit;
|
||||||
|
return view('view_home', $siteData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+47
-26
@@ -1217,34 +1217,55 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="carousel-container relative carousel-nav-left carousel-nav-sm carousel-nav-shaped carousel-nav-solid carousel-nav-circle carousel-nav-left carousel-dots-inside carousel-dots-mobile-outside carousel-dots-mobile-left animation-element">
|
<div class="carousel-container relative carousel-nav-left carousel-nav-sm carousel-nav-shaped carousel-nav-solid carousel-nav-circle carousel-nav-left carousel-dots-inside carousel-dots-mobile-outside carousel-dots-mobile-left animation-element">
|
||||||
<div class="carousel-items relative" data-lqd-flickity='{"prevNextButtons": true, "navArrow": "6", "pageDots": true, "dotsIndicator": "numbers", "numbersStyle": "circle", "dotsAppendTo": "#testimonial-carousel-dots-holder", "cellAlign": "left", "groupCells": false, "buttonsAppendTo": "self", "addSlideNumbersToArrows": false}'>
|
<div class="carousel-items relative" data-lqd-flickity='{"prevNextButtons": true, "navArrow": "6", "pageDots": true, "dotsIndicator": "numbers", "numbersStyle": "circle", "dotsAppendTo": "#testimonial-carousel-dots-holder", "cellAlign": "left", "groupCells": false, "buttonsAppendTo": "self", "addSlideNumbersToArrows": false}'>
|
||||||
<div class="carousel-item flex flex-col justify-center">
|
|
||||||
<div class="carousel-item-inner relative w-full mb-20">
|
<?php
|
||||||
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
foreach ($blogdata as $item){
|
||||||
<p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>
|
//var_dump($data);
|
||||||
|
?>
|
||||||
|
<div class="carousel-item flex flex-col justify-center">
|
||||||
|
<div class="carousel-item-inner relative w-full mb-20">
|
||||||
|
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
||||||
|
<p><?=$item['post_title']?><br></p>
|
||||||
|
<div><img style="border-radius: 10px;" src="https://blog.wrenchboard.com/wp-content/uploads/<?=$item['meta_value']?>" alt="Italian Trulli"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="carousel-item flex flex-col justify-center">
|
<?php
|
||||||
<div class="carousel-item-inner relative w-full mb-20">
|
}
|
||||||
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
?>
|
||||||
<p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
<!---->
|
||||||
</div>
|
<!-- <div class="carousel-item flex flex-col justify-center">-->
|
||||||
<div class="carousel-item flex flex-col justify-center">
|
<!-- <div class="carousel-item-inner relative w-full mb-20">-->
|
||||||
<div class="carousel-item-inner relative w-full mb-20">
|
<!-- <div class="carousel-item-content relative w-full text-20 text-white leading-1em">-->
|
||||||
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
<!-- <p>xx By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>-->
|
||||||
<p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- <div class="carousel-item flex flex-col justify-center">-->
|
||||||
<div class="carousel-item flex flex-col justify-center">
|
<!-- <div class="carousel-item-inner relative w-full mb-20">-->
|
||||||
<div class="carousel-item-inner relative w-full mb-20">
|
<!-- <div class="carousel-item-content relative w-full text-20 text-white leading-1em">-->
|
||||||
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
<!-- <p>yy By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>-->
|
||||||
<p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- <div class="carousel-item flex flex-col justify-center">-->
|
||||||
|
<!-- <div class="carousel-item-inner relative w-full mb-20">-->
|
||||||
|
<!-- <div class="carousel-item-content relative w-full text-20 text-white leading-1em">-->
|
||||||
|
<!-- <p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <div class="carousel-item flex flex-col justify-center">-->
|
||||||
|
<!-- <div class="carousel-item-inner relative w-full mb-20">-->
|
||||||
|
<!-- <div class="carousel-item-content relative w-full text-20 text-white leading-1em">-->
|
||||||
|
<!-- <p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1274,17 +1274,34 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="carousel-container relative carousel-nav-left carousel-nav-sm carousel-nav-shaped carousel-nav-solid carousel-nav-circle carousel-nav-left carousel-dots-inside carousel-dots-mobile-outside carousel-dots-mobile-left animation-element">
|
<div class="carousel-container relative carousel-nav-left carousel-nav-sm carousel-nav-shaped carousel-nav-solid carousel-nav-circle carousel-nav-left carousel-dots-inside carousel-dots-mobile-outside carousel-dots-mobile-left animation-element">
|
||||||
<div class="carousel-items relative" data-lqd-flickity='{"prevNextButtons": true, "navArrow": "6", "pageDots": true, "dotsIndicator": "numbers", "numbersStyle": "circle", "dotsAppendTo": "#testimonial-carousel-dots-holder", "cellAlign": "left", "groupCells": false, "buttonsAppendTo": "self", "addSlideNumbersToArrows": false}'>
|
<div class="carousel-items relative" data-lqd-flickity='{"prevNextButtons": true, "navArrow": "6", "pageDots": true, "dotsIndicator": "numbers", "numbersStyle": "circle", "dotsAppendTo": "#testimonial-carousel-dots-holder", "cellAlign": "left", "groupCells": false, "buttonsAppendTo": "self", "addSlideNumbersToArrows": false}'>
|
||||||
<div class="carousel-item flex flex-col justify-center">
|
<!-- <div class="carousel-item flex flex-col justify-center">-->
|
||||||
<div class="carousel-item-inner relative w-full mb-20">
|
<!-- <div class="carousel-item-inner relative w-full mb-20">-->
|
||||||
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
<!-- <div class="carousel-item-content relative w-full text-20 text-white leading-1em">-->
|
||||||
<p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>
|
<!-- <p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<?php
|
||||||
|
foreach ($blogdata as $item){
|
||||||
|
var_dump($data);
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="carousel-item flex flex-col justify-center">
|
||||||
|
<div class="carousel-item-inner relative w-full mb-20">
|
||||||
|
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
||||||
|
<p>aaaa By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div class="carousel-item flex flex-col justify-center">
|
<div class="carousel-item flex flex-col justify-center">
|
||||||
<div class="carousel-item-inner relative w-full mb-20">
|
<div class="carousel-item-inner relative w-full mb-20">
|
||||||
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
<div class="carousel-item-content relative w-full text-20 text-white leading-1em">
|
||||||
<p>By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>
|
<p>sss cc By enrolling in the Four Bear Program, UM guarantees you will graduate in four years with a bachelor's degree. Discover the global city—filled with inspiration, opportunities to explore.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user