@extends('admin.layouts.admin') @section('title', 'Site Settings') @section('page_title', 'Global Configuration') @section('content')
@csrf

General Settings

Configure your primary website identity and contact information.

Recommended: 150x50 PNG with transparency

Recommended: 32x32 ICO or PNG

Top Header Configuration

WHMCS API Configuration

This ID is used for all order links. (ID 1 = USD, ID 8 = BDT in your system)

Security Configuration

If set, this PIN must be entered before the login form is shown. Leave empty to disable.

AI Configuration

Manage AI service providers and API keys.

Google Gemini

Primary Provider Used: {{ $settings['gemini_usage_count'] ?? 0 }}

Groq (Llama 3)

Fallback #1 Used: {{ $settings['groq_usage_count'] ?? 0 }}

Mistral AI

Fallback #2 Used: {{ $settings['mistral_usage_count'] ?? 0 }}

Visual Identity & Colors

Customize the frontend color scheme to match your brand.

1. Primary Action Colors

2. Background Colors

@php $bgGroups = [ 'color_bg_light' => ['label' => 'Light Theme BG', 'default' => '#f2f7fb'], 'color_bg_dark' => ['label' => 'Dark Theme BG', 'default' => '#0f172a'], 'color_card_light' => ['label' => 'Card BG Light', 'default' => '#ffffff'], 'color_card_dark' => ['label' => 'Card BG Dark', 'default' => '#1a233a'], ]; @endphp @foreach($bgGroups as $key => $data)
@endforeach

3. Typography Colors

@php $textGroups = [ 'color_text_main' => ['label' => 'Main Headings', 'default' => '#111827'], 'color_text_body' => ['label' => 'Body Text', 'default' => '#4b5563'], 'color_text_dark_main' => ['label' => 'Dark Mode Header', 'default' => '#ffffff'], 'color_text_dark_body' => ['label' => 'Dark Mode Body', 'default' => '#94a3b8'], ]; @endphp @foreach($textGroups as $key => $data)
@endforeach

4. Status Colors

Footer Configuration

Configure footer content, columns, and legal links.

1. Copyright & Legal

@for($i=1; $i<=3; $i++) @php $defaultLegalLabel = $i == 1 ? 'Privacy Policy' : ($i == 2 ? 'Terms of Service' : 'Cookie Policy'); @endphp
Legal Link {{ $i }}
@endfor

2. Footer Columns

@for($col=1; $col<=3; $col++) @php $defaultTitle = $col == 1 ? 'Company' : ($col == 2 ? 'Support' : 'Resources'); $defaultLabels = [ 1 => ['About Us', 'Careers', 'Blog', 'Contact'], 2 => ['Help Center', 'Documentation', 'Community', 'Status'], 3 => ['Pricing', 'API', 'Partners', 'Affiliates'] ]; @endphp
@for($link=1; $link<=4; $link++)
Link {{ $link }}
@endfor
@endfor

Social Media Links

Manage your brand presence on social platforms.

@endsection