diff --git a/js/voice.js b/js/voice.js index c6a9522d037d6630820388cd75ea515475e82f4c..6db4aeff3ea94708077cb86a3673a1e25bc50ace 100644 --- a/js/voice.js +++ b/js/voice.js @@ -49,7 +49,7 @@ function listenForCristo(){ heardSpan.innerText += " A entendu = " + speechResult; heardSpan.style.display = ""; if(speechResult.toLowerCase().includes("cristaux")){ - console.log('Heard Cristo ! (or Cristo)'); + console.log('Heard Cristo ! (or Cristaux)'); } else { console.log('Heard nothing'); } diff --git a/pages/accueil.php b/pages/accueil.php index 51888d471a5519e6bc11f46a728e3a6ff133790a..a9ce2e10bd51269741a52ca239cc17ecc2c5b0de 100644 --- a/pages/accueil.php +++ b/pages/accueil.php @@ -1,5 +1,6 @@ <!DOCTYPE html> <html lang="fr"> + <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> @@ -11,7 +12,44 @@ <header> <?php include "navbar.php"; ?> </header> + <<<<<<< HEAD + +<head> + <meta charset="utf-8"> + <title> Cristo </title> +</head> + +<body> + <div class="menubackground"> + <div class="v1_158"> + <h1>Crist'o </h1> <h1> Trouvez les recettes parfaites + pour vous, sans lever le petit doigt ! </h1> + + <div class="v1_163"> + <div class="v1_164"><span class="v1_165" input type="text" placeholder="Search.."> </span></div> + <button type="submit"><i class="fa fa-search"></i></button> + <div class="v1_166"> + <div class="v1_167"> + <div class="v1_168"></div> + </div> + </div> + </div><span class="v1_169">OU</span> + <div class="v1_170"> + <div class="v1_171"> + <div class="v1_172"></div> + </div> + <i class="fa-solid fa-microphone"></i> + <span class="v1_173">Demandez à Crist'o</span> + + </div> + </div> + </div> + <div class="votrerecette"> + <p> Vous souhaitez ajouter votre recette ? Cliquez ici</p> + </div> +</body> <?php include "footer.php"; ?> </body> + </html> \ No newline at end of file diff --git a/pages/header.php b/pages/header.php index f0bb7562d3b6ef00f73a093b7fcaa0b049328d9f..af2497029a674d8defa2fb23d3f738a8ba313035 100644 --- a/pages/header.php +++ b/pages/header.php @@ -18,7 +18,4 @@ © Cristo 2023 </footer> </body> -</html> - - -<?php \ No newline at end of file +</html> \ No newline at end of file