@props([ 'toolKey', 'relatedSlug' => null, 'relatedSlug2' => null, ]) @php $locale = app()->getLocale(); $howToTitle = __('tools.' . $toolKey . '.how_to_title'); $howToSteps = __('tools.' . $toolKey . '.how_to_steps'); $specsTitle = __('tools.' . $toolKey . '.specs_title'); $specs = __('tools.' . $toolKey . '.specs'); $examplesTitle = __('tools.' . $toolKey . '.examples_title'); $examples = __('tools.' . $toolKey . '.examples'); $faqTitle = __('tools.' . $toolKey . '.faq_title'); $faq = __('tools.' . $toolKey . '.faq'); $relatedContext = __('tools.' . $toolKey . '.related_context'); $limitationsTitle = \Illuminate\Support\Facades\Lang::has('tools.' . $toolKey . '.limitations_title') ? __('tools.' . $toolKey . '.limitations_title') : (\Illuminate\Support\Facades\Lang::has('tools.' . $toolKey . '.security_title') ? __('tools.' . $toolKey . '.security_title') : null); $limitationsText = \Illuminate\Support\Facades\Lang::has('tools.' . $toolKey . '.limitations_text') ? __('tools.' . $toolKey . '.limitations_text') : (\Illuminate\Support\Facades\Lang::has('tools.' . $toolKey . '.security_text') ? __('tools.' . $toolKey . '.security_text') : null); $privacyTitle = __('tools.' . $toolKey . '.privacy_title'); $privacyText = __('tools.' . $toolKey . '.privacy_text'); $registry = app(\App\Support\Tools\ToolRegistry::class); $relatedTool1 = $relatedSlug ? $registry->find($relatedSlug) : null; $relatedTool2 = $relatedSlug2 ? $registry->find($relatedSlug2) : null; @endphp
{{ $step }}
| {{ $locale === 'bn' ? 'বৈশিষ্ট্য / প্যারামিটার' : 'Specification' }} | {{ $locale === 'bn' ? 'মান ও নির্দেশিকা' : 'Details & Capabilities' }} |
|---|---|
| {{ $label }} | {{ $value }} |
{{ $ex['input'] }}
{{ $ex['output'] }}
{{ $limitationsText }}
{{ $privacyText }}
{{ $item['a'] }}