@extends('layouts.app') @section('content')
@if($project->mobile_image) @endif @if($project->desktop_image) {{ $project->getTranslation('title', app()->getLocale(), false) }} @endif @php $projectTitle = $project->getTranslation('title', app()->getLocale(), false); @endphp @if($projectTitle)

{{ $projectTitle }}

@endif
@php $projectDescription = $project->getTranslation('description', app()->getLocale(), false); @endphp @if($projectDescription) {!! $projectDescription !!} @endif
@foreach($pages as $page) @php $pageTitle = $page->getTranslation('title', app()->getLocale(), false); @endphp @if($pageTitle)

{{ $pageTitle }}

@endif @endforeach
{{-- Sección de Novedades/Cursos --}} @if($news->count() > 0)

{{ App::getLocale() == 'es' ? '. cursos' : '. courses' }}

@foreach($news as $novelty) @php $noveltyTitle = $novelty->getTranslation('title', app()->getLocale(), false); @endphp @if($noveltyTitle)

{{ $noveltyTitle }}

@endif @endforeach
@endif @endsection