File Manager Lite
Dir:
/home/codewavebd/public_html/resources/views/frontend
Upload
[..]
blog/
Rename
Del
portfolio_detail.blade.php (7.34 KB)
Edit
Rename
Del
Edit: portfolio_detail.blade.php
@extends('layouts.frontend') @section('seo_title', $project->seo_title ?? ($project->name . ' Case Study | CodeWave BD')) @section('seo_description', $project->seo_meta_description ?? Str::limit($project->description, 150)) @section('seo_keywords', $project->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": "Portfolio", "item": "{{ url('/') }}#portfolio" },{ "@type": "ListItem", "position": 3, "name": "{{ $project->name }}", "item": "{{ request()->url() }}" }] } </script> @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">Portfolio</li> <li class="breadcrumb-item active text-white" aria-current="page">{{ $project->name }}</li> </ol> </nav> <span class="badge bg-secondary border border-info rounded-pill px-3 py-2 text-info uppercase tracking-wider mb-3 small"> Case Study Analysis </span> <h1 class="display-4 font-heading fw-bold text-white mb-3">{{ $project->name }}</h1> </div> </div> </div> </section> <!-- Content Body --> <section class="py-5"> <div class="container py-3"> <div class="row g-5"> <!-- Main Details --> <div class="col-lg-8 case-study-content"> @if($project->image) <img src="{{ asset('uploads/' . $project->image) }}" class="img-fluid rounded-4 mb-5 w-100" style="max-height: 450px; object-fit: cover;" alt="{{ $project->name }}" loading="lazy"> @endif <h3 class="text-white font-heading mb-4">Project Overview</h3> <p class="text-secondary fs-6" style="line-height: 1.8;"> {{ $project->description }} </p> <!-- Project Features --> @if($project->features && count($project->features) > 0) <h3 class="text-white font-heading mt-5 mb-4">Core Deliverables & Results</h3> <div class="row g-3"> @foreach($project->features as $feat) <div class="col-md-6"> <div class="glass-card p-3 h-100 d-flex align-items-center border-secondary"> <i class="bi bi-patch-check-fill text-info fs-4 me-3"></i> <span class="text-white small">{{ $feat }}</span> </div> </div> @endforeach </div> @endif <!-- Screenshots Gallery --> @if($project->gallery && count($project->gallery) > 0) <h3 class="text-white font-heading mt-5 mb-4">Interface Walkthrough</h3> <div class="row g-3"> @foreach($project->gallery as $screenshot) <div class="col-md-6"> <div class="glass-card overflow-hidden"> <img src="{{ asset('uploads/' . $screenshot) }}" class="img-fluid w-100" style="height: 200px; object-fit: cover;" alt="Screenshot" loading="lazy"> </div> </div> @endforeach </div> @endif </div> <!-- Specifications Side Panel --> <div class="col-lg-4"> <div class="glass-card p-4 border-info position-sticky" style="top: 100px;"> <h5 class="font-heading text-white border-bottom border-secondary pb-3 mb-3">Project Details</h5> <div class="mb-4"> <span class="text-muted small d-block">Client Organization</span> <span class="text-white fw-bold">{{ $project->client_name ?? 'Confidential Corporate Client' }}</span> </div> <div class="mb-4"> <span class="text-muted small d-block">System Category</span> <span class="text-white fw-semibold">{{ $project->category->name ?? 'Software Engineering' }}</span> </div> <div class="mb-4"> <span class="text-muted small d-block">Technologies Implemented</span> <div class="mt-2"> @foreach(explode(',', $project->technologies) as $tech) <span class="badge bg-secondary border border-secondary text-light me-1 mb-1 small">{{ trim($tech) }}</span> @endforeach </div> </div> @if($project->live_url) <div class="d-grid mt-4"> <a href="{{ $project->live_url }}" target="_blank" class="btn btn-primary-glow py-3"> <i class="bi bi-box-arrow-up-right me-2"></i>Visit Live Website </a> </div> @endif </div> </div> </div> </div> </section> <!-- Related Projects --> @if($relatedProjects->count() > 0) <section class="py-5 border-top border-secondary" style="background-color: var(--bg-secondary);"> <div class="container"> <h4 class="font-heading text-white mb-4">Related Case Studies</h4> <div class="row g-4"> @foreach($relatedProjects as $relProj) <div class="col-md-4"> <div class="glass-card h-100 d-flex flex-column justify-content-between p-3"> <div> @if($relProj->image) <img src="{{ asset('uploads/' . $relProj->image) }}" class="img-fluid rounded-3 w-100 mb-3" style="height: 160px; object-fit: cover;" alt="{{ $relProj->name }}" loading="lazy"> @endif <h6 class="font-heading text-white mb-2">{{ $relProj->name }}</h6> <p class="text-muted small">{{ Str::limit($relProj->description, 100) }}</p> </div> <a href="{{ route('portfolio.show', $relProj->slug) }}" class="text-info text-decoration-none small fw-semibold"> View Case Study <i class="bi bi-arrow-right ms-1"></i> </a> </div> </div> @endforeach </div> </div> </section> @endif @endsection
Simpan