|
| 1 | +--- |
| 2 | +import Layout from '../layouts/Layout.astro'; |
| 3 | +import { ArrowLeftIcon, FaceFrownIcon } from '@heroicons/react/24/outline'; |
| 4 | +
|
| 5 | +const title = 'Pagina non trovata - 404'; |
| 6 | +const description = 'Ops! La pagina che stai cercando non esiste.'; |
| 7 | +--- |
| 8 | + |
| 9 | +<Layout title={title} description={description}> |
| 10 | + <div class="min-h-screen bg-gray-50 flex items-center justify-center px-4 sm:px-6 lg:px-8"> |
| 11 | + <div class="max-w-md w-full text-center"> |
| 12 | + <!-- Icona e numero 404 --> |
| 13 | + <div class="mb-8"> |
| 14 | + <FaceFrownIcon className="mx-auto h-24 w-24 text-gray-400 mb-6" /> |
| 15 | + <h1 class="text-9xl font-bold text-gray-300 mb-4">404</h1> |
| 16 | + </div> |
| 17 | + |
| 18 | + <!-- Testo spiritoso --> |
| 19 | + <div class="mb-8"> |
| 20 | + <h2 class="text-2xl font-bold text-gray-900 mb-4"> |
| 21 | + Ops! Questa pagina si è persa |
| 22 | + </h2> |
| 23 | + <p class="text-lg text-gray-600 mb-4"> |
| 24 | + Sembra che questa pagina abbia deciso di fare una pausa dalle proteste e sia sparita! 🏃♂️ |
| 25 | + </p> |
| 26 | + <p class="text-gray-500"> |
| 27 | + Non preoccuparti, anche le migliori iniziative popolari a volte prendono strade diverse. |
| 28 | + Torniamo alla home e riproviamo ... |
| 29 | + </p> |
| 30 | + </div> |
| 31 | + |
| 32 | + <!-- Pulsante per tornare alla home --> |
| 33 | + <div class="space-y-4"> |
| 34 | + <a |
| 35 | + href={import.meta.env.BASE_URL} |
| 36 | + class="inline-flex items-center justify-center px-6 py-3 bg-blue-600 text-white text-lg font-semibold rounded-lg hover:bg-blue-700 transition-colors duration-200 shadow-sm" |
| 37 | + > |
| 38 | + <ArrowLeftIcon className="w-5 h-5 mr-2" /> |
| 39 | + Torna alla home |
| 40 | + </a> |
| 41 | + |
| 42 | + <!-- Link secondario --> |
| 43 | + <div> |
| 44 | + <button |
| 45 | + onclick="history.back()" |
| 46 | + class="text-blue-600 hover:text-blue-700 font-medium underline" |
| 47 | + > |
| 48 | + Oppure torna indietro |
| 49 | + </button> |
| 50 | + </div> |
| 51 | + </div> |
| 52 | + |
| 53 | + <!-- Messaggio aggiuntivo spiritoso --> |
| 54 | + <div class="mt-12 p-4 bg-blue-50 rounded-lg"> |
| 55 | + <p class="text-sm text-blue-700"> |
| 56 | + <strong>Curiosità:</strong> Sapevi che il codice 404 prende il nome dalla stanza 404 del CERN dove si trovava il primo server web? |
| 57 | + Almeno questa pagina ha una storia più interessante dei referendum! 📚 |
| 58 | + </p> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | +</Layout> |
0 commit comments