Issue with Navigation and Pages

Below is my $pages code, i was using Get-UDPage like all the bottom entries, but now needed to edit the icons and header colors, i changed the Home page to use the follow code. -Contect of the page never loads.

$Pages = @()

$Pages += New-UDPage -Name ‘Home’ -Url ‘/home’ -Icon home -Content {

. “$UDScriptRoot\Home.ps1”

} -HeaderColor ‘white’

$UDScriptRoot = $PSScriptRoot

$Pages += New-UDPage -Name ‘Home’ -Content {.$UDScriptRoot\Pages\Home.ps1}

$Pages += Get-UDPage -Name ‘LastLogin’

$Pages += Get-UDPage -Name ‘PasswordReset’

$Pages += Get-UDPage -Name ‘VersionMatrix’

$Pages += Get-UDPage -Name ‘XDRFix’

$Pages += Get-UDPage -Name ‘Endpoint’

$Pages += Get-UDPage -Name ‘LAPS’

$Pages += Get-UDPage -Name ‘UserList’

$Pages += Get-UDPage -Name ‘ProfileCleanup’

$Pages += Get-UDPage -Name ‘ComplianceReport’

$Pages += Get-UDPage -Name ‘Veeam’

$Pages += Get-UDPage -Name ‘MessageOfTheDay’