added disabled cawangan for marquee text that have precaution text

This commit is contained in:
Hafifie PKB
2025-11-22 22:37:40 +08:00
parent 880e8b3928
commit 27c6cb8547
+44
View File
@@ -2,6 +2,50 @@
@section('content')
<title>Home | Portal Pelanggan</title>
<style>
@keyframes marquee {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}
.marquee-div-container {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 9999;
background: linear-gradient(90deg, #dc3545, #fd7e14);
padding: 10px 0;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.marquee-text-display {
display: inline-block;
padding-left: 100%;
animation: marquee 30s linear infinite;
color: white;
font-weight: 500;
font-size: 16px;
}
/* Add padding to body to prevent content from hiding under marquee */
body {
padding-top: 30px;
}
</style>
<div class="marquee-div-container">
<div class="marquee-container" style="overflow: hidden; white-space: nowrap;">
<div class="marquee-text marquee-text-display">
⚠️ Tuan/Puan diminta hadir ke cawangan Ar-Rahn bagi urusan pembayaran keuntungan kerana transaksi bagi sag terpilih tidak dapat dilakukan melalui sistem ketika ini susulan kerja-kerja penaiktarafan yang sedang dijalankan ⚠️
</div>
</div>
</div>
<div id="load-arrahn" class="d-none">
<div class="overlay-arrahn"></div>
<div class="loader-arrahn text-center">