/
var
/
www
/
html
/
gnet
/
gnet
/
resources
/
views
/
Upload File
HOME
<!doctype html> <html lang="id"> <head> <meta charset="utf-8"> <title>GNET Indonesia</title> <meta name="description" content="GNET Building Solutions"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" type="image/x-icon" href="/assets/img/gnet.png"> <!-- Google Fonts --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet"> <!-- All CSS Plugins here --> <link rel="stylesheet" href="{{ asset('assets/css/plugins/swiper-bundle.min.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/plugins/glightbox.min.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/vendor/bootstrap.min.css') }}"> <script src="https://kit.fontawesome.com/ecde83b210.js" crossorigin="anonymous"></script> <!-- Custom Style CSS --> <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}"> </head> <body> <!-- Start header area --> @include('components.header') <!-- End header area --> <main class="main__content_wrapper"> <!-- Start breadcrumb section --> <section class="breadcrumb__section breadcrumb__bg mb-60"> <div class="container-fluid"> <div class="row row-cols-1"> <div class="col"> <div class="breadcrumb__content"> <h1 class="breadcrumb__content--title text-white mb-10">Halaman Pencarian</h1> {{-- <ul class="breadcrumb__content--menu d-flex"> <li class="breadcrumb__content--menu__items"><a class="text-white" href="/">Beranda</a></li> <li class="breadcrumb__content--menu__items"><span class="text-white">Produk</span></li> </ul> --}} </div> </div> </div> </div> </section> <!-- End breadcrumb section --> <!-- Start shop section --> <section class="shop__section section--padding mt-5"> <div class="container-fluid"> <div class="section__heading text-center mb-30"> <h3 class="section__heading--maintitle text-start text-brand">Menampilkan pencarian untuk "{{ $search }}"</h3> </div> {{-- menampilkan hasil pencarian produsk --}} @if (!$products->isEmpty()) <div class="shop__product--wrapper mb-50"> <h3 class="section__heading--maintitle text-start mb-30 text-decoration-underline">Produk:</h3> <div class="row row-cols-xl-4 row-cols-lg-3 row-cols-md-3 row-cols-2 mb--n30"> @foreach ($products as $item) <div class="col mb-30"> <div class="product__items "> <div class="product__items--thumbnail"> <a class="product__items--link" href="/product/{{ $item->category->url }}/{{ $item->url }}"> <img class="product__items--img product__primary--img" src="/assets/img/products/{{ $item->coverImage }}" alt="{{ $item->name }}"> <img class="product__items--img product__secondary--img" src="/assets/img/products/{{ $item->coverImage }}" alt="{{ $item->name }}"> </a> </div> <div class="product__items--content text-center"> <h3 class="product__items--content__title h4"> <a href="/product-details">{{ $item->name }}</a> </h3> <a class="product__items--action__cart--btn primary__btn" href="/product/{{ $item->category->url }}/{{ $item->url }}"> <svg class="product-detail-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <path fill="#f5f5f5" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" /> </svg> <span class="add__to--cart__text">Product Detail</span> </a> </div> </div> </div> @endforeach </div> </div> @endif {{-- menampilkan hasil pencarian artikel --}} @if (!$blogs->isEmpty()) <div class="shop__product--wrapper"> <h3 class="section__heading--maintitle text-start mb-30 text-decoration-underline">Berita & Artikel:</h3> <div class="row row-cols-1 row-cols-md-2 row-cols-lg-3"> @foreach ($blogs as $blog) <div class="col mb-5"> <div class="blog__items"> <div class="blog__thumbnail"> <a class="blog__thumbnail--link display-block" href="/blog/{{ $blog->url }}"> <img class="blog__thumbnail--img display-block" src="{{ asset('uploads/' . $blog->banner_image) }}" alt="{{ $blog->alt_text }}"> </a> </div> <div class="blog__content"> <a href="/blog/{{ $blog->url }}"> <h3 class="blog__content--title">{{ $blog->title }}</h3> <button class="blog__content--btn primary__btn">Read more</button> </a> </div> </div> </div> @endforeach </div> </div> @endif {{-- jika tidak ada hasil yang ditemukian --}} @if ($products->isEmpty() && $blogs->isEmpty()) <h4 class="mt-5 text-secondary">Tidak menemukan hasil yang sesuai</h4> @endif </div> </section> <!-- End shop section --> </main> <!-- Start footer section --> @include('components.footer') <!-- End footer section --> <!-- Scroll top bar --> <button id="scroll__top"> <svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"> <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M112 244l144-144 144 144M256 120v292" /> </svg> </button> <!-- Floating WhatsApp --> <a href="https://api.whatsapp.com/send?phone=6281313777570&text=Hai!%20Saya%20tertarik%20dengan%20produk%20GNET" target="_blank"> <button class="btn-floating whatsapp"> <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"> <path fill="white" d="M19.05 4.91A9.816 9.816 0 0 0 12.04 2c-5.46 0-9.91 4.45-9.91 9.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91c0-2.65-1.03-5.14-2.9-7.01zm-7.01 15.24c-1.48 0-2.93-.4-4.2-1.15l-.3-.18l-3.12.82l.83-3.04l-.2-.31a8.264 8.264 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24c2.2 0 4.27.86 5.82 2.42a8.183 8.183 0 0 1 2.41 5.83c.02 4.54-3.68 8.23-8.22 8.23zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81c-.23-.08-.39-.12-.56.12c-.17.25-.64.81-.78.97c-.14.17-.29.19-.54.06c-.25-.12-1.05-.39-1.99-1.23c-.74-.66-1.23-1.47-1.38-1.72c-.14-.25-.02-.38.11-.51c.11-.11.25-.29.37-.43s.17-.25.25-.41c.08-.17.04-.31-.02-.43s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31c-.22.25-.86.85-.86 2.07c0 1.22.89 2.4 1.01 2.56c.12.17 1.75 2.67 4.23 3.74c.59.26 1.05.41 1.41.52c.59.19 1.13.16 1.56.1c.48-.07 1.47-.6 1.67-1.18c.21-.58.21-1.07.14-1.18s-.22-.16-.47-.28z" /> </svg> <span>Hallo sobat GNET!</span> <small>Konsultasikan Kebutuhan Anda Bersama Kami</small> </button> </a> <!-- All Script JS Plugins here --> <script src="/assets/js/vendor/popper.js" defer="defer"></script> <script src="/assets/js/vendor/bootstrap.min.js" defer="defer"></script> <script src="/assets/js/plugins/swiper-bundle.min.js" defer="defer"></script> <script src="/assets/js/plugins/glightbox.min.js" defer="defer"></script> <!-- Customscript js --> <script src="/assets/js/script.js" defer="defer"></script> </body> </html>