@if (!empty($home_text->portfolio_title))
{{$home_text->portfolio_title}}
@endif
{{$home_text->portfolio_subtitle ?? null}}
@foreach($portfolios as $portfolio)
@endforeach
@endif
@if(isset($home_sections->why_choose_us_section) && $home_sections->why_choose_us_section == 1)
@php
$whyChooseImg = $home_text->why_choose_us_section_image ?? 'why_choose_us.png';
@endphp
@if (!empty($home_text->why_choose_us_section_title))
{{$home_text->why_choose_us_section_title}}
@endif
{{$home_text->why_choose_us_section_subtitle ?? null}}
@if (!empty($home_text->why_choose_us_section_text))
{!! nl2br($home_text->why_choose_us_section_text) !!}
@endif
@if (!empty($home_text->why_choose_us_section_button_url))
{{$home_text->why_choose_us_section_button_text}}
@endif
@endif
@if(isset($home_sections->counter_info_section) && $home_sections->counter_info_section == 1)
@foreach ($counterInformations as $counterInformation)
{{$counterInformation->count}}
{{$counterInformation->title}}
@endforeach
@endif
@if(in_array('Team',$packagePermissions) && isset($home_sections->team_members_section) && $home_sections->team_members_section == 1)
@if (!empty($home_text->team_section_title))
{{$home_text->team_section_title}}
@endif
{{$home_text->team_section_subtitle ?? null}}
@foreach($teams as $team)
@isset($team->facebook)
@endisset
@isset($team->twitter)
@endisset
@isset($team->instagram)
@endisset
@isset($team->linkedin)
@endisset
@endforeach
@endif
@if(isset($home_sections->skills_section) && $home_sections->skills_section == 1)
@if (!empty($home_text->skills_title))
{{$home_text->skills_title}}
@endif
{{$home_text->skills_subtitle ?? null}}
@if (!empty($home_text->skills_content))
{!! nl2br($home_text->skills_content ?? "") !!}
@endif
@foreach($skills as $skill)
@endforeach
@endif
@if(isset($home_sections->testimonials_section) && $home_sections->testimonials_section == 1)
@if (!empty($home_text->testimonial_title))
{{$home_text->testimonial_title}}
@endif
{{$home_text->testimonial_subtitle ?? null}}
@foreach($testimonials as $testimonial)
{!! replaceBaseUrl($testimonial->content) !!}
{{$testimonial->name}}
{{$testimonial->occupation ?? null}}
@endforeach
@php
$tstmImg = $home_text->testimonial_image ?? 'testimonial.png';
@endphp
@endif
@if(isset($home_sections->brand_section) && $home_sections->brand_section == 1 && count($brands) > 0)
@foreach($brands as $brand)
@endforeach
@endif
@if(in_array('Blog',$packagePermissions) && isset($home_sections->blogs_section) && $home_sections->blogs_section == 1)
@if (!empty($home_text->blog_title))
{{$home_text->blog_title}}
@endif
{{$home_text->blog_subtitle ?? null}}
@foreach($blogs as $blog)
{{\Carbon\Carbon::parse($blog->created_at)->format('F j, Y')}}
{!! strlen(strip_tags($blog->content)) > 80 ? mb_substr(strip_tags($blog->content), 0, 80, 'UTF-8') . '...' : strip_tags($blog->content) !!}
{{$keywords['Learn_More'] ?? 'Learn More'}}
@endforeach
@endif
@endsection