<!DOCTYPE html>
<html>
<?php
$host = $_SERVER['HTTP_HOST'];
preg_match("/[^\.\/]+\.[^\.\/]+$/", $host, $matches);
$domain = $matches[0];
?>

  <head>
    <title>Coming Soon</title>
    <meta charSet="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="description" content="Coming Soon">
    <meta property="og:image" content="">
    <link rel="shortcut icon" href="https://www.canspace.ca/images/landing/favicon.ico" />
    <link href="https://fonts.googleapis.com/css?family=Poppins:300,400" rel="stylesheet">

    <link rel="stylesheet" href="https://www.canspace.ca/images/landing/canspacelanding.css">
  </head>

  <body class="font-modern" style="overflow-x:hidden">
    <div class="red-white">
      <header class="header">
        <div class="container-lrg">
          <div class="flex col-12 spread"><a class="logo"><img src="https://www.canspace.ca/images/landing/mapleleaf.png" alt="Logo"></a>
          </div>
        </div>
      </header>
      <section class="section">
        <div class="container-lrg flex">
          <div class="col-6 flex flex-column center-vertical mobile-text-center mb40">
            <h1 class="heading-lrg primary-color"><br>Welcome to<br><?php echo $domain; ?></h1>
            <h2 class="subheading secondary-color mt20">This website is coming soon.</h2>
          </div>
          <div class="col-6 mobile-text-center">
            <div class="iphone">
              <div class="mask"><img src="https://www.canspace.ca/images/landing/leaves.png" alt="Screenshot" class="mask-img"></div>
            </div>
          </div>
        </div>
      </section>
    </div>
    <br><br>
    <footer id="footer-1" class="section text-center red-white" sitemeta="[object Object]" activepage="Landing">
      <div class="container col-12">
        <nav class="mb50"><a target="_blank" href="https://www.canspace.ca" class="nav-link secondary-color">Hosted by CanSpace Solutions</a></nav>
      </div>
    </footer>
</html>
