@extends('layout.front.master')
@section('title', __('Sobre mí') . ' | ' . config('site.name'))
@section('description', config('site.about.meta_description', config('site.seo.description')))
@section('og_title', config('site.about.page_title', __('Sobre mí')))
@section('og_description', config('site.about.meta_description', config('site.seo.description')))
@section('og_image', brand_og_image())
@section('og_type', 'profile')
@section('og_url', url()->current())
@section('content')
@php
$aboutDefaults = [
'page_eyebrow' => __('Sobre mí'),
'page_title' => config('site.name', __('Sobre mí')),
'page_subtitle' => config('site.tagline', ''),
'experience_heading' => __('Trayectoria'),
'experience_subheading' => __('Algunos hitos del camino.'),
'tools_heading' => __('Stack'),
'tools_subheading' => __('Software del día a día.'),
'process_heading' => __('Proceso'),
'process_subheading' => __('Cómo trabajamos juntos.'),
];
$about = function($key, $default = null) use ($aboutDefaults) {
return config('site.about.' . $key, $aboutDefaults[$key] ?? $default);
};
@endphp
{{-- HERO de página --}}
{{ $about('page_eyebrow') }}
{{ $about('page_title') }}
@if($about('page_subtitle'))
{{ $about('page_subtitle') }}
@endif
{{-- BIO --}}
@foreach([1,2,3,4] as $i)
@if($about("bio_paragraph_{$i}"))
{{ $about("bio_paragraph_{$i}") }}
@endif
@endforeach
{{-- EXPERIENCIA --}}
@if($about('exp_1_title') || $about('exp_2_title') || $about('exp_3_title'))
{{ $about('experience_heading') }}
{{ $about('experience_subheading') }}
@foreach([1,2,3] as $i)
@if($about("exp_{$i}_title"))
-
{{ $about("exp_{$i}_year") }}
{{ $about("exp_{$i}_title") }}
{{ $about("exp_{$i}_description") }}
@endif
@endforeach
@endif
{{-- STACK --}}
@if($about('tool_1') || $about('tool_2'))
{{ $about('tools_heading') }}
{{ $about('tools_subheading') }}
@endif
{{-- PROCESO --}}
@if($about('process_1_title'))
{{ $about('process_heading') }}
{{ $about('process_subheading') }}
@foreach([1,2,3,4] as $i)
@if($about("process_{$i}_title"))
0{{ $i }}
{{ $about("process_{$i}_title") }}
{{ $about("process_{$i}_description") }}
@endif
@endforeach
@endif
{{-- CTA --}}
@endsection