 <!DOCTYPE html>
<html lang="pl">
<head>
  <meta charset="UTF-8">
  <meta name="robots" content="noindex, nofollow">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title></title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet">
  <style>
    :root {
      --text-color: #ffffff;
      --link-color: #ffcd6c;
      --bg-color: #4b3a7b;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: var(--bg-color);
      color: var(--text-color);
      font-family: "Poppins", system-ui, -apple-system, sans-serif;
      text-align: center;
    }

    .container {
      width: min(90vw, 840px);
      display: grid;
      gap: 14px;
      align-items: center;
      justify-items: center;
    }

    .logo-link {
      display: inline-block;
      margin: 100px 0;
    }

    p {
      margin: 0.35em 0;
      line-height: 1.5;
    }

    .logo {
      width: auto;
      max-width: min(320px, 70vw);
      height: auto;
    }

    a {
      color: var(--link-color);
      font-weight: 600;
    }

    a:hover,
    a:focus-visible {
      text-decoration: underline;
      text-underline-offset: 4px;
    }
  </style>
</head>
<body>
  <main class="container">
    <p>Widzisz tę stronę, ponieważ domena <b id="domain-name"></b> została poprawnie skierowana na serwery DNS Hostido.</p>
    <a class="logo-link" href="https://hostido.pl/" aria-label="Hostido">
      <img class="logo" src="https://assets.hostido.pl/hostido.png" alt="Bezkompromisowy, ultraszybki hosting dla Ciebie">
    </a>
    <p>Jeśli posiadasz hosting, <a href="https://hostido.pl/baza-wiedzy/wpis/37/jak-dodac-domene-na-hostingu">dodaj domenę do swojej usługi</a>.</p>
    <p>Możesz również włączyć <a href="https://hostido.pl/baza-wiedzy/wpis/146/jak-wlaczyc-zarzadzanie-strefa-domeny">zarządzanie strefą DNS</a> dla swojej domeny.</p>
  </main>
  <script>
    (function setDomainName() {
      const el = document.getElementById("domain-name");
      const hostname = window.location.hostname || "";
      const domain = hostname.replace(/^www\./i, "").trim();

      if (domain) {
        if (el) el.textContent = domain.toUpperCase();
        document.title = domain.toUpperCase();
      } else {
        if (el) el.textContent = "";
        document.title = "Hostido";
      }
    }());
  </script>
</body>
</html>