Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions src/pages/tools.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
import i18next, { t, changeLanguage } from "i18next";
import Base from "../layouts/Base.astro";

changeLanguage("en");

const title = `Publisher tools | ${t("site.title")}`;
const description = t("site.description");
---
<Base title={title} description={description}>
<section class="section section_adjusted">
<iframe
class="iframe_content"
src="https://wmtools.interledger-test.dev?contentOnly"
title="Publisher tools"
loading="eager"
/>
</section>
</Base>

<style>
body {
background-image: url('/img/bg-tile.svg');
Copy link
Collaborator

@sidvishnoi sidvishnoi Mar 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should either remove this background, or add a #ffffff on iframe, otherwise there's 2x web/mash background.

background-size: 25em;
}

.iframe_content {
width: 100%;
height: calc(100vh - 190px);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to be careful with this on mobile.

border: none;
}

.section_adjusted,
.section_adjusted:first-of-type {
padding-block-start: 0;
padding-block-end: 0;
}

</style>