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

Commita4a6db9

Browse files
new tools page that loads WM tools (WICG#504)
1 parentc47584c commita4a6db9

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

‎src/pages/tools.astro‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
importi18next, {t,changeLanguage }from"i18next";
3+
importBasefrom"../layouts/Base.astro";
4+
5+
changeLanguage("en");
6+
7+
const title=`Publisher tools | ${t("site.title")}`;
8+
const description=t("site.description");
9+
---
10+
<Basetitle={title}description={description}>
11+
<sectionclass="section section_adjusted">
12+
<iframe
13+
class="iframe_content"
14+
src="https://wmtools.interledger-test.dev?contentOnly"
15+
title="Publisher tools"
16+
loading="eager"
17+
/>
18+
</section>
19+
</Base>
20+
21+
<style>
22+
body {
23+
background-image: url('/img/bg-tile.svg');
24+
background-size: 25em;
25+
}
26+
27+
.iframe_content {
28+
width: 100%;
29+
height: calc(100vh - 190px);
30+
border: none;
31+
}
32+
33+
.section_adjusted,
34+
.section_adjusted:first-of-type {
35+
padding-block-start: 0;
36+
padding-block-end: 0;
37+
}
38+
39+
</style>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp