Skip to content

Commit d7a2700

Browse files
authored
feat: Add Schema.org Structured Data to Enhance SEO and Search Visibility of Faucet (#13133)
* Add sitemap to pages * Remove potentialAction field * Update titles and descriptions in HTML files for consistency and clarity across the Filecoin Calibration Faucet pages
1 parent 3d46128 commit d7a2700

File tree

3 files changed

+86
-12
lines changed

3 files changed

+86
-12
lines changed

cmd/lotus-fountain/site/datacap.html

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,50 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
4-
<title>Grant DataCap - Lotus Fountain</title>
4+
<title>Grant DataCap - Filecoin Calibration Faucet</title>
55
<link rel="stylesheet" type="text/css" href="faucet-components.css">
6+
<meta charset="UTF-8">
67
<script src="https://www.google.com/recaptcha/api.js"></script>
78
<script>
89
function onSubmit(token) {
910
document.getElementById("datacap-form").submit();
1011
}
1112
</script>
12-
13+
<script type="application/ld+json">
14+
[
15+
{
16+
"@context": "https://schema.org",
17+
"@type": "Organization",
18+
"name": "Filecoin Calibration Faucet",
19+
"url": "https://faucet.calibnet.chainsafe-fil.io/",
20+
"logo": "https://filecoin.io/images/filecoin-logo.svg",
21+
"description": "Official Filecoin Calibration testnet faucet providing testnet FIL and DataCap for developers building on the Filecoin network.",
22+
"sameAs": [
23+
"https://github.com/ChainSafe",
24+
"https://chainsafe.io/",
25+
"https://filecoin.io/",
26+
"https://filecoin.io/slack"
27+
]
28+
},
29+
{
30+
"@context": "https://schema.org",
31+
"@type": "WebPage",
32+
"name": "Grant DataCap - Filecoin Calibration Faucet",
33+
"description": "Request DataCap allocation for the Filecoin Calibration Testnet. Enter your address to receive DataCap for testing Filecoin Plus (Fil+) workflows and verified deals.",
34+
"url": "https://faucet.calibnet.chainsafe-fil.io/datacap",
35+
"isPartOf": {
36+
"@type": "Organization",
37+
"name": "Filecoin Calibration Faucet"
38+
}
39+
}
40+
]
41+
</script>
1342
</head>
1443
<body>
1544
<div class="Index">
1645
<div class="Index-nodes">
1746
<div class="Index-node">
18-
<h3>Grant datacap</h3>
47+
<h3>Grant DataCap</h3>
1948
<p>Please input your address to receive a data cap on the Calibration Testnet.</p>
2049
</div>
2150
<div class="Index-node">

cmd/lotus-fountain/site/funds.html

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,50 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
4-
<title>Sending Funds - Lotus Fountain</title>
4+
<title>Send Testnet FIL - Filecoin Calibration Faucet</title>
55
<link rel="stylesheet" type="text/css" href="faucet-components.css">
6+
<meta charset="UTF-8">
67
<script src="https://www.google.com/recaptcha/api.js"></script>
78
<script>
89
function onSubmit(token) {
910
document.getElementById("funds-form").submit();
1011
}
1112
</script>
12-
13+
<script type="application/ld+json">
14+
[
15+
{
16+
"@context": "https://schema.org",
17+
"@type": "Organization",
18+
"name": "Filecoin Calibration Faucet",
19+
"url": "https://faucet.calibnet.chainsafe-fil.io/",
20+
"logo": "https://filecoin.io/images/filecoin-logo.svg",
21+
"description": "Official Filecoin Calibration testnet faucet providing testnet FIL and DataCap for developers building on the Filecoin network.",
22+
"sameAs": [
23+
"https://github.com/ChainSafe",
24+
"https://chainsafe.io/",
25+
"https://filecoin.io/",
26+
"https://filecoin.io/slack"
27+
]
28+
},
29+
{
30+
"@context": "https://schema.org",
31+
"@type": "WebPage",
32+
"name": "Send Testnet FIL - Filecoin Calibration Faucet",
33+
"description": "Request 100 tFIL tokens for the Filecoin Calibration Testnet. Enter your address to receive test FIL (tFIL) for development and testing purposes.",
34+
"url": "https://faucet.calibnet.chainsafe-fil.io/funds",
35+
"isPartOf": {
36+
"@type": "Organization",
37+
"name": "Filecoin Calibration Faucet"
38+
}
39+
}
40+
]
41+
</script>
1342
</head>
1443
<body>
1544
<div class="Index">
1645
<div class="Index-nodes">
1746
<div class="Index-node">
18-
<h3>Send funds</h3>
47+
<h3>Send Testnet FIL</h3>
1948
<p>Please input your address to receive test FIL (tFIL) on the Calibration Testnet. This faucet dispenses 100 tFIL.</p>
2049
</div>
2150
<div class="Index-node">

cmd/lotus-fountain/site/index.html

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,33 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<title>Filecoin Lotus Faucet – Get Free tFIL & DataCap</title>
5-
<meta name="description" content="Get free tFIL and DataCap in the Lotus Fountain Faucet. Quickly request test tokens to your wallet, and start building or experimenting on the Filecoin testnet with ease.">
4+
<title>Filecoin Calibration Faucet – Get Free tFIL & DataCap</title>
5+
<meta name="description" content="Get free tFIL and DataCap in the Filecoin Calibration Faucet. Quickly request test tokens to your wallet, and start building or experimenting on the Filecoin testnet with ease.">
66
<meta charset="UTF-8">
77
<link rel="stylesheet" type="text/css" href="main.css">
88
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
9+
<script type="application/ld+json">
10+
{
11+
"@context": "https://schema.org",
12+
"@type": "Organization",
13+
"name": "Filecoin Calibration Faucet",
14+
"url": "https://faucet.calibnet.chainsafe-fil.io/",
15+
"logo": "https://filecoin.io/images/filecoin-logo.svg",
16+
"description": "Official Filecoin Calibration testnet faucet providing testnet FIL and DataCap for developers building on the Filecoin network.",
17+
"sameAs": [
18+
"https://github.com/ChainSafe",
19+
"https://chainsafe.io/",
20+
"https://filecoin.io/",
21+
"https://filecoin.io/slack"
22+
]
23+
}
24+
</script>
925
</head>
1026
<body>
1127
<div class="page-wrapper">
1228
<header>
13-
<h1>Filecoin Lotus Calibration Faucet</h1>
14-
<p>Welcome to the official Filecoin Lotus Calibration testnet faucet. This service provides both testnet FIL and DataCap for developers and testers working within the Filecoin ecosystem.</p>
29+
<h1>Filecoin Calibration Faucet</h1>
30+
<p>Welcome to the official Filecoin Calibration testnet faucet. This service provides both testnet FIL and DataCap for developers and testers working within the Filecoin ecosystem.</p>
1531
</header>
1632

1733
<main class="cards">

0 commit comments

Comments
 (0)