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

@@ -31,7 +31,9 @@ Assert-True (Test-Path 'logs/.gitkeep') 'Missing logs/.gitkeep'
Assert-True (Test-Path 'index.php') 'Missing index.php'
$index = Get-Content -Raw 'index.php'
if (-not ($index -match 'Hello World')) {
Assert-True ($index -match 'Portfolio') 'index.php missing expected content'
if (-not ($index -match 'Portfolio')) {
Assert-True ($index -match 'pages/home.php') 'index.php missing expected content'
}
}
if (-not ($index -match 'meta name="viewport"')) {
Assert-True (Test-Path 'templates/header.php') 'Missing templates/header.php for viewport meta'