-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathlink-tag.tsx
More file actions
65 lines (63 loc) · 2.26 KB
/
link-tag.tsx
File metadata and controls
65 lines (63 loc) · 2.26 KB
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
64
65
import { useNavigate, type MetaFunction } from 'react-router'
import { HeadingCore, LinkTagGenerator } from '@/components'
export const meta: MetaFunction = () => {
return [
{ title: 'Link Tag Generator - Publisher Tools' },
{
name: 'description',
content:
'Use the Link Tag Generator to generate a monetization <link> element for your HTML documents. Enter a payment pointer or wallet address to get started.',
},
]
}
export default function LinkTag() {
const navigate = useNavigate()
return (
<div className="bg-interface-bg-main w-full px-md">
<div className="w-full max-w-[1280px] mx-auto pt-[60px] md:pt-3xl">
<HeadingCore
title="Link Tag Generator"
onBackClick={() => navigate('/')}
>
Use the Link Tag Generator to generate a monetization <link>
element for your HTML documents.
<br />
Just enter your
<a href="https://paymentpointers.org/" className="underline">
payment pointer
</a>
or
<a href="https://webmonetization.org/wallets/" className="underline">
wallet address
</a>
into the field and click Generate.
</HeadingCore>
</div>
<div className="flex flex-col items-center gap-md">
<LinkTagGenerator />
<div className="flex-grow flex-shrink-0 basis-0 max-w-[1280px] text-center">
<p className="text-style-body-standard !text-field-helpertext-default">
After generating your
<span className="text-style-body-standard !text-text-buttons-default">
<link>
</span>
tag, add the tag to the
<span className="text-style-body-standard !text-text-buttons-default">
<head>
</span>
section of your website.
<br />
Visit our
<a
className="text-style-body-standard !text-text-buttons-default underline"
href="https://webmonetization.org/docs/"
>
docs
</a>
to learn more about Web Monetization.
</p>
</div>
</div>
</div>
)
}