Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b64b97

Browse files
authored
chore: move all tools under /tools (WICG#509)
* add rev-share and link generators under tools* add redirects to URLs---------
1 parentb09c630 commit3b64b97

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

‎astro.config.mjs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ export default defineConfig({
234234
astroI18next(),
235235
],
236236
redirects:{
237+
"/link-tag":"/tools/link-tag",
238+
"/prob-revshare":"/tools/prob-revshare",
237239
"/docs/references/html-link-rel-monetization":"/docs/references/html"
238240
},
239241
server:{

‎src/pages/index.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@ const pluginsList = data.plugins.filter(function(plugin){
156156
<p>Explore how Web Monetization works</p>
157157
</a>
158158

159-
<aclass="gridItem"href="/link-tag"data-umami-event="Landing page - Link tag">
159+
<aclass="gridItem"href="/tools/link-tag"data-umami-event="Landing page - Link tag">
160160
<h3class="heading4">Link Tag Generator</h3>
161161
<p>Generate a Web Monetization link tag for your site</p>
162162
</a>
163163

164-
<aclass="gridItem"href="/prob-revshare"data-umami-event="Landing page - Prob rev share">
164+
<aclass="gridItem"href="/tools/prob-revshare"data-umami-event="Landing page - Prob rev share">
165165
<h3class="heading4">Probabilistic RevShare Generator</h3>
166166
<p>Split Web Monetization revenue between payment pointers</p>
167167
</a>

‎src/pages/install.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const description = t("site.description")
8686
<divclass="cardContent">
8787
<h2class="heading3">Get support with a Web Monetization link</h2>
8888
<h2class="heading3">
89-
<ahref="/link-tag/">Generate your link tag</a>
89+
<ahref="/tools/link-tag/">Generate your link tag</a>
9090
</h2>
9191
</div>
9292
</div>

‎src/pages/tools.astro‎renamed to ‎src/pages/tools/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
importi18next, {t,changeLanguage }from"i18next";
3-
importBasefrom"../layouts/Base.astro";
3+
importBasefrom"../../layouts/Base.astro";
44
55
changeLanguage("en");
66

‎src/pages/link-tag.astro‎renamed to ‎src/pages/tools/link-tag.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
importi18next, {t,changeLanguage }from"i18next";
3-
importBasefrom"../layouts/Base.astro";
4-
importLinkTagGeneratorfrom"../components/pages/LinkTagGenerator";
3+
importBasefrom"../../layouts/Base.astro";
4+
importLinkTagGeneratorfrom"../../components/pages/LinkTagGenerator";
55
66
changeLanguage("en");
77

‎src/pages/prob-revshare.astro‎renamed to ‎src/pages/tools/prob-revshare.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
importi18next, {t,changeLanguage }from"i18next";
3-
importBasefrom"../layouts/Base.astro";
4-
importProbRevshareGeneratorfrom"../components/pages/ProbRevshare";
3+
importBasefrom"../../layouts/Base.astro";
4+
importProbRevshareGeneratorfrom"../../components/pages/ProbRevshare";
55
66
changeLanguage("en");
77

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp