✨ Story 1.3: templates php base
This commit is contained in:
32
index.php
32
index.php
@@ -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'); ?>
|
||||
Reference in New Issue
Block a user