Story 1.3: templates php base

This commit is contained in:
2026-02-04 15:33:03 +01:00
parent e1395a235e
commit 2aa77a8c10
10 changed files with 175 additions and 49 deletions

View File

@@ -1,11 +1,21 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hello World</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
<?php
// index.php - Point d'entrée
require_once __DIR__ . '/includes/functions.php';
include_template('header', [
'pageTitle' => 'Accueil',
'pageDescription' => 'Portfolio de développeur web. Découvrez mes projets et compétences.'
]);
?>
<main class="min-h-screen">
<div class="container-content py-20">
<h1 class="text-display text-center">Hello World</h1>
<p class="text-center text-text-secondary mt-4">
Le portfolio est en construction.
</p>
</div>
</main>
<?php include_template('footer'); ?>