@extends('admin.layout') @section('content') @php $rtl = App\Language::where('code', App::getLocale())->first()->rtl == true ? 'rtl' : 'ltr'; // dd($currentTheme->searchFilterStyle); @endphp

{{ translate('Customize theme') }}

{{ translate('Advanced') }} {{ translate('Customize your store') }}

{{ translate('Choose') }} {{ translate('Store design') }}

{!! Form::open(['method' => 'patch', 'action' => ['Admin\ThemeSettingController@update', $currentTheme->id], 'files' => true, 'id' => 'basic-setting-container']) !!}
{!! Form::hidden('color_palet_id', $currentTheme->color_palet_id, ['id' => 'color_palet_id']) !!} {!! Form::hidden('activeThemEdit', 'color', ['id' => 'activeThemEdit']) !!} @foreach ($color_palets as $palet)
{{ $palet['title'] }}
@endforeach


{{ translate('Customize the color palette') }}
{!! Form::color('primary_color', $currentTheme->primary_color, ['class' => 'color-palet-span', 'id' => 'bg_primaryـcolor', 'title' => translate('Primary color')]) !!} {!! Form::color('secondary_color', $currentTheme->secondary_color, ['class' => 'color-palet-span', 'id' => 'bg_secondary_color', 'title' => translate('Secondary color')]) !!} {!! Form::color('white_color', $currentTheme->white_color, ['class' => 'color-palet-span', 'id' => 'bg_white_color', 'title' => translate('White color')]) !!} {!! Form::color('black_color', $currentTheme->black_color, ['class' => 'color-palet-span', 'id' => 'bg_black_color', 'title' => translate('Black color')]) !!} {!! Form::color('grey_color', $currentTheme->grey_color, ['class' => 'color-palet-span', 'id' => 'bg_grey_color', 'title' => translate('Grey color')]) !!} {!! Form::color('light_grey_color', $currentTheme->light_grey_color, ['class' => 'color-palet-span', 'id' => 'bg_light_grey_color', 'title' => translate('Light grey color')]) !!}
{!! Form::hidden('btnStyle', $currentTheme->btnStyle, ['id' => 'btnStyle']) !!}
{!! Form::hidden('font_id', $currentTheme->font_id, ['id' => 'font_id']) !!} {!! Form::hidden('font_name', $currentTheme->font_name, ['id' => 'font_name']) !!}
@foreach ($fonts as $font)
{{ translate('Try Font') }}
{{ translate('1234') }}
١٢٣٤٥٦

{{ $font['title'] }}


@endforeach
{!! Form::hidden('titleStyle', $currentTheme->titleStyle, ['id' => 'titleStyle']) !!}

{{ translate('Choose a menu format to filter results') }}

{!! Form::hidden('SearchFilterStyle', $currentTheme->searchFilterStyle, ['id' => 'SearchFilterStyle']) !!}

{{ translate('You can choose between an advanced filter list or a simple classification list as shown above') }}

{{ translate('Add store logo') }}

@php if ($settings->main_logo) { $link_logo = $settings->main_logo; } else { $link_logo = '/images/noimg.jpg'; } @endphp



{{ translate('Add favorit icon') }}

@php if ($settings->fav_icon) { $link = $settings->fav_icon; } else { $link = '/images/noimg.jpg'; } @endphp

{{ translate('The store icon is indicated in the image below') }}
logo
{{ translate('Home') }} {{ translate('Category') }} {{ translate('Category') }} {{ translate('Category') }} {{ translate('Category') }}
{{ translate('Special offers on me') }}
{{ translate('An outstanding product among other stores') }}
{!! Form::Close() !!}
{!! Form::open(['method' => 'patch', 'action' => ['Admin\settingsController@basicUpdate', 1], 'files' => true, 'id' => 'contact-info-container']) !!}
{!! Form::email('email', $settings->email, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('Email')]) !!}
{!! Form::text('phone', $settings->phone, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('Phone')]) !!}
{!! Form::text('whatsapp', $settings->whatsapp, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('whatsapp')]) !!}
{!! Form::textarea('site_name', $settings->site_name, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('Site name')]) !!}
{!! Form::Close() !!}
{!! Form::open(['method' => 'patch', 'action' => ['Admin\settingsController@socialUpdate', 1], 'files' => true, 'id' => 'social-networks-container']) !!}
{!! Form::text('facebook', $settings->facebook, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('Facebook')]) !!}
{!! Form::text('twitter', $settings->twitter, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('Twitter')]) !!}
{!! Form::text('instgram', $settings->instgram, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('Instgram')]) !!}
{!! Form::text('appstore_link', $settings->appstore_link, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('Appstore')]) !!}
{!! Form::text('google_play_link', $settings->google_play_link, ['onChange' => 'changeIsChange(1)', 'class' => 'form-control', 'placeholder' => translate('Google play')]) !!}
{!! Form::Close() !!}
@foreach ($pages as $key => $d) @endforeach
# {{ translate('Title') }} {{ translate('Options') }}
{{ $key + 1 }} {{-- --}}
{{ $d->getTranslation('title') }}
@endsection @section('modal') @include('admin.ThemeSetting.partials.css_modal') @endsection @section('script') @endsection