https://centrumflow.com/

Submitted URL:
https://centrumflow.com/
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 13 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

Console log messages · 2 found

Messages logged to the web console

HTML

The raw HTML body of the page

<!DOCTYPE html><html lang="en"><head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Coming Soon | CentrumFlow</title>
  <link rel="icon" href="fav.ico" type="image/x-icon"> <!-- Favicon -->
  
  <!-- SEO Meta Tags -->
  <meta name="description" content="Stay tuned! CentrumFlow is launching soon.">
  <meta name="keywords" content="Coming Soon, CentrumFlow, Website Launch">  
  <script src="https://cdn.tailwindcss.com"></script>
  <style>
    body {
      background-color: #121212; /* Dark background */
    }

    /* Popup styles */
    #popup {
      display: none; /* Hidden by default */
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.85); /* More transparent black background */
      justify-content: center;
      align-items: center;
      z-index: 50;
    }

    #popup-content {
      background-color: #1a1a1a; /* Dark background for the popup */
      border-radius: 10px; /* Rounded corners */
      padding: 20px;
      max-width: 90%;
      max-height: 90%;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    #popup img {
      width: 100%;
      max-height: 70vh; /* Limit height on larger screens */
      border-radius: 10px;
      object-fit: contain; /* Maintain aspect ratio */
    }

    #popup-title {
      color: white;
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    #close-popup {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
      border-radius: 50%; /* Round button */
      background-color: red; /* Button color */
      color: white;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      transition: background-color 0.2s;
    }

    #close-popup:hover {
      background-color: darkred; /* Darker shade on hover */
    }

    /* Arrow button styles */
    .arrow-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.7); /* Black transparent background */
      color: white;
      border: none;
      border-radius: 50%; /* Round button */
      width: 50px; /* Bigger size */
      height: 50px; /* Bigger size */
      cursor: pointer;
      font-size: 1.5rem;
      transition: background-color 0.2s;
    }

    .arrow-button:hover {
      background-color: rgba(0, 0, 0, 0.9); /* Darker on hover */
    }
    
    #prev-arrow {
      left: 10px; /* Position left */
    }

    #next-arrow {
      right: 10px; /* Position right */
    }
  </style>
<style>/* ! tailwindcss v3.4.5 | MIT License | https://tailwindcss.com */*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}::after,::before{--tw-content:''}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*, ::before, ::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.block{display:block}.flex{display:flex}.grid{display:grid}.h-screen{height:100vh}.w-full{width:100%}.max-w-lg{max-width:32rem}.grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-items-center{justify-items:center}.gap-4{gap:1rem}.gap-8{gap:2rem}.rounded-lg{border-radius:0.5rem}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.p-8{padding:2rem}.py-3{padding-top:0.75rem;padding-bottom:0.75rem}.text-center{text-align:center}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:0.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.transition{transition-property:color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-200{transition-duration:200ms}.hover\:bg-gray-600:hover{--tw-bg-opacity:1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}@media (min-width: 768px){.md\:gap-8{gap:2rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}</style></head>
<body class="flex justify-center items-center h-screen text-center">

  <div class="flex flex-col items-center gap-8">
    <h1 class="text-white text-5xl md:text-6xl font-bold transition-all">Coming Soon!</h1>
    <div id="countdown-box" class="bg-gray-800 p-8 rounded-lg shadow-lg transition-all w-full max-w-lg">
      <div id="countdown" class="grid grid-cols-4 gap-4 md:gap-8 justify-items-center">
        <div class="countdown-item text-white text-3xl md:text-4xl transition-all">
          <span id="days">84</span>
          <span class="label text-gray-300 block text-sm md:text-lg">Days</span>
        </div>
        <div class="countdown-item text-white text-3xl md:text-4xl transition-all">
          <span id="hours">4</span>
          <span class="label text-gray-300 block text-sm md:text-lg">Hours</span>
        </div>
        <div class="countdown-item text-white text-3xl md:text-4xl transition-all">
          <span id="minutes">36</span>
          <span class="label text-gray-300 block text-sm md:text-lg">Minutes</span>
        </div>
        <div class="countdown-item text-white text-3xl md:text-4xl transition-all">
          <span id="seconds">35</span>
          <span class="label text-gray-300 block text-sm md:text-lg">Seconds</span>
        </div>
      </div>
    </div>
    <button id="show-images-btn" class="bg-gray-700 text-white font-semibold py-3 rounded-lg shadow-md hover:bg-gray-600 transition duration-200 w-full max-w-lg">
      Show Images
    </button>
  </div>

  <!-- Popup structure -->
  <div id="popup" class="flex">
    <div id="popup-content">
      <h2 id="popup-title">Image Slideshow</h2>
      <img id="slideshow-image" src="" alt="Slideshow Image">
      <button id="close-popup">✖</button>
      <button id="prev-arrow" class="arrow-button" onclick="prevImage()">◀</button>
      <button id="next-arrow" class="arrow-button" onclick="nextImage()">▶</button>
    </div>
  </div>

  <script>
    // Set the date we're counting down to
    var countDownDate = new Date("Dec 31, 2024 23:59:59").getTime();

    // Update the countdown every second
    var countdownFunction = setInterval(function() {
      var now = new Date().getTime();
      var distance = countDownDate - now;

      // Time calculations for days, hours, minutes, and seconds
      var days = Math.floor(distance / (1000 * 60 * 60 * 24));
      var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
      var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
      var seconds = Math.floor((distance % (1000 * 60)) / 1000);

      // Display the result in the corresponding elements
      document.getElementById("days").innerHTML = days;
      document.getElementById("hours").innerHTML = hours;
      document.getElementById("minutes").innerHTML = minutes;
      document.getElementById("seconds").innerHTML = seconds;

      // If the countdown is over, display a message
      if (distance < 0) {
        clearInterval(countdownFunction);
        document.querySelector('#countdown-box').innerHTML = "<h1 class='text-white text-4xl'>We're Live!</h1>";
      }
    }, 1000);

    // Images for the slideshow - dynamically generate from 1.jpg to 11.jpg in the 'troll' folder
    const images = [];
    for (let i = 1; i <= 11; i++) {
      images.push(`troll/${i}.jpg`); // Assuming images are in the "troll" folder
    }

    let currentImageIndex = 0;
    let slideshowInterval;

    // Show the popup and start the slideshow
    document.getElementById('show-images-btn').onclick = function() {
      document.getElementById('popup').style.display = 'flex'; // Show the popup
      document.getElementById('popup-content').style.display = 'block'; // Show content
      startSlideshow();
    };

    // Function to start the slideshow
    function startSlideshow() {
      const imageElement = document.getElementById('slideshow-image');
      imageElement.src = images[currentImageIndex];
      slideshowInterval = setInterval(changeImage, 6000); // Change image every 6 seconds
    }

    // Function to change the image
    function changeImage() {
      currentImageIndex = (currentImageIndex + 1) % images.length; // Loop through images
      document.getElementById('slideshow-image').src = images[currentImageIndex];
    }

    // Function to go to the previous image
    function prevImage() {
      clearInterval(slideshowInterval); // Stop the slideshow
      currentImageIndex = (currentImageIndex - 1 + images.length) % images.length; // Loop to previous image
      document.getElementById('slideshow-image').src = images[currentImageIndex];
      startSlideshow(); // Restart the slideshow
    }

    // Function to go to the next image
    function nextImage() {
      clearInterval(slideshowInterval); // Stop the slideshow
      currentImageIndex = (currentImageIndex + 1) % images.length; // Loop to next image
      document.getElementById('slideshow-image').src = images[currentImageIndex];
      startSlideshow(); // Restart the slideshow
    }

    // Close the popup
    document.getElementById('close-popup').onclick = function() {
      document.getElementById('popup').style.display = 'none'; // Hide the popup
      pauseSlideshow(); // Pause slideshow when closing
    };

    // Function to pause the slideshow
    function pauseSlideshow() {
      clearInterval(slideshowInterval); // Stop the slideshow
    }

    // Event listener for keyboard navigation
    document.addEventListener('keydown', function(event) {
      if (document.getElementById('popup').style.display === 'flex') { // Check if popup is open
        if (event.key === 'ArrowLeft') {
          prevImage(); // Previous image on left arrow key
        } else if (event.key === 'ArrowRight') {
          nextImage(); // Next image on right arrow key
        } else if (event.key === 'Escape') {
          closePopup(); // Close popup on Escape key
        }
      }
    });

    function closePopup() {
      document.getElementById('popup').style.display = 'none'; // Hide the popup
      pauseSlideshow(); // Pause slideshow when closing
    }
  </script>


</body></html>