This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use react-icons andopen social links in new tab (#128)
- Loading branch information
Showing
8 changed files
with
19 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,32 +1,31 @@ | ||
import { NextPage } from 'next/types'; | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import { FaDiscord, FaGithub, FaTwitter } from 'react-icons/fa'; | ||
|
||
export const Header: NextPage = () => { | ||
export function Header() { | ||
return ( | ||
<nav className='flex items-center justify-between py-4 shadow-[rgba(17,17,26,0.1)_0px_1px_0px] lg:pl-[20%] lg:pr-[20%]'> | ||
<Link href='/' rel='noreferrer'> | ||
<Link href='/'> | ||
<a> | ||
<span className='cursor-pointer px-5 text-3xl font-bold text-gray-700'>defaang</span> | ||
</a> | ||
</Link> | ||
<div className='mx-5 flex w-1/3 items-center justify-between lg:w-1/6'> | ||
<Link href='https://github.com/ykdojo/defaang' rel='noreferrer'> | ||
<a> | ||
<Image src='/github.svg' className='cursor-pointer' height={30} width={30} alt='github' /> | ||
<Link href='https://github.com/ykdojo/defaang'> | ||
<a target='_blank' rel='noopener noreferrer'> | ||
<FaGithub className='h-8 w-8' title='GitHub' /> | ||
</a> | ||
</Link> | ||
<Link href='https://discord.gg/aJp6Fypb' rel='noreferrer'> | ||
<a> | ||
<Image src='/discord.svg' className='cursor-pointer' height={30} width={30} alt='discord' /> | ||
<Link href='https://discord.gg/aJp6Fypb'> | ||
<a target='_blank' rel='noopener noreferrer'> | ||
<FaDiscord className='h-8 w-8' title='Discord' /> | ||
</a> | ||
</Link> | ||
<Link href='https://twitter.com/ykdojo' rel='noreferrer'> | ||
<a> | ||
<Image src='/twitter.svg' className='cursor-pointer' height={30} width={30} alt='twitter' /> | ||
<Link href='https://twitter.com/ykdojo'> | ||
<a target='_blank' rel='noopener noreferrer'> | ||
<FaTwitter className='h-8 w-8' title='Twitter' /> | ||
</a> | ||
</Link> | ||
</div> | ||
</nav> | ||
); | ||
}; | ||
} |
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
449c09d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
defaang – ./
defaang-ykdojo.vercel.app
defaang.vercel.app
defaang-git-main-ykdojo.vercel.app