Story 2.3: page accueil hero

This commit is contained in:
2026-02-04 16:58:07 +01:00
parent 8dd68ef584
commit a1092c9f60
10 changed files with 137 additions and 87 deletions

View File

@@ -20,6 +20,10 @@ Assert-True ($js -match 'initNavbarScroll') 'Missing initNavbarScroll'
Assert-True (Test-Path 'index.php') 'Missing index.php'
$index = Get-Content -Raw 'index.php'
Assert-True ($index -match "include_template\('navbar'") 'index.php missing navbar include'
if (-not ($index -match "include_template\('navbar'")) {
Assert-True (Test-Path 'pages/home.php') 'Missing pages/home.php for navbar include'
$homeContent = Get-Content -Raw 'pages/home.php'
Assert-True ($homeContent -match "include_template\('navbar'") 'pages/home.php missing navbar include'
}
'OK'
'OK'