Header.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <!--
  3. Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
  4. Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this template
  5. -->
  6. <head>
  7. <link rel="stylesheet" href="CSS.css">
  8. <script src="Poopynuggets.js"></script>
  9. <meta charset="UTF-8">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <title>Ristorante Di Montessori | Real Food for Real Minds</title>
  12. </head>
  13. <main>
  14. <div class="header">
  15. <div class="centered-button">
  16. <button id="myLink">Ristorante Di Montessori</button>
  17. </div>
  18. <a href="https://ristorantedimontessori.pfip.au/pages/about.php">About</a>
  19. <a href="https://ristorantedimontessori.pfip.au/pages/services.php">Services</a>
  20. <a href="https://ristorantedimontessori.pfip.au/pages/contact.php">Contact</a>
  21. </div>
  22. <script>
  23. document.addEventListener('DOMContentLoaded', function() {
  24. const fadingText = document.querySelector('.fading-text');
  25. setTimeout(function() {
  26. fadingText.style.opacity = 1;
  27. }, 1000);
  28. });
  29. document.getElementById('myLink').addEventListener('click', function() {
  30. window.location.href = 'https://ristorantedimontessori.pfip.au/';
  31. });
  32. </script>
  33. </main>
  34. <body>