@extends('admin.layouts.master-soyuz')
@section('title', __('Maintenance Mode'))
@section('body')
@component('admin.component.breadcumb',['secondaryactive' => 'active'])
@slot('heading'){{ __('Maintenance Mode') }}@endslot
@slot('menu1'){{ __('Maintenance Mode') }}@endslot
@endcomponent
@php $isOn = isset($data) && $data->status == 1; $myIp = Request::ip(); @endphp
{{-- Status banner --}}
{{ $isOn ? __('Maintenance mode is ACTIVE') : __('Site is LIVE') }}
{{ $isOn
? __('The storefront is hidden from public visitors. Super Admins and whitelisted IPs still have access.')
: __('Your storefront is publicly accessible. Toggle maintenance mode below to take it offline temporarily.')
}}
{{ __('Your IP') }}
{{ $myIp }}
@if ($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@if(session()->has('added'))
{{ session('added') }}
@endif
@endsection
@section('custom-script')
@endsection