$content = [System.IO.File]::ReadAllText("index.html", [System.Text.Encoding]::UTF8)

# Remove the hero badge div using Regex to avoid any spacing/character issues
$content = $content -replace '<div class="hero-badge">.*?</div>', ''

[System.IO.File]::WriteAllText("index.html", $content, [System.Text.Encoding]::UTF8)
Write-Host "Removed hero badge using regex."
