Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
hadithmv committed Jan 12, 2024
1 parent 9e5b463 commit ea24abf
Show file tree
Hide file tree
Showing 23 changed files with 115 additions and 25 deletions.
5 changes: 5 additions & 0 deletions notes/info/FAQ-uc.html
Original file line number Diff line number Diff line change
Expand Up @@ -1443,6 +1443,11 @@ <h3>
<a href="#" class="toTop noLine"></a>
<script>
let toTop = document.querySelector(".toTop");
toTop.addEventListener("click", function (event) {
event.preventDefault(); // Prevent the default behavior of the anchor link
window.scrollTo({ top: 0, behavior: "smooth" });
});

window.addEventListener("scroll", function () {
if (window.pageYOffset > 100) {
toTop.classList.add("active_toTop");
Expand Down
2 changes: 1 addition & 1 deletion notes/info/FAQ.html

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions notes/info/contact-uc.html
Original file line number Diff line number Diff line change
Expand Up @@ -543,14 +543,29 @@ <h3>
<!-- https://github.com/engrasel/Scroll-To-Top-Button -->
<a href="#" class="toTop noLine"></a>
<script>
// after scrolling down, and clicking on the anchor, it takes me back to the top. but if i click the back button on the browser, it takes me back to the place where i had previously scrolled down, it should take me to the previous page instead
let toTop = document.querySelector(".toTop");
toTop.addEventListener("click", function (event) {
event.preventDefault(); // Prevent the default behavior of the anchor link
window.scrollTo({ top: 0, behavior: "smooth" });
});

window.addEventListener("scroll", function () {
if (window.pageYOffset > 100) {
toTop.classList.add("active_toTop");
} else {
toTop.classList.remove("active_toTop");
}
});
/* OLD CODE
let toTop = document.querySelector(".toTop");
window.addEventListener("scroll", function () {
if (window.pageYOffset > 100) {
toTop.classList.add("active_toTop");
} else {
toTop.classList.remove("active_toTop");
}
});*/
</script>
<!-- end scroll to top -->

Expand Down
2 changes: 1 addition & 1 deletion notes/info/contact.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctypehtml><html lang=dv><meta charset=utf-8><meta name=google value=notranslate><title>Hadithmv - Contact Page</title><meta content="Contact Us"name=description><meta content="width=device-width"name=viewport><link href=https://hadithmv.github.io/notes/info/contact.html rel=canonical><link href=https://hadithmv.github.io/img/logo/logo.svg rel=icon type=image/svg+xml><meta content=#29434e name=theme-color><meta content=Hadithmv property=og:title><meta content=website property=og:type><meta content=https://hadithmv.github.io/notes/info/contact.html property=og:url><meta content=https://hadithmv.github.io/img/logo/NewLogo7/hadithmv-logo-7.0-whiteBack-512px.png property=og:image><link href=../minimal-mod.min.css rel=stylesheet><body class=notranslate><div class="eng wrapper"><div class=mid><h1 class=basmala>بِسمِ اللهِ الرَّحمَنِ الرَّحِيمِ</h1><a href=../../books/index.html class=noLine><img alt="hadith mv"class=hmv src=../../img/logo/logo.svg></a><br><br><h2><b><a href=../../books/index.html>Hadithmv</a></b> - Contact</h2></div><br><h3 class=mid style=font-weight:400>If you find a mistake, or have a suggestion <a onclick=openModal() style=cursor:pointer>click here </a>to contact us.</h3><br><h3 class="mid dv"style=font-weight:400;font-size:120%>ކުށެއް ރަނގަޅުކުރުމަށް، ނުވަތަ ހިޔާލެއް ހުށަހެޅުމަށް، <a onclick=openModal() style=cursor:pointer>މިތަނަށް ފިތާލައްވައިގެން</a> އަޅުގަނޑުމެންނާ ގުޅުއްވާ.</h3><br><br><hr><br><h3>Note:</h3><p>• Sisters should only use the one-way anonymous form. Some of the Salaf said: “Don’t ever be alone with a woman, even if it is for teaching her the Quran.” - [Tuhfatul Mujeeb P.252, Muqbil bin Haadi]<p>• Before sending us mistakes, first of all, if these errors are in other apps that are not Hadithmv, then check whether they are still present on our online <a href=https://hadithmv.github.io/books/index.html>website</a>. If it looks okay here, then there’s nothing for us to fix. It is the responsibility of third party app developers to update their data from Hadithmv.<p>• And secondly, check whether the page you found the error in has a note or disclaimer regarding why it might have them, such as currently being in draft status that will be completed later on, etc.<p>• Note that when you send typos, don’t just send screenshots, rather also copy the plain text as is and send that. This makes it easier for us to find those errors and fix them sooner.<p>• In case your question/suggestion has already been addressed, <a href=FAQ.html>click here </a>to read the FAQ first.<p>• If you would like to help translate Arabic texts, click <a href=https://hadithmv.github.io/notes/info/helpTranslate.html>here</a>.<p>• There is a chance that emails go to spam.<p>• This page is not for asking Fatwas or completing homework/assignments.</p><style>.modal{display:none;position:fixed;z-index:999;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0 0 0);background-color:rgb(0 0 0 / 40%)}.modal-content{background-color:#0e1621;margin:auto;padding:20px;border:1px solid #888;width:80%;border-radius:20px;max-width:500px;box-shadow:0 1px 2.5px rgb(0 0 0 / 20%);position:relative;top:50%;transform:translateY(-50%);transform:translateY(-50%);animation:animatetop .4s}@keyframes animatetop{from{top:-500px;opacity:0}to{top:default;opacity:1}}.close{color:#aaa;float:right;font-size:28px;font-weight:700}.close:focus,.close:hover{text-decoration:none;cursor:pointer}@media (prefers-color-scheme:light){.modal-content{background-color:#fff}.resp-sharing-button__link{color:#00598b!important}#myModal>div>div>h3>a>div>div>div{filter:invert(25%) sepia(97%) saturate(880%) hue-rotate(170deg) brightness(92%) contrast(104%)}}#myModal>div>div>h3{line-height:1;margin:0;font-weight:500;margin-top:-5px;margin-bottom:-5px}.contactTexts{padding-left:14px;font-family:Quicksand,sans-serif}#myModal>div>div>h3>a>div>div>div{margin-left:20px}#myModal>div>div>h3>a>div{margin-left:-20px}#myModal>div>div>hr{width:90%;border:0;border-radius:15px;height:3px;background-image:linear-gradient(to right,#f33939,#4f39f3)}#myModal>div>div>h2{color:rgb(255 255 255/84.7%);font-family:Quicksand,sans-serif,serif;font-weight:500;line-height:1.9}@media (prefers-color-scheme:light){#myModal>div>div>h2{color:#000}}</style><style></style><div class=modal id=myModal><div class=modal-content><span class=close>×</span><div class=mid><h2>How would you like to contact us?</h2><hr><br><h3><a href=https://docs.google.com/forms/d/e/1FAIpQLSe8E1vOW0SmVESYCiYMT2VpZWMAfHiISXrcexm1t1NEdl-_iA/viewform class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedformBtn></div></div><span class=contactTexts>Anonymous Form</span></div></a></h3><br><h3><a href=http://m.me/hadithmvOfficial class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedmesBtn></div></div><span class=contactTexts>Messenger</span></div></a></h3><br><h3><a href=https://wa.me/qr/FJFBCPFQXUBKJ1 class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedwaBtn></div></div><span class=contactTexts>Whatsapp</span></div></a></h3><br><h3><a href=https://t.me/ashraafmv class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedtgBtn></div></div><span class=contactTexts>Telegram</span></div></a></h3><br><h3><a href=mailto:hadithmv@gmail.com class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedemBtn></div></div><span class=contactTexts>Email</span></div></a></h3><br></div></div></div><script>var modal=document.getElementById("myModal"),btn=document.getElementById("myBtn"),span=document.getElementsByClassName("close")[0];function openModal(){modal.style.display="block"}span.onclick=function(){modal.style.display="none"},window.onclick=function(n){n.target==modal&&(modal.style.display="none")}</script><br><hr><br><div class=mid><p>Back to the <a href=../../books/index.html>Main Page</a></div><br></div><a href=# class="noLine toTop">➤</a><script>let toTop=document.querySelector(".toTop");window.addEventListener("scroll",function(){100<window.pageYOffset?toTop.classList.add("active_toTop"):toTop.classList.remove("active_toTop")})</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-HL24Q9NN24"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-HL24Q9NN24")</script>
<!doctypehtml><html lang=dv><meta charset=utf-8><meta name=google value=notranslate><title>Hadithmv - Contact Page</title><meta content="Contact Us"name=description><meta content="width=device-width"name=viewport><link href=https://hadithmv.github.io/notes/info/contact.html rel=canonical><link href=https://hadithmv.github.io/img/logo/logo.svg rel=icon type=image/svg+xml><meta content=#29434e name=theme-color><meta content=Hadithmv property=og:title><meta content=website property=og:type><meta content=https://hadithmv.github.io/notes/info/contact.html property=og:url><meta content=https://hadithmv.github.io/img/logo/NewLogo7/hadithmv-logo-7.0-whiteBack-512px.png property=og:image><link href=../minimal-mod.min.css rel=stylesheet><body class=notranslate><div class="eng wrapper"><div class=mid><h1 class=basmala>بِسمِ اللهِ الرَّحمَنِ الرَّحِيمِ</h1><a href=../../books/index.html class=noLine><img alt="hadith mv"class=hmv src=../../img/logo/logo.svg></a><br><br><h2><b><a href=../../books/index.html>Hadithmv</a></b> - Contact</h2></div><br><h3 class=mid style=font-weight:400>If you find a mistake, or have a suggestion <a onclick=openModal() style=cursor:pointer>click here </a>to contact us.</h3><br><h3 class="mid dv"style=font-weight:400;font-size:120%>ކުށެއް ރަނގަޅުކުރުމަށް، ނުވަތަ ހިޔާލެއް ހުށަހެޅުމަށް، <a onclick=openModal() style=cursor:pointer>މިތަނަށް ފިތާލައްވައިގެން</a> އަޅުގަނޑުމެންނާ ގުޅުއްވާ.</h3><br><br><hr><br><h3>Note:</h3><p>• Sisters should only use the one-way anonymous form. Some of the Salaf said: “Don’t ever be alone with a woman, even if it is for teaching her the Quran.” - [Tuhfatul Mujeeb P.252, Muqbil bin Haadi]<p>• Before sending us mistakes, first of all, if these errors are in other apps that are not Hadithmv, then check whether they are still present on our online <a href=https://hadithmv.github.io/books/index.html>website</a>. If it looks okay here, then there’s nothing for us to fix. It is the responsibility of third party app developers to update their data from Hadithmv.<p>• And secondly, check whether the page you found the error in has a note or disclaimer regarding why it might have them, such as currently being in draft status that will be completed later on, etc.<p>• Note that when you send typos, don’t just send screenshots, rather also copy the plain text as is and send that. This makes it easier for us to find those errors and fix them sooner.<p>• In case your question/suggestion has already been addressed, <a href=FAQ.html>click here </a>to read the FAQ first.<p>• If you would like to help translate Arabic texts, click <a href=https://hadithmv.github.io/notes/info/helpTranslate.html>here</a>.<p>• There is a chance that emails go to spam.<p>• This page is not for asking Fatwas or completing homework/assignments.</p><style>.modal{display:none;position:fixed;z-index:999;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0 0 0);background-color:rgb(0 0 0 / 40%)}.modal-content{background-color:#0e1621;margin:auto;padding:20px;border:1px solid #888;width:80%;border-radius:20px;max-width:500px;box-shadow:0 1px 2.5px rgb(0 0 0 / 20%);position:relative;top:50%;transform:translateY(-50%);transform:translateY(-50%);animation:animatetop .4s}@keyframes animatetop{from{top:-500px;opacity:0}to{top:default;opacity:1}}.close{color:#aaa;float:right;font-size:28px;font-weight:700}.close:focus,.close:hover{text-decoration:none;cursor:pointer}@media (prefers-color-scheme:light){.modal-content{background-color:#fff}.resp-sharing-button__link{color:#00598b!important}#myModal>div>div>h3>a>div>div>div{filter:invert(25%) sepia(97%) saturate(880%) hue-rotate(170deg) brightness(92%) contrast(104%)}}#myModal>div>div>h3{line-height:1;margin:0;font-weight:500;margin-top:-5px;margin-bottom:-5px}.contactTexts{padding-left:14px;font-family:Quicksand,sans-serif}#myModal>div>div>h3>a>div>div>div{margin-left:20px}#myModal>div>div>h3>a>div{margin-left:-20px}#myModal>div>div>hr{width:90%;border:0;border-radius:15px;height:3px;background-image:linear-gradient(to right,#f33939,#4f39f3)}#myModal>div>div>h2{color:rgb(255 255 255/84.7%);font-family:Quicksand,sans-serif,serif;font-weight:500;line-height:1.9}@media (prefers-color-scheme:light){#myModal>div>div>h2{color:#000}}</style><style></style><div class=modal id=myModal><div class=modal-content><span class=close>×</span><div class=mid><h2>How would you like to contact us?</h2><hr><br><h3><a href=https://docs.google.com/forms/d/e/1FAIpQLSe8E1vOW0SmVESYCiYMT2VpZWMAfHiISXrcexm1t1NEdl-_iA/viewform class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedformBtn></div></div><span class=contactTexts>Anonymous Form</span></div></a></h3><br><h3><a href=http://m.me/hadithmvOfficial class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedmesBtn></div></div><span class=contactTexts>Messenger</span></div></a></h3><br><h3><a href=https://wa.me/qr/FJFBCPFQXUBKJ1 class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedwaBtn></div></div><span class=contactTexts>Whatsapp</span></div></a></h3><br><h3><a href=https://t.me/ashraafmv class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedtgBtn></div></div><span class=contactTexts>Telegram</span></div></a></h3><br><h3><a href=mailto:hadithmv@gmail.com class="noLine resp-sharing-button__link"aria-label=""rel="noopener noreferrer"target=_blank><div class=resp-sharing-button><div class="resp-sharing-button__icon resp-sharing-button__icon--normal"aria-hidden=true><div class=encodedemBtn></div></div><span class=contactTexts>Email</span></div></a></h3><br></div></div></div><script>var modal=document.getElementById("myModal"),btn=document.getElementById("myBtn"),span=document.getElementsByClassName("close")[0];function openModal(){modal.style.display="block"}span.onclick=function(){modal.style.display="none"},window.onclick=function(n){n.target==modal&&(modal.style.display="none")}</script><br><hr><br><div class=mid><p>Back to the <a href=../../books/index.html>Main Page</a></div><br></div><a href=# class="noLine toTop">➤</a><script>let toTop=document.querySelector(".toTop");toTop.addEventListener("click",function(o){o.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})}),window.addEventListener("scroll",function(){100<window.pageYOffset?toTop.classList.add("active_toTop"):toTop.classList.remove("active_toTop")})</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-HL24Q9NN24"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-HL24Q9NN24")</script>
5 changes: 5 additions & 0 deletions notes/info/contributors-uc.html
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,11 @@ <h2 class="mid">
<a href="#" class="toTop noLine"></a>
<script>
let toTop = document.querySelector(".toTop");
toTop.addEventListener("click", function (event) {
event.preventDefault(); // Prevent the default behavior of the anchor link
window.scrollTo({ top: 0, behavior: "smooth" });
});

window.addEventListener("scroll", function () {
if (window.pageYOffset > 100) {
toTop.classList.add("active_toTop");
Expand Down
Loading

0 comments on commit ea24abf

Please sign in to comment.