Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
hadithmv committed Dec 30, 2023
1 parent 4e30e2c commit 123d9ad
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 12 deletions.
14 changes: 14 additions & 0 deletions notes/info/index/index-uc.html
Original file line number Diff line number Diff line change
Expand Up @@ -3510,6 +3510,20 @@ <h3><a href="tel:+9607727960">Call</a></h3>
document.querySelector("#copyRyear").innerText = new Date().getFullYear();
</script>

<!-- https://github.com/engrasel/Scroll-To-Top-Button -->
<a href="#" class="toTop noLine"></a>
<script>
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 -->

<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
Expand Down
2 changes: 1 addition & 1 deletion notes/info/index/index.html

Large diffs are not rendered by default.

35 changes: 24 additions & 11 deletions notes/info/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,14 @@ <h3>Note:</h3>

<style>
/* for dhivehi fonts in modal */
#myModal > div > div > h2,
/*#myModal > div > div > h2,
#myModal > div > div > h3 > a > div > span {
font-family: "mergedFont", "Quicksand", sans-serif, "faruma";
}
#myModal > div > div > h2 {
font-size: 22px;
}
}*/
</style>

<!-- The Modal -->
Expand All @@ -311,7 +311,8 @@ <h3>Note:</h3>
<div class="modal-content">
<span class="close">&times;</span>
<div class="mid">
<h2>ގުޅުއްވަން ބޭނުންވަނީ ކޮން ގޮތަކަށްތޯ؟</h2>
<h2>How would you like to contact us?</h2>
<!-- ގުޅުއްވަން ބޭނުންވަނީ ކޮން ގޮތަކަށްތޯ؟ -->
<hr />
<br />

Expand All @@ -337,7 +338,8 @@ <h3>
</svg>-->
<div class="encodedformBtn"></div>
</div>
<span class="contactTexts">އެނޮނިމަސް ފޯމް</span>
<span class="contactTexts">Anonymous Form</span>
<!-- އެނޮނިމަސް ފޯމް -->
</div>
</a>
<!---->
Expand Down Expand Up @@ -366,7 +368,8 @@ <h3>
</svg>-->
<div class="encodedmesBtn"></div>
</div>
<span class="contactTexts">މެސެންޖަރ</span>
<span class="contactTexts">Messenger</span>
<!-- މެސެންޖަރ -->
</div>
</a>
<!---->
Expand Down Expand Up @@ -394,7 +397,8 @@ <h3>
</svg>-->
<div class="encodedwaBtn"></div>
</div>
<span class="contactTexts">ވަޓްސްއެޕް</span>
<span class="contactTexts">Whatsapp</span>
<!-- ވަޓްސްއެޕް -->
</div>
</a>
<!---->
Expand Down Expand Up @@ -422,7 +426,8 @@ <h3>
</svg>-->
<div class="encodedtgBtn"></div>
</div>
<span class="contactTexts">ޓެލެގްރާމް</span>
<span class="contactTexts">Telegram</span>
<!-- ޓެލެގްރާމް -->
</div>
</a>
<!---->
Expand Down Expand Up @@ -473,7 +478,8 @@ <h3>
</svg>-->
<div class="encodedemBtn"></div>
</div>
<span class="contactTexts">އީމެއިލް</span>
<span class="contactTexts">Email</span>
<!-- އީމެއިލް -->
</div>
</a>
<!---->
Expand Down Expand Up @@ -534,8 +540,17 @@ <h3>
</div>
<!-- <div class="wrapper"> -->

<style>
.encodedarrowBtn {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M22 12 2 24l5-12L2 0z'/%3E%3C/svg%3E");
}
</style>

<!-- https://github.com/engrasel/Scroll-To-Top-Button -->
<a href="#" class="toTop noLine"></a>
<!-- <a href="#" class="toTop noLine"> ➤ </a> -->
<!--<a href="#"><div class="encodedarrowBtn toTop noLine"></div></a>-->
<a href="#" class="toTop noLine"></a>

<script>
let toTop = document.querySelector(".toTop");
window.addEventListener("scroll", function () {
Expand Down Expand Up @@ -564,6 +579,4 @@ <h3>
</script>
<!-- End Google Analytics -->
</body>
<!-- css file link -->
<style></style>
</html>
6 changes: 6 additions & 0 deletions notes/minimal-mod.css
Original file line number Diff line number Diff line change
Expand Up @@ -1377,3 +1377,9 @@ h3 {
box-sizing: border-box;
outline: 0;
}

/* added */
/*.encodedarrowBtn {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M22 12 2 24l5-12L2 0z'/%3E%3C/svg%3E");
}
*/

0 comments on commit 123d9ad

Please sign in to comment.