@extends('layouts.sidebar') @php $sc = old('section_copy', $sectionCopy ?? []); if (! is_array($sc)) { $sc = []; } $f = function (string $section, string $field) use ($sc) { $v = $sc[$section][$field] ?? ''; $old = old("section_copy.$section.$field"); return $old !== null ? $old : $v; }; @endphp @php $sectionRows = $beautyServiceSectionRows ?? []; $salonCategories = $salonCategories ?? collect(); $themePick = [ 0 => __('app.beauty_section_theme_muted'), 1 => __('app.beauty_section_theme_light'), 2 => __('app.beauty_section_theme_cream'), 3 => __('app.beauty_section_theme_primary_soft'), 4 => __('app.beauty_section_theme_accent_soft'), 5 => __('app.beauty_section_theme_muted2'), ]; @endphp @push('styles') @endpush @section('title', __('app.homepage_beauty_page_title') . ' - ' . __('app.admin')) @section('page-title', __('app.homepage_beauty_page_title')) @section('content')
@if($salonCategories->isEmpty()){{ __('app.beauty_hub_no_categories_title') }}
{{ __('app.beauty_hub_no_categories_body') }}
{{ __('app.beauty_category_sections_help') }}