@extends('layouts.admin') @section('title', 'Settings') @section('page-title', 'settings') @push('styles') @endpush @section('content') @php $img = fn ($path) => $path ? asset_image($path) : null; @endphp

General Settings

@csrf @method('PUT')
Use {year} for the current year.
@foreach([ 'logo' => 'Header Logo (420 × 167)', 'flogo' => 'Footer Logo (420 × 167)', 'llogo' => 'Menu Logo (156 × 231)', 'favicon' => 'Favicon (167 × 167)', 'bendlogo' => 'Admin Logo (420 × 167)', 'og_image' => 'OG Image (1200 × 630)', ] as $field => $label)
@if($img($settings->$field)) {{ $label }} @endif
@endforeach
@foreach([ 'facebook' => 'Facebook', 'instagram' => 'Instagram', 'youtube' => 'YouTube', 'twitter' => 'Twitter / X', 'linkedin' => 'LinkedIn', ] as $field => $label)
@endforeach
@endsection @push('scripts') @endpush