@extends('layouts.admin') @section('styles') @include('admin.partials.frontend-setup-styles') @endsection @section('content') @php $groups = [ [ 'icon' => 'fas fa-star', 'title' => 'ব্র্যান্ড ও প্রাইমারি', 'desc' => 'বাটন, লিংক ও মূল ব্র্যান্ড রঙ', 'fields' => ['primary', 'primary_hover', 'primary_light'], ], [ 'icon' => 'fas fa-fill-drip', 'title' => 'অ্যাকসেন্ট ও সেকেন্ডারি', 'desc' => 'গ্রেডিয়েন্ট ও হাইলাইট রঙ', 'fields' => ['accent', 'accent_hover', 'secondary'], ], [ 'icon' => 'fas fa-bolt', 'title' => 'হিরো সেকশন', 'desc' => 'হিরো টাইটেলে হাইলাইট টেক্সট', 'fields' => ['hero_accent'], ], [ 'icon' => 'fas fa-shoe-prints', 'title' => 'ফুটার', 'desc' => 'ফুটার ব্যাকগ্রাউন্ড ও লিংক', 'fields' => ['footer_start', 'footer_mid', 'footer_end', 'footer_link_hover', 'footer_icon'], ], [ 'icon' => 'fas fa-chart-bar', 'title' => 'স্ট্যাটস সেকশন', 'desc' => 'সংখ্যা/স্ট্যাট কাউন্টার ব্যাকগ্রাউন্ড', 'fields' => ['stats_start', 'stats_mid', 'stats_end'], ], [ 'icon' => 'fas fa-font', 'title' => 'টাইপোগ্রাফি', 'desc' => 'হেডিং ও বডি টেক্সট রঙ', 'fields' => ['dark_bg', 'text_dark', 'text_muted', 'text_heading'], ], ]; $value = fn ($key) => old($key, $theme->{$key} ?? '#000000'); @endphp
@include('admin.partials.pro-hero', [ 'icon' => 'fas fa-palette', 'title' => __('Frontend Theme Colors'), 'subtitle' => __('হোমপেজ ও ফ্রন্টএন্ডের সকল রঙ এখান থেকে পরিবর্তন করুন'), 'breadcrumbs' => [ ['label' => __('Dashboard'), 'url' => route('admin.dashboard')], ['label' => __('Frontend Theme'), 'url' => null], ], ]) @if(Session::has('success')) @endif @include('admin.partials.frontend-setup-nav')
{{ __('Primary') }} {{ $value('primary') }}
{{ __('Accent') }} {{ $value('accent') }}
{{ __('Hero Accent') }} {{ $value('hero_accent') }}
{{ __('Footer') }} {{ $value('footer_start') }}

থিম রঙ সেটিংস

@csrf
{{ __('Quick Presets') }}:
@foreach($groups as $group)

{{ $group['title'] }}

{{ $group['desc'] }}

@foreach($group['fields'] as $key) @if(in_array($key, $fields, true))
{{ $value($key) }}
@endif @endforeach
@endforeach
@csrf
@endsection @section('scripts') @endsection