fix: Update image asset paths and modify event loop to display previous events
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<section class="section ">
|
<section class="section ">
|
||||||
<div class="flex flex-col gap-5 justify-center items-center text-center">
|
<div class="flex flex-col gap-5 justify-center items-center text-center">
|
||||||
<h2 class="text-60 md:text-30 text-brand">Achievements</h2>
|
<h2 class="text-60 md:text-30 text-brand">Achievements</h2>
|
||||||
<img class="w-20percent" src="assets/images/icons/line.png" alt="">
|
<img class="w-20percent" src="{{ asset('raffles/assets/images/icons/line.png') }}" alt="">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -18,59 +18,24 @@
|
|||||||
<section class="lqd-section text-box-image pt-40 pb-30">
|
<section class="lqd-section text-box-image pt-40 pb-30">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row pb-20">
|
<div class="row pb-20">
|
||||||
<div class="col col-sm-6 col-md-4">
|
@foreach ($page->custom as $index => $data)
|
||||||
<a href="" class="flex flex-col gap-20 p-20 blog-post">
|
<div class="col col-sm-6 col-md-4">
|
||||||
<div class="w-100percent h-210 overflow-hidden rounded-16">
|
<a href="" class="flex flex-col gap-20 p-20 blog-post">
|
||||||
<img class="w-full h-full object-cover rounded-16"
|
<div class="w-100percent h-210 overflow-hidden rounded-16">
|
||||||
src="{{ asset('raffles/assets/images/general/blog1.jfif') }}" alt="">
|
<img class="w-full h-full object-cover rounded-16"
|
||||||
</div>
|
src="{{ asset($page->images[$index]) }}" alt="">
|
||||||
<div>
|
</div>
|
||||||
<h2 class="text-20 text-ter text-center">How Successfully Used Paid Marketing to Drive
|
<div>
|
||||||
Incremental
|
<h2 class="text-20 text-ter text-center">{{ $data['key'] ?? '' }} </h2>
|
||||||
Ticket Sale </h2>
|
</div>
|
||||||
</div>
|
</a>
|
||||||
|
</div>
|
||||||
|
@endforeach
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="col col-sm-6 col-md-4">
|
|
||||||
<a href="" class="flex flex-col gap-20 p-20 blog-post">
|
|
||||||
<div class="w-100percent h-210 overflow-hidden rounded-16">
|
|
||||||
<img class="w-full h-full object-cover rounded-16"
|
|
||||||
src="{{ asset('raffles/assets/images/general/blog1.jfif') }}" alt="">
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h2 class="text-20 text-ter text-center">How Successfully Used Paid Marketing to Drive
|
|
||||||
Incremental
|
|
||||||
Ticket Sales</h2>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{-- <div class="flex justify-center gap-10">
|
|
||||||
<div class="blog-pagination cursor-pointer ">
|
|
||||||
<p class="py-5 bg-sec px-20 text-20 rounded-10 text-white button-hover">1</p>
|
|
||||||
</div>
|
|
||||||
<div class="blog-pagination cursor-pointer">
|
|
||||||
<p class="py-5 bg-sec px-20 text-20 rounded-10 text-white button-hover">2</p>
|
|
||||||
</div>
|
|
||||||
<div class="blog-pagination cursor-pointer">
|
|
||||||
<p class="py-5 bg-sec px-20 text-20 rounded-10 text-white button-hover">3</p>
|
|
||||||
</div>
|
|
||||||
<div class="blog-pagination cursor-pointer">
|
|
||||||
<p class="py-5 bg-sec px-20 text-20 rounded-10 text-white button-hover">Next</p>
|
|
||||||
</div>
|
|
||||||
</div> --}}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
@endsection
|
@endsection
|
||||||
|
@@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
<div class="swiper swiper-events mt-40">
|
<div class="swiper swiper-events mt-40">
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
@foreach ($upcomingEvents as $event)
|
@foreach ($previousEvents as $event)
|
||||||
<a href="" class="swiper-slide">
|
<a href="" class="swiper-slide">
|
||||||
<div class="event-block relative w-full">
|
<div class="event-block relative w-full">
|
||||||
<div class="w-full rounded-30">
|
<div class="w-full rounded-30">
|
||||||
|
Reference in New Issue
Block a user