Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance chat icon #4 #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2262,16 +2262,24 @@ section {

}

#gmail-icon {
.gmail-icon{
position: fixed;
left: 10px;
/* top: 500px; */
bottom: 9px;
background-color:#f2f4fd;
padding: 5px;
border-radius: 100%;
box-shadow: 1px 10px 53px 5px rgba(0,0,0,0.48);
}

#gmail-icon {
color: rgb(47, 255, 0);
text-decoration: none;
/* font-size: 2.1rem; */
width: 40px;
height: 40px;
transition: 0.3s;
}

#gmail-icon:hover {
Expand Down
38 changes: 20 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@
<!--footer font awesome library teams-->
<script src="https://kit.fontawesome.com/721abd87bb.js" crossorigin="anonymous"></script>
<!--footer font awesome library-->
<!-- onesignal push -->
<!-- onesignal push -->
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
<script>
window.OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.init({
appId: "5bf13993-46bb-4bc2-b306-27005206b8b9",
<script>
window.OneSignal = window.OneSignal || [];
OneSignal.push(function () {
OneSignal.init({
appId: "5bf13993-46bb-4bc2-b306-27005206b8b9",
});
});
});
</script>
<!-- onesignal push -->
</script>
<!-- onesignal push -->
</head>

<body onload="loader()">
<!-- loader -->
<!-- loader -->
<div id="loader"></div>
<!-- loader -->
<!-- ======= Header ======= -->
Expand Down Expand Up @@ -627,7 +627,7 @@ <h4>National Science Day</h4>
<!-- ======= Testimonials Section ======= -->


<!-- End Testimonials Section -->
<!-- End Testimonials Section -->

<!-- team code -->

Expand Down Expand Up @@ -780,11 +780,11 @@ <h3>Open Hours</h3>

<input type="submit" value="Send message">

<!-- <button type="submit">Send Message</button> -->
<!-- <button type="submit">Send Message</button> -->
</div>
</form>
</form>
</div>


</div>

Expand Down Expand Up @@ -900,14 +900,16 @@ <h4>Contact Us</h4>

<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
<a href="mailto:[email protected]" target="_blank"><img src="assets/img/help.png" id="gmail-icon"
alt="gmail"></a>
<script>
<div class="gmail-icon">
<a href="mailto:[email protected]" target="_blank"><img src="assets/img/help.png" id="gmail-icon"
alt="gmail"></a>
</div>
<script>
var load = document.getElementById("loader");
function loader() {
load.style.display = 'none';
}
</script>
</body>

</html>
</html>