forked from paritytech/metadata-portal
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAppLinks.tsx
39 lines (37 loc) · 1.18 KB
/
AppLinks.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
import iconSrc from "../assets/icons/vault.svg";
const LINKS = [["Download", "https://www.parity.io/technologies/signer/"]];
export const AppLinks = () => {
return (
<div className="xl:fixed xl:top-0 xl:left-0 xl:right-0 xl:z-50 flex items-center space-x-4 p-4 text-sm bg-black text-white">
<div className="flex flex-1">
<div className="hidden xl:block w-full max-w-xs -mr-2" />
<div className="w-full">
<img
src={iconSrc}
className="relative -top-px inline-block w-6 mr-2"
/>
<span>{"Download "}</span>
<span className="text-pink-400">Polkadot Vault</span>
<span className="hidden md:inline">
{
" cold storage wallet app and use the portal for adding and updating networks"
}
</span>
</div>
</div>
<div className="space-x-4">
{LINKS.map(([label, href], i) => (
<a
className="py-2 px-8 rounded-4xl bg-pink-600"
href={href}
key={i}
target="_blank"
rel="noreferrer"
>
{label}
</a>
))}
</div>
</div>
);
};