@extends('admin.layouts.layout-no-sidebar') @section('content')
@php $currentUrl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $parsedUrl = parse_url($currentUrl); $cleanPath = preg_replace('#/admin.*#', '', $parsedUrl['path']); $cleanUrl = $parsedUrl['scheme'] . '://' . $parsedUrl['host'] . $cleanPath; @endphp
@endsection