@extends('admin.layouts.master-soyuz') @section('title', __('Widget Settings | ')) @section('body') @component('admin.component.breadcumb', ['secondaryactive' => 'active']) @slot('heading'){{ __('Widget Settings') }}@endslot @slot('menu1'){{ __('Storefront Widgets') }}@endslot @endcomponent @php $widgetMeta = [ 'slider' => [ 'label' => __('Hero Slider'), 'icon' => 'image', 'desc' => __('Big rotating banners at the top of the homepage.'), 'where' => __('Storefront homepage'), ], 'category' => [ 'label' => __('Shop by Category'), 'icon' => 'grid', 'desc' => __('Category tile grid that lets shoppers browse departments.'), 'where' => __('Storefront homepage'), ], 'hotdeals' => [ 'label' => __('Hot Deals Rail'), 'icon' => 'zap', 'desc' => __('Rose-amber rail of admin-tagged Hot Deals — only items with future end-dates render.'), 'where' => __('Storefront homepage'), ], 'newsletter' => [ 'label' => __('Newsletter Signup'), 'icon' => 'mail', 'desc' => __('Email subscribe form in the storefront footer.'), 'where' => __('Storefront footer (every page)'), ], ]; $widgetsByName = collect($widgets)->keyBy('name'); @endphp
@endsection @push('script') @endpush