@extends('layouts.settings') @section('title', __('masjid_profile.masjid_profile')) @section('content_settings')
@if (Setting::get('masjid_logo_path')) {{ Setting::get('masjid_name', config('masjid.name')) }} @else
{{ __('masjid_profile.masjid_logo') }}
@endif
{{ __('masjid_profile.name') }}{{ Setting::get('masjid_name', config('masjid.name')) }}
{{ __('masjid_profile.address') }}{{ Setting::get('masjid_address') }}
{{ __('masjid_profile.city_name') }}{{ Setting::get('masjid_city_name') }}
{{ __('masjid_profile.google_maps_link') }} {{ Setting::get('masjid_google_maps_link') }}
{{ __('app.social_media') }}
Whatsapp @if (Setting::get('masjid_whatsapp_number')) {{ link_to('https://wa.me/'.Setting::get('masjid_whatsapp_number'), null, ['target' => '__blank']) }} @endif
Instagram @if (Setting::get('masjid_instagram_username')) {{ link_to('https://instagram.com/'.Setting::get('masjid_instagram_username'), null, ['target' => '__blank']) }} @endif
Youtube @if (Setting::get('masjid_youtube_username')) {{ link_to('https://youtube.com/'.Setting::get('masjid_youtube_username'), null, ['target' => '__blank']) }} @endif
Facebook @if (Setting::get('masjid_facebook_username')) {{ link_to('https://facebook.com/'.Setting::get('masjid_facebook_username'), null, ['target' => '__blank']) }} @endif
Telegram @if (Setting::get('masjid_telegram_username')) {{ link_to('https://t.me/'.Setting::get('masjid_telegram_username'), null, ['target' => '__blank']) }} @endif
@if (Setting::get('masjid_google_maps_link'))
{{ __('masjid_profile.maps') }}
{!! FormField::formButton( ['route' => 'masjid_profile.coordinates.update', 'method' => 'patch'], ' '.__('masjid_profile.refresh_masjid_map'), ['id' => 'refresh_masjid_map', 'class' => 'btn btn-info btn-sm'], ['google_maps_link' => Setting::get('masjid_google_maps_link')] ) !!}
@if (Setting::get('masjid_latitude') && Setting::get('masjid_longitude'))
@endif
@endif
{{ __('masjid_profile.masjid_photo') }}
@if (Setting::get('masjid_photo_path')) {{ Setting::get('masjid_name', config('masjid.name')) }} @else
{{ __('masjid_profile.masjid_photo') }}
@endif
@endsection @if (Setting::get('masjid_latitude') && Setting::get('masjid_longitude')) @section('styles') @endsection @push('scripts') @endpush @endif