@extends('layouts.app') @section('title', __("app.solutions.{$slug}.title")) @section('meta_description', __("app.solutions.{$slug}.meta_description")) @section('content') @include('partials.page-hero', [ 'crumbs' => [ ['name' => __('app.nav.home'), 'url' => lroute('home')], ['name' => __('app.nav.solutions'), 'url' => lroute('home').'#solutions'], ['name' => __("app.solutions.{$slug}.nav")], ], 'title' => __("app.solutions.{$slug}.h1"), 'lead' => __("app.solutions.{$slug}.lead"), ])

{{ __("app.solutions.{$slug}.features_title") }}

@foreach (__("app.solutions.{$slug}.features") as $feature)

{{ $feature['title'] }}

{{ $feature['text'] }}

@endforeach

{{ __("app.solutions.{$slug}.steps_title") }}

@foreach (__("app.solutions.{$slug}.steps") as $i => $step)
{{ $i + 1 }}

{{ $step }}

@endforeach
@php $solutionFaq = __("app.solutions.{$slug}.faq"); @endphp @if (is_array($solutionFaq) && count($solutionFaq))

{{ __('app.nav.faq') }}

@foreach ($solutionFaq as $item)
{{ $item['q'] }}
{{ $item['a'] }}
@endforeach
@endif @php $relatedLinks = __("app.solutions.{$slug}.related"); @endphp @if (is_array($relatedLinks) && count($relatedLinks))

{{ __('app.comparisons.related_title') }}

@foreach ($relatedLinks as $link) @php $linkType = $link['type'] ?? 'route'; $href = match ($linkType) { 'solution' => lroute('solution', ['slug' => $link['slug']]), 'comparison' => lroute('comparison', ['slug' => $link['slug']]), 'industry' => lroute('industry', ['slug' => $link['slug']]), 'post' => lroute('blog.show', ['slug' => $link['slug']]), default => lroute($link['route']), }; $label = isset($link['label']) ? __($link['label']) : match ($linkType) { 'solution' => __("app.solutions.{$link['slug']}.nav"), 'comparison' => __("app.comparisons.{$link['slug']}.title"), 'industry' => __("app.industries.{$link['slug']}.nav"), 'post' => '', default => '', }; @endphp {{ $label }} @endforeach
@endif @include('partials.cta') @endsection