From a7bce5a100f17f6d8385f3ba17f5396deb7f1e62 Mon Sep 17 00:00:00 2001 From: "dhanush.s" Date: Sat, 27 Sep 2025 19:11:26 +0530 Subject: [PATCH 1/3] refactor: ! --- index.html | 62 ++------- main.css | 399 +++++++++++++++++++++++++++-------------------------- main.js | 73 ++++------ 3 files changed, 246 insertions(+), 288 deletions(-) diff --git a/index.html b/index.html index ab2fa6b..f7ab472 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,7 @@ + -
Internships
Gain Practical Experience
@@ -316,7 +272,7 @@
- +
@@ -338,7 +294,7 @@
- +
@@ -583,7 +539,7 @@
- +
@@ -609,7 +565,7 @@
- +
@@ -626,7 +582,7 @@
- +
@@ -643,7 +599,7 @@
- +
@@ -733,11 +689,11 @@
- -
diff --git a/main.js b/main.js index 6a9fda8..677830d 100644 --- a/main.js +++ b/main.js @@ -426,4 +426,15 @@ setInterval(() => { descEl1.classList.remove("fade-in"); }, 500); }, 500); -}, 5000); \ No newline at end of file +}, 5000); + + +document.addEventListener("DOMContentLoaded", () => { + document.querySelectorAll(".footer a").forEach(link => { + link.setAttribute("href", "/apply"); + }); + + document.querySelectorAll(".practice-container a").forEach(link => { + link.setAttribute("href", "/apply"); + }); +}); \ No newline at end of file