forked from mbfaust19/walletconnect-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHeader.tsx
63 lines (60 loc) · 2.5 KB
/
Header.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import Head from "next/head";
import Link from "next/link";
import { Styled, StyledLink } from "../components/StyledLinks";
const Header = () => {
const title = `WalletConnect Registry`;
const url = `https://walletconnect.org`;
const description = `Open protocol for connecting Wallets to Dapps`;
const keywords = `ethereum, cryptocurrency, wallet, mobile, connect, bridge, relay, proxy, standard, protocol, crypto, tokens, dapp`;
const twitterUsername = `@walletconnect`;
const facebookId = "365412154213405";
return (
<>
<Head>
<title>{title}</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<meta name="description" content={description} />
<meta name="keywords" content={keywords} />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content={twitterUsername} />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:img:src" content={`${url}/social-card.png`} />
<meta name="og:title" content={title} />
<meta name="og:type" content="website" />
<meta name="og:url" content={url} />
<meta name="og:image" content={`${url}/social-card.png`} />
<meta name="og:description" content={description} />
<meta name="og:site_name" content={title} />
<meta name="fb:admins" content={facebookId} />
</Head>
<header className="sticky top-0 z-10 flex items-center justify-between px-5 py-4 bg-white md:py-6 ">
<div className="absolute inset-0 shadow-lg opacity-50"></div>
<div className="z-20 flex justify-around w-full sm:pr-10 md:pr-20">
<StyledLink href="/apps" type={Styled.HeaderLink}>
Apps
</StyledLink>
</div>
<div className="z-20 flex">
<div className="w-16 mx-6 sm:w-20 md:w-28">
<Link href="/">
<img
className="cursor-pointer object-fit"
src="walletconnect-logo.svg"
alt="walletconnect logo"
/>
</Link>
</div>
</div>
<div className="z-20 flex justify-around w-full sm:pl-10 md:pl-20">
<StyledLink href="/wallets" type={Styled.HeaderLink}>
Wallets
</StyledLink>
</div>
</header>
</>
);
};
export default Header;