@php function renderMenu($menuItems, $menuId, $parentSlug = '') { $output = ''; if ($parentSlug === '') { $output .= '