@php // TODO: load from website configuration? $routes = [ [ "label" => "About Us", "location" => "/legal/about-us" ], [ "label" => "Terms of Use", "location" => "/legal/terms-of-use" ], [ "label" => "Privacy Policy", "location" => "/legal/privacy-policy" ], [ "label" => "DMCA", "location" => "/legal/dmca" ], [ "label" => "Support", "location" => "/support" ], [ "label" => "Blog", "location" => 'https://blog.virtubrick.net' ], ]; if(str_starts_with(request()->getHost(), 'blog.')) { foreach($routes as $key => $route) { if($route['label'] == 'Blog') array_splice($routes, $key, $key); } } @endphp