-
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
Showing
11 changed files
with
136 additions
and
4 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,9 +1,103 @@ | ||
import Image from "next/image"; | ||
import React from "react"; | ||
import { FiSettings } from "react-icons/fi"; | ||
import SearchInput from "./SearchInput"; | ||
|
||
const Header = () => { | ||
return <>Header</>; | ||
const socials = [ | ||
{ | ||
name: "chart", | ||
link: "https://twitter.com/", | ||
logo: "/icons/chart.svg", | ||
alt: "chart logo", | ||
width: 24, | ||
height: 24, | ||
}, | ||
{ | ||
name: "telegram", | ||
link: "https://twitter.com/", | ||
logo: "/icons/telegram-icon.svg", | ||
alt: "superpumpfun telegram logo", | ||
width: 30.4, | ||
height: 24, | ||
}, | ||
{ | ||
name: "twitter", | ||
link: "https://twitter.com/", | ||
logo: "/icons/x-logo.svg", | ||
alt: "superpumpfun x logo", | ||
width: 23.48, | ||
height: 24, | ||
}, | ||
{ | ||
name: "question", | ||
link: "https://twitter.com/", | ||
logo: "/icons/questionmark-logo.svg", | ||
alt: "superpumpfun x logo", | ||
width: 19, | ||
height: 24, | ||
}, | ||
]; | ||
|
||
const tokenomics = [ | ||
{ | ||
title: "24H VOL", | ||
desc: "$ 50M", | ||
}, | ||
{ | ||
title: "LOCKED TVL", | ||
desc: "$ 88M", | ||
}, | ||
{ | ||
title: "TOKENS CREATED", | ||
desc: "1,230,223", | ||
}, | ||
]; | ||
return ( | ||
<header className=""> | ||
<div className="container flex items-center gap-[40px] py-[30px] px-[0px]"> | ||
{/* LOGO */} | ||
<Image | ||
src="/icons/superpumpfun-logo.svg" | ||
width="64" | ||
height="64" | ||
alt="superpumpfun logo" | ||
/> | ||
|
||
{/* SOCIALS */} | ||
<ul className="flex items-center gap-[20px]"> | ||
{socials.map((social, index) => { | ||
return ( | ||
<li key={index}> | ||
<a href={social.link} target="_blank"> | ||
<Image | ||
src={social.logo} | ||
width={social.width} | ||
height={social.height} | ||
alt={social.alt} | ||
/> | ||
</a> | ||
</li> | ||
); | ||
})} | ||
</ul> | ||
|
||
{/* TOKENOMICS */} | ||
<ul className="flex items-center gap-y-[10px] gap-x-[30px]"> | ||
{tokenomics.map((info, index) => { | ||
return ( | ||
<li key={index}> | ||
<p>{info.title}</p> | ||
<p className="mt-[15px]">{info.desc}</p> | ||
</li> | ||
); | ||
})} | ||
</ul> | ||
|
||
{/* SEARCH INPUT */} | ||
<SearchInput /> | ||
</div> | ||
</header> | ||
); | ||
}; | ||
|
||
export default Header; |
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,7 @@ | ||
import React from "react"; | ||
|
||
const SearchInput = () => { | ||
return <div>Search Input</div>; | ||
}; | ||
|
||
export default SearchInput; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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