-
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: replace anchor tag with
<Link />
- Loading branch information
1 parent
84800b9
commit 6ada5bd
Showing
3 changed files
with
38 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import { clsx } from 'clsx/lite'; | ||
|
||
import { Link } from '@acme/ui/Link'; | ||
|
||
import { fadeUp } from '~/config/animations'; | ||
|
||
type Props = { variant: 'expanded' | 'collapsed' }; | ||
|
@@ -20,30 +22,29 @@ export const ContactMe = ({ variant }: Props) => { | |
<p className='text-sm text-grey-text sm:text-base'> | ||
If you have any questions, opportunities or would just like to say | ||
hello, then feel free to send me a DM ( | ||
<a | ||
className='text-grey-text-contrast decoration-grey-text-contrast decoration-dashed underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-grey-text-contrast focus-visible:ring-offset-1' | ||
<Link | ||
isExternal | ||
className='text-sm text-grey-text-contrast sm:text-base' | ||
href='https://dm.new/codingcodax' | ||
rel='noopener noreferrer' | ||
target='_blank' | ||
> | ||
X | ||
</a>{' '} | ||
</Link>{' '} | ||
or{' '} | ||
<a | ||
className='text-grey-text-contrast decoration-grey-text-contrast decoration-dashed underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-grey-text-contrast focus-visible:ring-offset-1' | ||
<Link | ||
isExternal | ||
className='text-sm text-grey-text-contrast sm:text-base' | ||
href='https://www.linkedin.com/in/codingcodax' | ||
rel='noopener noreferrer' | ||
target='_blank' | ||
> | ||
</a> | ||
</Link> | ||
) or if you prefer, you can{' '} | ||
<a | ||
className='text-grey-text-contrast decoration-grey-text-contrast decoration-dashed underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-grey-text-contrast focus-visible:ring-offset-1' | ||
<Link | ||
isExternal | ||
className='text-sm text-grey-text-contrast sm:text-base' | ||
href='emailto:[email protected]' | ||
> | ||
email me | ||
</a> | ||
</Link> | ||
. | ||
</p> | ||
</div> | ||
|
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