@extends('layouts.default') @section('banner_img', asset('storage/'.$project->pictures['header_1'])) @section('title', $project->title.' | '.__('seo.project.title_suffix')) @section('meta_description', \Illuminate\Support\Str::limit(\App\Support\RichText::plainText($project->description) ?: __('seo.project.description_fallback'), 160, '')) @section('canonical', route('project', ['slug' => $project->slug])) @section('og_type', 'article') @section('structured_data') @php $projectStructuredData = [ '@context' => 'https://schema.org', '@graph' => [ [ '@type' => 'CreativeWork', '@id' => route('project', ['slug' => $project->slug]).'#creative-work', 'mainEntityOfPage' => route('project', ['slug' => $project->slug]), 'name' => $project->title, 'description' => \Illuminate\Support\Str::limit(\App\Support\RichText::plainText($project->description), 300, ''), 'image' => asset('storage/'.$project->pictures['header_1']), 'dateCreated' => optional($project->created_at)->toAtomString(), 'dateModified' => optional($project->updated_at)->toAtomString(), 'inLanguage' => app()->getLocale(), 'keywords' => $project->getCategoryNames()->implode(', '), 'author' => ['@id' => route('home').'#person'], ], [ '@type' => 'BreadcrumbList', 'itemListElement' => [ [ '@type' => 'ListItem', 'position' => 1, 'name' => __('global.navigation.home'), 'item' => route('home'), ], [ '@type' => 'ListItem', 'position' => 2, 'name' => __('global.navigation.projects'), 'item' => route('projects'), ], [ '@type' => 'ListItem', 'position' => 3, 'name' => $project->title, 'item' => route('project', ['slug' => $project->slug]), ], ], ], ], ]; @endphp @endsection @section('content')
@if($project->is_pined)
@endif @if($project->is_newed)
{{ __('project.tag.new') }}
@endif @php($tags = $project->getCategoryNames()) @foreach($tags as $tag)
{{ $tag }}
@endforeach

{{ $project->title }}

{{ __('global.tree.back-btn') }}
{!! \App\Support\RichText::render($project->description) !!}
@if(($project->pictures['header_2'] !== null) && ($project->pictures['header_3'] !== null))
@elseif($project->pictures['header_2'] !== null)
@endif
@if(\App\Support\RichText::plainText($project->description_2) !== '')
{!! \App\Support\RichText::render($project->description_2) !!}
@endif @if($project->feedback_text !== null && $project->feedback_customer_name !== null && $project->feedback_customer_function !== null)

{{ $project->feedback_text }}

@if($project->pictures['feedback'] !== null) Logo Entreprise @endif
{{ $project->feedback_customer_name }}
{{ $project->feedback_customer_function }}
@endif

{!! __('project.technology-title') !!}

{{ __('project.technology-text') }}
{{ $project->technologie_description }}

{!! __('project.technology-1.name') !!}

{{ __('project.technology-1.text') }}

{!! __('project.technology-2.name') !!}

{{ __('project.technology-2.text') }}

@if($project->website_url !== null) @endif

{{ __('project.action.title') }}

{{ __('project.action.btn.like') }} {{ __('project.action.btn.unlike') }}
{{ $project->views_count() }}
{{ $project->likes_count() }}
@endsection