Skip to content

Commit

Permalink
style: 프로필 편집/전환 페이지 header 작업
Browse files Browse the repository at this point in the history
프로필 편집/전환 페이지 header 작업

Ref: #42, #44
  • Loading branch information
uniS2 committed Aug 1, 2023
1 parent 7b32533 commit 9d926f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion client/js/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ async function renderProfile(url = "http://localhost:3000/users") {
try {
const users = (await tiger.get(url)).data;

//! header 처리
//# header 처리
// include 땡겨오면 none 해줄게!!
getNode("header").style.position = "relative";
getNode("nav").style.display = "none";
getNode("form").style.display = "none";
getNode(".userInfo").style.display = "none";

if (!users.length) return;
if (!isString(url))
Expand Down
5 changes: 4 additions & 1 deletion client/js/profile_select.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ async function renderProfileSelect(url = "http://localhost:3000/users") {
try {
const users = (await tiger.get(url)).data;

//! header 처리
//# header 처리
// include 땡겨오면 none 해줄게!!
getNode("header").style.position = "relative";
getNode("nav").style.display = "none";
getNode("form").style.display = "none";
getNode(".userInfo").style.display = "none";

if (!users.length) return;
if (!isString(url))
Expand Down

0 comments on commit 9d926f8

Please sign in to comment.