From 1448fedcf39627a80ee1fc2d420e7f899b8530c1 Mon Sep 17 00:00:00 2001 From: chark1es Date: Sat, 1 Feb 2025 04:03:38 -0800 Subject: [PATCH] Update profile.astro --- src/pages/profile.astro | 90 +---------------------------------------- 1 file changed, 1 insertion(+), 89 deletions(-) diff --git a/src/pages/profile.astro b/src/pages/profile.astro index d223c8f..1954c83 100644 --- a/src/pages/profile.astro +++ b/src/pages/profile.astro @@ -113,61 +113,8 @@ const title = "User Profile"; - +
- -
- - - -
-
@@ -297,11 +244,6 @@ const title = "User Profile"; const activityLevelValue = document.getElementById("activityLevelValue"); const activityLevelDesc = document.getElementById("activityLevelDesc"); - // Quick action buttons - const quickCheckInBtn = document.getElementById("quickCheckInBtn"); - const viewCalendarBtn = document.getElementById("viewCalendarBtn"); - const uploadResumeBtn = document.getElementById("uploadResumeBtn"); - // Hide officer tab by default if (officerTab) { officerTab.style.display = "none"; @@ -431,36 +373,6 @@ const title = "User Profile"; }); }); - // Quick action button handlers - if (quickCheckInBtn) { - quickCheckInBtn.addEventListener("click", () => { - const eventCheckInInput = document.getElementById( - "eventCheckInInput" - ) as HTMLInputElement; - if (eventCheckInInput) { - eventCheckInInput.focus(); - } - }); - } - - if (viewCalendarBtn) { - viewCalendarBtn.addEventListener("click", () => { - // Implement calendar view logic - console.log("Calendar view not implemented yet"); - }); - } - - if (uploadResumeBtn) { - uploadResumeBtn.addEventListener("click", () => { - const resumeUpload = document.getElementById( - "resumeUpload" - ) as HTMLInputElement; - if (resumeUpload) { - resumeUpload.click(); - } - }); - } - // Add login button event listener const loginButtons = document.querySelectorAll(".login-button"); loginButtons.forEach((button) => {