Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
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
44 changes: 20 additions & 24 deletions src/components/UI/navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,16 @@ const Navbar = () => {
<div className={styles.navBarLogin}>
{!isLoggedIn && (
<Link href={authUrl}>
<a className={styles.btnLogin}>
<button type="button" className={styles.btnLoginText}>
Sign In
<img
className={styles.githubLogo}
src={GITHUB_LOGO}
alt="GitHub Icon"
height="15px"
width="15px"
/>
</button>
</a>
<button type="button" className={styles.btnLoginText}>
Sign In
<img
className={styles.githubLogo}
src={GITHUB_LOGO}
alt="GitHub Icon"
height="15px"
width="15px"
/>
</button>
</Link>
)}
{isLoggedIn && (
Expand Down Expand Up @@ -175,18 +173,16 @@ const Navbar = () => {
<li className={styles.navBarLoginLi}>
{!isLoggedIn && (
<Link href={authUrl}>
<a className={styles.btnLogin}>
<button type="button" className={styles.btnLoginText}>
Sign In With GitHub
<img
className={styles.githubLogo}
src={GITHUB_LOGO}
alt="GitHub Icon"
height="15px"
width="15px"
/>
</button>
</a>
<button type="button" className={styles.btnLoginText}>
Sign In With GitHub
<img
className={styles.githubLogo}
src={GITHUB_LOGO}
alt="GitHub Icon"
height="15px"
width="15px"
/>
</button>
</Link>
)}
{isLoggedIn && (
Expand Down
1 change: 1 addition & 0 deletions src/components/UI/navbar/navbar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
border: 2px solid white;
display: flex;
justify-content: space-around;
margin: 22px;
}

.userGreet {
Expand Down