-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: header button change for web and mobile
- Loading branch information
1 parent
9e3f699
commit 4309766
Showing
6 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
'use client'; | ||
|
||
import { useAuthAnalytics } from '@/analytics/auth.analytics'; | ||
import Link from 'next/link'; | ||
|
||
const SignUpBtn = () => { | ||
const authAnalytics = useAuthAnalytics(); | ||
|
||
const onLoginClickHandler = () => { | ||
authAnalytics.onLoginBtnClicked(); | ||
}; | ||
return ( | ||
<> | ||
<Link | ||
href="/sign-up" | ||
onClick={onLoginClickHandler} | ||
> | ||
<button className="SignUpBtn"> | ||
Sign Up | ||
</button> | ||
</Link> | ||
<style jsx>{` | ||
.SignUpBtn { | ||
background: transparent; | ||
color: #475569; | ||
font-size: 15px; | ||
line-height: 24px; | ||
font-weight: 600; | ||
} | ||
.SignUpBtn:hover { | ||
// box-shadow: 0 4px 4px 0 rgba(15, 23, 42, 0.04), 0 0 1px 0 rgba(15, 23, 42, 0.12), 0 0 0 2px rgba(21, 111, 247, 0.25); | ||
color: #000000; | ||
// background: linear-gradient(71.47deg, #1a61ff 8.43%, #2cc3ae 87.45%); | ||
} | ||
`}</style> | ||
</> | ||
); | ||
}; | ||
|
||
export default SignUpBtn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters