diff --git a/htdocs/assets/js/core-animation.js b/htdocs/assets/js/core-animation.js
index e69de29..52a0585 100644
--- a/htdocs/assets/js/core-animation.js
+++ b/htdocs/assets/js/core-animation.js
@@ -0,0 +1,37 @@
+//---hello textbox on pome page (hero-section) config
+function animate_hello() {
+ const texts = ["Namaste! ๐", "Hello! ๐", "Konnichiwa! ๐", "Anyeonghaseyo! ๐", "Hola! ๐", "Bonjour! ๐", "Zdravstvuyte! ๐", "Marhabaan! ๐", "Olรก! ๐", "Salve! ๐ค "];
+ const textContainer = document.getElementById("helloContainer");
+
+ let currentIndex = 0;
+ function animateText() {
+ textContainer.textContent = texts[currentIndex];
+ currentIndex = (currentIndex + 1) % texts.length;
+
+ setTimeout(() => {
+ animateText();
+ }, 3000);
+ }
+ animateText();
+}
+
+if(document.getElementById("helloContainer")) {
+ animate_hello();
+}
+
+//---hoverAnimatedContainer animation config
+const animate_card_mouseover_effect = e => {
+ const { currentTarget: target } = e;
+ const rect = target.getBoundingClientRect(),
+ x = e.clientX - rect.left,
+ y = e.clientY - rect.top;
+
+ target.style.setProperty("--mouse-x",`${x}px`);
+ target.style.setProperty("--mouse-y",`${y}px`);
+}
+
+if(document.querySelectorAll(".hoverAnimatedContainer")){
+ for(const card of document.querySelectorAll(".hoverAnimatedContainer")){
+ card.onmousemove = e => animate_card_mouseover_effect(e);
+ }
+}
\ No newline at end of file
diff --git a/htdocs/contact.php b/htdocs/contact.php
index 9f323b6..2856916 100644
--- a/htdocs/contact.php
+++ b/htdocs/contact.php
@@ -110,21 +110,7 @@ require 'core/query_functions.php';
+
-