Skip to content

feat: navigator 메인 탭 네 개에서만 보여주기#36

Merged
jw0202058 merged 1 commit into
devfrom
feat/#22/post
Jul 3, 2025
Merged

feat: navigator 메인 탭 네 개에서만 보여주기#36
jw0202058 merged 1 commit into
devfrom
feat/#22/post

Conversation

@jw0202058

@jw0202058 jw0202058 commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator
  • StackFlow -> React Router## ❗ 연관 이슈

📌 내용

네비게이터를 특정 페이지에서만 보이게끔 숮정했습니다

☑️ 체크 사항 & 논의 사항

  • 더 좋은 방법이 있을까요?
  • 네비게이터가 저 네 개의 탭에서만 보이는 게 맞나? 맞겟지
  • 이건뭐임 체크박스구나

@halionaz halionaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

멋진 숮정

Comment thread src/pages/Layout.tsx
const Layout = () => {
const { pathname } = useLocation();

const visiblePaths = ['/', '/pick', '/chat', '/my'];

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

나중에 네비게이션 바 더 보여줘야 하는 페이지 생기면 그냥 여기 추가하면 될듯 굿

@jw0202058 jw0202058 merged commit 010bf25 into dev Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants