Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6팀 김혜연] Chapter 1-1. 프레임워크 없이 SPA 만들기 #54

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: navbar 동작 방식 수정
  • Loading branch information
Anne-Hyeyeon committed Dec 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit a930a906d0231e72c5197a23098a0bf3cd90803f
2 changes: 1 addition & 1 deletion src/components/Navbar.js
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ export const Navbar = () => {
<li><a href="/profile" data-link class="${profileLinkClass}">프로필</a></li>
${
user
? `<li><a href="#" id="logout" class="text-gray-600">로그아웃</a></li>`
? `<li><button id="logout" class="text-gray-600">로그아웃</button></li>`
: `<li><a href="/login" data-link class="text-gray-600">로그인</a></li>`
}
</ul>