Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis egestas blandit facilisi dolor velit orci ac lorem. Ultrices netus convallis scelerisque nam. Ipsum nam vel viverra lectus mattis in. Curabitur netus duis ipsum at in. Cras gravida velit sagittis, felis et aliquam dis. Et lorem interdum sodales velit adipiscing in. Sed vulputate ipsum mi at rhoncus. Et arcu at sed consectetur fermentum venenatis, mauris. Ultricies sed ultrices luctus nulla justo
+
+
+
+
+
Join this conversation
+
+
+
+
+
+
+
+
+
+ `;
+ });
+};
+
+
+
+let ellipsis = document.querySelectorAll(".delete_btn")
+for (let i = 0; i< ellipsis.length; i++) {
+ ellipsis[i].addEventListener("click", function() {
+ ellipsis[i].innerHTML = ``;
+
+ ellipsis[i].addEventListener("click", () => {
+ let deleteModal = document.getElementById("deleteModal");
+ let confirmDeleteModal = document.getElementById("confirmDeleteModal");
+ let cancelDelete = document.getElementsByClassName("cancel")[0];
+ let confirmDelete = document.getElementsByClassName("confirm")[0];
+
+ deleteModal.style.display = "block";
+ cancelDelete.onclick = function() {
+ deleteModal.style.display = "none";
+ ellipsis[i].innerHTML = `...`;
+
+ }
+ confirmDelete.onclick = function() {
+ deleteModal.style.display = "none";
+ confirmDeleteModal.style.display ="block";
+ }
+
+
+ window.onclick = function(event) {
+ if (event.target == confirmDeleteModal) {
+ confirmDeleteModal.style.display = "none";
+ ellipsis[i].innerHTML = `...`;
+ }
+ }
+
+
+ } )
+ } )
+}
+
+var modal = document.getElementById("myModal");
+
+var btn = document.getElementById("newtopic_btn");
+
+var span = document.getElementsByClassName("close")[0];
+
+// When the user clicks on the button, open the modal
+btn.onclick = function() {
+ modal.style.display = "block";
+}
+
+// When the user clicks on (x), close the modal
+span.onclick = function() {
+ modal.style.display = "none";
+}
+
+// When the user clicks anywhere outside of the modal, close it
+window.onclick = function(event) {
+ if (event.target == modal) {
+ modal.style.display = "none";
+ }
+}
\ No newline at end of file
diff --git a/public/JS/meetATherapistAuth.js b/public/JS/meetATherapistAuth.js
new file mode 100644
index 0000000..4a17cfd
--- /dev/null
+++ b/public/JS/meetATherapistAuth.js
@@ -0,0 +1,37 @@
+const numberInput = document.getElementById("numberInput");
+const numberSubmit = document.getElementById("numberSubmit");
+const otpInput = document.getElementById("otpInput");
+const otpSubmit = document.getElementById("otpSubmit");
+const mainContent = document.getElementById("main-content");
+const verification = document.getElementById("verification");
+const modal = document.getElementById("modal")
+
+
+mainContent.addEventListener("click", (e) => {
+ e.preventDefault()
+ mainContent.classList.toggle("hidden")
+ numberInput.classList.toggle("hidden")
+ verification.classList.toggle("hidden")
+ verification.classList.toggle("flex")
+})
+
+numberInput.addEventListener("click", (e) => {
+ e.preventDefault();
+ numberInput.classList.toggle("hidden")
+ otpInput.classList.toggle("hidden")
+})
+
+otpSubmit.addEventListener("click", (e) => {
+ e.preventDefault();
+ otpInput.classList.toggle("hidden")
+ modal.classList.toggle("hidden")
+})
+
+
+modal.addEventListener("click", (e) => {
+ modal.classList.toggle("hidden");
+ mainContent.classList.toggle("hidden");
+ mainContent.classList.toggle("flex");
+ verification.classList.toggle("hidden")
+
+})
\ No newline at end of file
diff --git a/public/JS/mental-health-tips.js b/public/JS/mental-health-tips.js
new file mode 100644
index 0000000..3ed2bdf
--- /dev/null
+++ b/public/JS/mental-health-tips.js
@@ -0,0 +1,22 @@
+let mentalTipsCard = document.querySelectorAll(".tips-card");
+
+for (let i = 0; i < mentalTipsCard.length; i++) {
+ mentalTipsCard[i].addEventListener("click", function () {
+ document.getElementById("main").innerHTML = `
+
+ Back
+
Self-care
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit ut aliquam, purus sit amet luctus venenatis, lectus magna fringilla urna, porttitor rhoncus dolor purus non enim praesent elementum facilisis leo, vel fringilla est ullamcorper eget nulla facilisi etiam dignissim diam quis enim lobortis scelerisque fermentum dui faucibus in ornare quam viverra orci sagittis eu volutpat odio facilisis mauris sit amet massa vitae tortor condimentum lacinia quis vel eros donec ac odio tempor orci dapibus ultrices in iaculis nunc sed augue lacus
+
Tips on Self-care
+
+
Set and implement healthy boundaries. Don’t hold back from saying no when you need to.
+
Take care of your physical health. Listen to your body signals. It really does have a lot to say if we take the time to listen.
+
Don’t hinge your happiness on material things or people. Be in charge of your own happiness.
+
Do something you enjoy every day. As little as watching a favorite TV show or listening to a favorite podcast.
+
Practice self-compassion. Grant yourself enough grace and understand that nobody’s perfect.
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae dolores, possimus pariatur animi olore sed nulla ipsum eveniet corporis quidem,lpa eius atque dignissimos. Molestias explicabo corporis voluptatem?
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae dolores, possimus pariatur animi olore sed nulla ipsum eveniet corporis quidem,lpa eius atque dignissimos. Molestias explicabo corporis voluptatem?
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae dolores, possimus pariatur animi olore sed nulla ipsum eveniet corporis quidem,lpa eius atque dignissimos. Molestias explicabo corporis voluptatem?
+
+
+
blog / 3 mins read
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/views/pages/th/appointment.ejs b/views/pages/th/appointment.ejs
new file mode 100644
index 0000000..700ebe8
--- /dev/null
+++ b/views/pages/th/appointment.ejs
@@ -0,0 +1,209 @@
+
+
+
+
+
+
+ CONSUELO ~ DASHBOARD
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Appointments
+
+
+
+
Name
+
Phone Number
+
Date
+
Time
+
Action
+
+
+
+
+
+
+
You currently have no appointments
+
+
+
+
+
+
+
+
+
+
Profile
+
+
+
+
Hassanat Abubakar
+
Hassanatabubakar@gmail.com
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/views/pages/th/appointments.ejs b/views/pages/th/appointments.ejs
new file mode 100644
index 0000000..1c13ee6
--- /dev/null
+++ b/views/pages/th/appointments.ejs
@@ -0,0 +1,209 @@
+
+
+
+
+
+
+ CONSUELO ~ DASHBOARD
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Appointments
+
+
+
+
Name
+
Phone Number
+
Date
+
Time
+
Action
+
+
+
+
+
+
+
You currently have no appointments
+
+
+
+
+
+
+
+
+
+
Profile
+
+
+
+
Hassanat Abubakar
+
Hassanatabubakar@gmail.com
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/views/pages/th/calendar.ejs b/views/pages/th/calendar.ejs
new file mode 100644
index 0000000..7fac0df
--- /dev/null
+++ b/views/pages/th/calendar.ejs
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+ CONSUELO ~ DASHBOARD
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+