Skip to content

Commit a4a6db9

Browse files
new tools page that loads WM tools (#504)
1 parent c47584c commit a4a6db9

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+
import i18next, { t, changeLanguage } from "i18next";
3+
import Base from "../layouts/Base.astro";
4+
5+
changeLanguage("en");
6+
7+
const title = `Publisher tools | ${t("site.title")}`;
8+
const description = t("site.description");
9+
---
10+
<Base title={title} description={description}>
11+
<section class="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)