@extends('layouts.app') @section('content') {{-- App Logo --}} @php $logo = $generalSettings->where('type', 'App Logo')->first(); $logoData = $logo ? $logo->data ?? [] : []; $logoUrl = $logoData['logo_url'] ?? null; @endphp {{-- Fav Icon --}} @php $fabicon = $generalSettings->where('type', 'Fab Icon')->first(); $fabiconData = $fabicon ? $fabicon->data ?? [] : []; $fabiconUrl = $fabiconData['fav_url'] ?? null; @endphp {{-- Footer Logo --}} @php $footerLogo = $generalSettings->where('type', 'Footer Logo')->first(); $footerLogoData = $footerLogo ? $footerLogo->data ?? [] : []; $footerLogoUrl = $footerLogoData['footer_url'] ?? null; @endphp {{-- Additional Settings --}} @php $appName = $generalSettings->where('type', 'App Name')->first()->data['value'] ?? ''; $themeColor = $generalSettings->where('type', 'Theme Color')->first()->data['value'] ?? '#000000'; @endphp {{-- Downloadable Link --}} @php $downloadLinks = $generalSettings->where('type', 'Download Links')->first(); $downloadLinksData = $downloadLinks && is_array($downloadLinks->data) ? $downloadLinks->data : []; $thumbnailUrl = $downloadLinksData['thumbnail1'] ?? null; $thumbnailUrl2 = $downloadLinksData['thumbnail2'] ?? null; @endphp {{-- Social Links --}} @php $socialLinksData = $generalSettings->where('type', 'Social Links')->first()->data ?? []; $facebookUrl = $socialLinksData['facebook']['url'] ?? ''; $linkedinUrl = $socialLinksData['linkedin']['url'] ?? ''; $instagramUrl = $socialLinksData['instagram']['url'] ?? ''; $youtubeUrl = $socialLinksData['youtube']['url'] ?? ''; @endphp {{-- Mail Configuration --}} @php $mailSetting = $generalSettings->where('type', 'Mail Config')->first(); $mailData = $mailSetting ? $mailSetting->data : []; @endphp {{-- SMS Configuration --}} @php $smsSetting = $generalSettings->where('type', 'SMS Config')->first(); $smsData = $smsSetting && is_array($smsSetting->data) ? $smsSetting->data : []; @endphp
{{-- App Logo --}}
@csrf @method('PUT')
{{-- Header with Icon --}}
{{ __('App Logo') }}
{{-- Logo Preview Section --}}
{{-- Image Container --}}
App Logo
{{-- Upload Info --}}

PNG, JPG, SVG

@error('logo')
{{ $message }}
@enderror {{-- File Input --}}
{{-- Update Button --}}
{{-- Fav Icon --}}
@csrf @method('PUT')
{{-- Header with Icon --}}
{{ __('Fav Icon') }}
{{-- Favicon Preview Section --}}
{{-- Image Container --}}
Fav Icon
{{-- Upload Info --}}

PNG, JPG, SVG

@error('fabicon')
{{ $message }}
@enderror {{-- File Input --}}
{{-- Update Button --}}
{{-- Additional Settings --}}
@csrf @method('PUT')
{{-- Header --}}
{{ __('Additional Settings') }}
{{-- App Name --}}
@error('app_name') {{ $message }} @enderror
{{-- Time Zone --}}
@error('timezone') {{ $message }} @enderror
{{-- Update Button --}}
{{-- Downloadable Link --}}
@csrf @method('PUT')
{{ __('Downloadable Link Section') }}
{{-- Thumbnail 1 --}}
{{-- Header with Icon --}}
{{ __('Thumbnail 1') }}
{{-- Thumbnail Preview Section --}}
{{-- Image Container --}}
Thumbnail 1 {{ __('No Thumbnail') }}
{{-- Upload Info --}}

PNG, JPG, SVG

{{-- File Input --}}
{{-- Error Message --}} @error('thumbnail1') {{ $message }} @enderror
{{-- Thumbnail 2 --}}
{{-- Header with Icon --}}
{{ __('Thumbnail 2') }}
{{-- Thumbnail Preview Section --}}
{{-- Image Container --}}
Thumbnail 2 {{ __('No Thumbnail') }}
{{-- Upload Info --}}

PNG, JPG, SVG

{{-- File Input --}}
{{-- Error Message --}} @error('thumbnail2') {{ $message }} @enderror
{{-- Inputs --}}
@error('title') {{ $message }} @enderror
@error('subtitle') {{ $message }} @enderror
@error('description') {{ $message }} @enderror
@error('app_store_url') {{ $message }} @enderror
@error('play_store_url') {{ $message }} @enderror
{{-- Mail Configuration --}}
@csrf @method('PUT')
{{ __('Mail Configuration') }}
{{-- SMS Configuration --}}
@csrf @method('PUT')
{{ __('SMS Configuration') }}
{{-- Reusable Image Preview Script --}} @endsection