templates/bundles/TwigBundle/Exception/error404.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.   <style>
  5.     html,
  6.     body {
  7.       height: 100%;
  8.       margin: 0;
  9.       font-family: Arial, sans-serif;
  10.     }
  11.     /* Center the content */
  12.     .container {
  13.       height: 100vh;
  14.       display: flex;
  15.       align-items: center;
  16.       justify-content: center;
  17.     }
  18.     /* Center text and give it some padding */
  19.     .text-center {
  20.       text-align: center;
  21.       padding: 20px;
  22.     }
  23.     /* Style the logo */
  24.     .logo {
  25.       height: 150px; /* Adjust the height and width as needed */
  26.       margin-bottom: 20px;
  27.       background-image: url('https://ticketing.alteogroup.net/bundles/uvdeskcoreframework/images/logo.png');
  28.       background-size: contain;
  29.       background-repeat: no-repeat;
  30.       background-position: center;
  31.     }
  32.     /* Style for the main headline */
  33.     h1 {
  34.       font-size: 48px;
  35.       color: #666;
  36.     }
  37.     /* Style for the sub-headline */
  38.     h2 {
  39.       font-size: 24px;
  40.       margin-top: 10px;
  41.       color: #666;
  42.     }
  43.     /* Style for the paragraph */
  44.     p {
  45.       font-size: 16px;
  46.       color: #777;
  47.       margin: 10px 0 20px;
  48.     }
  49.     /* Button styling */
  50.     .btn {
  51.       display: inline-block;
  52.       padding: 10px 20px;
  53.       background-color: #53585a;
  54.       color: white;
  55.       text-decoration: none;
  56.       border-radius: 5px;
  57.       font-size: 16px;
  58.       transition: background-color 0.3s;
  59.     }
  60.     /* Add icon to the button */
  61.     .btn .icon {
  62.       margin-right: 10px;
  63.       font-size: 18px;
  64.     }
  65.     /* Button hover effect */
  66.     .btn:hover {
  67.       background-color: #53585abd;
  68.     }
  69.   </style>
  70.   <meta charset="UTF-8" />
  71.   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  72.   <title>404 - Page Not Found</title>
  73.   <link rel="stylesheet" href="404.css" />
  74. </head>
  75. <body>
  76.   <div class="container">
  77.     <div class="text-center">
  78.       <div class="logo"></div>
  79.       <h1>Whoops, 404</h1>
  80.       <h2>Page not found</h2>
  81.       <p>The page you were looking for does not exist.</p>
  82.       <a href="/" class="btn">
  83.         <span class="icon"></span>
  84.         Back to Home
  85.       </a>
  86.     </div>
  87.   </div>
  88. </body>
  89. </html>