@php
$setting->menu_options = $setting->menu_options ? $setting->menu_options : '[{"title": "Home","url": "#banner","target": false},{"title": "Features","url": "#features","target": false},{"title": "How it Works","url": "#how-it-works","target": false},{"title": "Testimonials","url": "#testimonials","target": false},{"title": "Pricing","url": "#pricing","target": false},{"title": "FAQ","url": "#faq","target": false}]';
$menu_options = json_decode($setting->menu_options, true);
foreach ($menu_options as $menu_item) {
printf(
'
-
%2$s
',
Route::currentRouteName() != 'index' ? url('/') . $menu_item['url'] : $menu_item['url'],
__($menu_item['title']),
$menu_item['target'] === false ? '_self' : '_blank',
);
}
@endphp
@if (count(explode(',', $settings_two->languages)) > 1)
@endif