Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Khawaja Fashi Ud Din Abdullah committed Oct 17, 2024
2 parents 3c5b185 + 7660c33 commit 4c9f648
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 98 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/jekyll-gh-pages.yml

This file was deleted.

65 changes: 65 additions & 0 deletions Contactus.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,59 @@
opacity: 1;
}
}

.chatbot-container {
position: fixed;
transition: right 0.3s ease;
bottom: 20px;
right: 7rem;
z-index: 1000;
}

.chatbot-button {
background-color: #007bff;
border: none;
border-radius: 50%;
padding: 10px;
/* Smaller padding */
cursor: pointer;
position: relative;
width: 50px;
/* Adjusted size */
height: 50px;
/* Adjusted size */
right: -60px;
}

.chatbot-button img {
width: 30px;
/* Adjusted image size */
height: 30px;
/* Adjusted image size */
}

.tooltip-text {
display: none;
/* Hide by default */
position: absolute;
bottom: 100%;
/* Position above the button */
right: 50%;
transform: translateX(50%);
background-color: #333;
/* Background color for tooltip */
color: #fff;
/* Tooltip text color */
padding: 5px;
border-radius: 5px;
white-space: nowrap;
/* Prevent text from wrapping */
}

.chatbot-button:hover .tooltip-text {
display: block;
/* Show on hover */
}
</style>
</head>
<body>
Expand Down Expand Up @@ -208,5 +261,17 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Follow Us</h
<p style="font-size: 0.8rem; color: #000;">&copy; 2024 Nursing Tomorrow's Smile. All rights reserved.</p>
</footer>

<a href="chatbot.html">
<div class="fixed bottom-0 right-2 chatbot-container">
<button class="chatbot-button group">
<img class="h-20" src="chatbot.gif" alt="chatbot" />
<span class="tooltip-text">
Welcome to AmbuFlow!<br />
How can I help You?
</span>
</button>
</div>
</a>

</body>
</html>
9 changes: 0 additions & 9 deletions _config.yml

This file was deleted.

38 changes: 0 additions & 38 deletions _layouts/default.html

This file was deleted.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@
<span>Contact</span></a>
</li>
<li>
<a href="feedback.html" id="contact-link" class="menu_links" data-link="Feedback">
<a href="Feedback.html" id="contact-link" class="menu_links" data-link="Feedback">
<span>Feedback</span></a>
</li>
<li>
Expand Down
4 changes: 2 additions & 2 deletions privacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<nav class="menu">
<ul>
<li>
<a href="/" id="home-link"><i class="fa-solid fa-house"></i> Home</a>
<a href="index.html" id="home-link"><i class="fa-solid fa-house"></i> Home</a>
</li>
<li>
<a href="features.html" id="features-link"><i class="fa-solid fa-file"></i> Features</a>
Expand All @@ -201,7 +201,7 @@
<a href="contact.html" id="contact-link"><i class="fa-solid fa-phone"></i> Contact</a>
</li>
<li>
<a href="feedback.html" id="feedback-link"><i class="fa-solid fa-clipboard"></i> Feedback</a>
<a href="Feedback.html" id="feedback-link"><i class="fa-solid fa-clipboard"></i> Feedback</a>
</li>
</ul>
</nav>
Expand Down

0 comments on commit 4c9f648

Please sign in to comment.