File Manager Lite
Dir:
/home/codewavebd/public_html/resources/views/frontend
Upload
[..]
blog/
Rename
Del
index.blade.php (28.91 KB)
Edit
Rename
Del
portfolio_detail.blade.php (7.34 KB)
Edit
Rename
Del
service.blade.php (7.97 KB)
Edit
Rename
Del
Edit: service.blade.php
@extends('layouts.frontend') @section('seo_title', $service->seo_title ?? ($service->title . ' | CodeWave BD')) @section('seo_description', $service->seo_meta_description ?? $service->short_description) @section('seo_keywords', $service->seo_keywords) @section('schemas') <!-- Breadcrumb Schema --> <script type="application/ld+json"> { "@@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ url('/') }}" },{ "@type": "ListItem", "position": 2, "name": "Services", "item": "{{ url('/') }}#services" },{ "@type": "ListItem", "position": 3, "name": "{{ $service->title }}", "item": "{{ request()->url() }}" }] } </script> <!-- FAQ Schema --> @if($faqs->count() > 0) <script type="application/ld+json"> { "@@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ @foreach($faqs as $index => $faq) { "@type": "Question", "name": "{{ $faq->question }}", "acceptedAnswer": { "@type": "Answer", "text": "{{ strip_tags($faq->answer) }}" } } @if(!$loop->last),@endif @endforeach ] } </script> @endif @endsection @section('content') <!-- Case Study Hero --> <section class="case-study-hero"> <div class="container"> <div class="row"> <div class="col-lg-8"> <!-- Breadcrumbs --> <nav aria-label="breadcrumb" class="mb-4"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{ route('home') }}" class="text-info text-decoration-none">Home</a></li> <li class="breadcrumb-item active text-muted" aria-current="page">Services</li> <li class="breadcrumb-item active text-white" aria-current="page">{{ $service->title }}</li> </ol> </nav> <h1 class="display-4 font-heading fw-bold text-white mb-3">{{ $service->title }}</h1> <p class="fs-5 text-secondary">{{ $service->short_description }}</p> </div> </div> </div> </section> <!-- Content Body --> <section class="py-5"> <div class="container py-3"> <div class="row g-5"> <!-- Main Content --> <div class="col-lg-8 case-study-content"> @if($service->image) <img src="{{ asset('uploads/' . $service->image) }}" class="img-fluid rounded-4 mb-5 w-100" style="max-height: 400px; object-fit: cover;" alt="{{ $service->title }}" loading="lazy"> @endif <h3 class="text-white font-heading mb-4">Service Details & Workflow</h3> <div class="text-secondary fs-6" style="line-height: 1.8;"> {!! nl2br(e($service->long_description)) !!} </div> <!-- Related FAQs --> @if($faqs->count() > 0) <h3 class="text-white font-heading mt-5 mb-4">Frequently Asked Questions</h3> <div class="accordion accordion-custom" id="serviceFaqAccordion"> @foreach($faqs as $index => $faq) <div class="accordion-item"> <h2 class="accordion-header" id="heading{{ $faq->id }}"> <button class="accordion-button @if($index > 0) collapsed @endif" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{ $faq->id }}"> {{ $faq->question }} </button> </h2> <div id="collapse{{ $faq->id }}" class="accordion-collapse collapse @if($index === 0) show @endif" data-bs-parent="#serviceFaqAccordion"> <div class="accordion-body text-secondary"> {{ $faq->answer }} </div> </div> </div> @endforeach </div> @endif </div> <!-- Sidebar --> <div class="col-lg-4"> <div class="glass-card p-4 mb-4 border-info"> <h5 class="font-heading text-white border-bottom border-secondary pb-3 mb-3">Other Services</h5> <div class="list-group list-group-flush"> @foreach($allServices as $otherSvc) <a href="{{ route('services.show', $otherSvc->slug) }}" class="list-group-item list-group-item-action bg-transparent border-0 text-secondary py-2 d-flex align-items-center"> <i class="bi {{ $otherSvc->icon }} text-info me-3"></i> {{ $otherSvc->title }} </a> @endforeach </div> </div> <div class="glass-card p-4 border-info"> <h5 class="font-heading text-white border-bottom border-secondary pb-3 mb-3">Request A Quote</h5> <form action="{{ route('contact.submit') }}" method="POST" class="form-custom"> @csrf <input type="hidden" name="service_id" value="{{ $service->id }}"> <div class="mb-3"> <label class="form-label text-secondary small">Your Name</label> <input type="text" name="name" class="form-control" placeholder="John Doe" required> </div> <div class="mb-3"> <label class="form-label text-secondary small">Email Address</label> <input type="email" name="email" class="form-control" placeholder="john@company.com"> </div> <div class="mb-3"> <label class="form-label text-secondary small">Phone Number</label> <input type="text" name="phone" class="form-control" placeholder="017..." required> </div> <div class="mb-3"> <label class="form-label text-secondary small">WhatsApp Number</label> <input type="text" name="whatsapp" class="form-control" placeholder="017..."> </div> <div class="mb-3"> <label class="form-label text-secondary small">Project Scope Spec</label> <textarea name="description" rows="3" class="form-control" placeholder="Tell us what you want to build..." required></textarea> </div> <!-- Captcha --> <div class="mb-3"> <label class="form-label text-secondary small">What is {{ $num1 }} + {{ $num2 }}?</label> <input type="number" name="math_answer" class="form-control" required> </div> @if($errors->has('captcha')) <div class="alert alert-danger py-2 small mb-3"> {{ $errors->first('captcha') }} </div> @endif @if(session('success')) <div class="alert alert-success py-2 small mb-3"> {{ session('success') }} </div> @endif <button type="submit" class="btn btn-primary-glow w-100 py-3">Submit Service Request</button> </form> </div> </div> </div> </div> </section> @endsection
Simpan