-
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.
- Loading branch information
1 parent
7cb2f6f
commit 6fadb49
Showing
4 changed files
with
31 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,33 @@ | ||
// eslint-disable-next-line react/prop-types | ||
export default function Header({ setIndex }) { | ||
export default function Header() { | ||
return ( | ||
<div className="flex items-center flex-shrink-0 justify-between px-[30px] lg:px-0 lg:justify-center lg:absolute top-0 right-0 left-0 lg:m-auto w-[100vw] lg:w-[50vw] h-[80px] lg:h-[6vw] gap-[30px] lg:gap-[3vw] z-20 bg-[#0A0A0A] shadow-[0_0_40px_20px_rgba(255,255,255,0.1)] lg:shadow-[0_0_20px_10px_rgba(0,0,0,0.1)] lg:bg-[rgba(255,255,255,0.98)]"> | ||
<img | ||
className="lg:hidden w-[60px] h-[60px] object-contain" | ||
src="/images/DCDAO.png" | ||
alt="Logo" | ||
/> | ||
<p | ||
<a | ||
target="_blank" | ||
href="https://t.me/DarwiniaNetwork" | ||
className="block text-[16px] lg:text-[1.2vw] font-bold text-white lg:text-black cursor-pointer lg:hover:text-[#ff0084] duration-300 after:block lg:after:content-[''] after:bg-[#FF0084] after:w-full after:h-[2px] after:scale-x-0 hover:after:scale-x-[1] after:duration-300" | ||
onClick={() => { | ||
setIndex(0); | ||
}} | ||
> | ||
Join | ||
</p> | ||
<p | ||
</a> | ||
<a | ||
target="_blank" | ||
href="https://github.com/dcdao" | ||
className="hidden lg:block text-[16px] lg:text-[1.2vw] font-bold text-white lg:text-black cursor-pointer lg:hover:text-[#ff0084] duration-300 after:block lg:after:content-[''] after:bg-[#FF0084] after:w-full after:h-[2px] after:scale-x-0 hover:after:scale-x-[1] after:duration-300" | ||
onClick={() => { | ||
setIndex(1); | ||
}} | ||
> | ||
Github | ||
</p> | ||
<p | ||
</a> | ||
<a | ||
target="_blank" | ||
href="https://t.me/DarwiniaNetwork" | ||
className="hidden lg:block text-[16px] lg:text-[1.2vw] font-bold text-white lg:text-black cursor-pointer lg:hover:text-[#ff0084] duration-300 after:block lg:after:content-[''] after:bg-[#FF0084] after:w-full after:h-[2px] after:scale-x-0 hover:after:scale-x-[1] after:duration-300" | ||
onClick={() => { | ||
setIndex(2); | ||
}} | ||
> | ||
Telegram | ||
</p> | ||
</a> | ||
</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