From 20da6097ca45c0af0b4d906214af5f8d346697c1 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 12 Sep 2024 06:26:02 -0400 Subject: [PATCH] added profile pic --- frontend/ts/profile.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/frontend/ts/profile.js b/frontend/ts/profile.js index 4b45a43..8117763 100644 --- a/frontend/ts/profile.js +++ b/frontend/ts/profile.js @@ -66,12 +66,15 @@ and the component underneath */
+
+ +profile pic + + - - - +
@@ -124,16 +127,16 @@ call the openNav closeNav function to open and close the sidebar*/ /* these two methods will open and close the profile side menu*/ openNav() { - this.sidenav.style.width = "450px"; + this.sidenav.style.width = "450px"; // changes sidenav width from 0px to 450px if (this.mainContent) { this.mainContent.style.marginLeft = "250px"; } } closeNav() { - this.sidenav.style.width = "0"; + this.sidenav.style.width = "0"; //changes sidenav's width back to 0px if (this.mainContent) { - this.mainContent.style.marginLeft = "0" + this.mainContent.style.marginLeft = "0px" } } }