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

@@ -26,8 +26,12 @@ Assert-True ($footer -match '</body>') 'Footer missing closing body'
Assert-True (Test-Path 'index.php') 'Missing index.php'
$index = Get-Content -Raw 'index.php'
Assert-True ($index -match 'include_template\(') 'index.php missing include_template usage'
if (-not ($index -match 'include_template\(')) {
Assert-True (Test-Path 'pages/home.php') 'Missing pages/home.php for templates usage'
$homeContent = Get-Content -Raw 'pages/home.php'
Assert-True ($homeContent -match 'include_template\(') 'pages/home.php missing include_template usage'
}
Assert-True (Test-Path 'assets/js/main.js') 'Missing assets/js/main.js'
'OK'
'OK'