Flat Preloader Icon
<div class="c-preloader">
	<div class="c-preloader__count"></div>
  <div class="c-preloader__progress"></div>
</div>
.bricks-is-frontend .c-preloader {
  position: fixed;
  top: 0;
  left: 0;
  background: #cc0000;
  width: 100%;
  height: 100vh;
  z-index: 10;
}
.bricks-is-frontend .c-preloader__count {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
font-size: clamp(4rem, 3.824vw + 2.776rem, 8rem);
  font-weight: 100;
  letter-spacing: -.5rem;
  z-index: 10;
}
.bricks-is-frontend .c-preloader__progress {
  background: black;
  height: 100%;
  width: 0%;
  position: absolute;
  top: 0;
  left: 0;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/TweenMax.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.4/imagesloaded.pkgd.min.js"></script>

<script>
  
var imgLoad = imagesLoaded('img');

var progressBar = jQuery(".c-preloader__progress"),
    count = jQuery(".c-preloader__count"),
    images = jQuery("img").length,
    loadedCount = 0,
    loadingProgress = 0;
 
var tlProgress = new TimelineMax({
    paused: true,
    onUpdate: countPercent,
    onComplete: loadComplete
});

tlProgress.to(progressBar, 1, {width:"100%"});

imgLoad.on('progress', function(instance, image) {
    loadProgress();
});
 
function loadProgress() {
    loadedCount++;
    loadingProgress = (loadedCount / images);
    console.log(loadingProgress);

    TweenMax.to(tlProgress, 1, {progress: loadingProgress});
}

function countPercent() {
    var newPercent = (tlProgress.progress() * 100).toFixed();
    count.text(newPercent + "%");
}

function loadComplete() {
    var tlEnd = new TimelineMax();
    tlEnd
        .to(count, 0.5, {autoAlpha: 0})
        .to(".c-preloader", 0.5, {scaleX: 0, transformOrigin: "center right"});
}

</script>
/* Default state: transparent background */
#brx-header.sticky {
  position: sticky;
  top: 0;
  transition: opacity 0.5s ease, background-color 0.5s ease;
  opacity: 1;
  visibility: visible;
  background-color: transparent !important; /* Start with transparent background */
}

/* Hidden state when scrolling down */
#brx-header.sticky.nav-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: transparent !important; /* Stay transparent when hidden */
}

/* Visible state when scrolling up: background becomes black */
#brx-header.sticky.nav-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5) !important; /* Background becomes black when scrolling up */
}
document.addEventListener('DOMContentLoaded', function () {
  let lastScrollTop = 0;
  const nav = document.querySelector('#brx-header.sticky'); // Ensure this targets the correct header element
  let hasScrolledDown = false; // Track if the user has scrolled down

  // Listen for the scroll event on the window
  window.addEventListener('scroll', function () {
    let scrollTop = window.pageYOffset || document.documentElement.scrollTop;

    console.log('Scroll position:', scrollTop); // Check scroll position in console

    if (scrollTop > lastScrollTop) {
      // User is scrolling down
      console.log('Scrolling down');
      nav.classList.remove('nav-visible');
      nav.classList.add('nav-hidden');
      hasScrolledDown = true; // User has scrolled down
    } else if (scrollTop < lastScrollTop && hasScrolledDown) {
      // User is scrolling up and has already scrolled down
      console.log('Scrolling up');
      nav.classList.remove('nav-hidden');
      nav.classList.add('nav-visible');
    }

    // Update the last scroll position
    lastScrollTop = scrollTop;
  });
});

Leprosy Screening Camp Detects 8 Patients

In February 2024, INF Nepal’s outreach team held two leprosy screening camps in Kapilvastu’s Maharajgunj Municipality, screening 440 people. Eight suspected cases were identified for Multi-Drug Therapy, and seven biopsies were conducted. Various skin conditions were also treated. Local leaders, including Mayor Aftab Alam, commended INF Nepal’s efforts in addressing these critical healthcare needs.

  • 1:26 min

  • 0 comments

INF Nepal conducted leprosy screening camps in two health posts of Maharajgunj Municipality in Kapilvastu on 14 and 15 February 2024. The Community Medical Outreach team of Green Pastures Hospital conducted the camp in close collaboration with the district health office, Kapilvastu.

The camps were organised at the Udaypur Health Post of Ward No. 5 and Shisawa Health Post of Ward No. 9, which saw 440 individuals (212 male and 228 female). Among them, eight individuals were suspected of leprosy cases, needing immediate initiation of Multi-Drug Therapy (MDT), while seven underwent biopsies for further diagnosis.

Various skin conditions were addressed during the camp, highlighting the diverse healthcare needs within the community, including Multibacillary leprosy, type-1 reaction, tinea, eczema, dryness, planta, allergy, scabies, and vitiligo.

The camps were led by a medical team from Green Pastures Hospital, including a dermatologist and lab technologist, supported by a community outreach team and coordinated by the local INF team of Kapilvastu Branch Office.

The primary objective of leprosy screening medical camp is to proactively detect and diagnose individuals suffering from leprosy within a community or population. Identify individuals with early signs and symptoms of leprosy, allowing for prompt treatment initiation and prevention of further transmission and prevention from grade two disability.

Mayor Aftab Alam of Maharajgunj Municipality thanked the INF team, acknowledging their dedication to addressing neglected issues within Kapilvastu.

We are also thankful to the local officials, including Mayor Abdul Kalam, Ward Chairperson of Ward No. 9 Pharid Ahamud Muhammad, Leprosy Focal Person of Maharajgunj municipality Radheshyam Kalwar, Health Unit In-charge Iswari Prasad Neupane, and Chief of the Health Office in Kapilbastu Narayan Prasad Chaudhary for all their support and collaboration. Their positive assessment affirmed the programme’s effectiveness in addressing crucial healthcare needs within the community.

Share this post: