Skip to content

Commit c03f1f1

Browse files
committed
Add PoS page
1 parent 085b409 commit c03f1f1

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

source/pos.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
permalink: pos/
3+
layout: false
4+
web-app: true
5+
---
6+
7+
<div id="pos">
8+
<button onclick="document.getElementById('btcpay').src = document.getElementById('btcpay').src ;">&#215;</button>
9+
<iframe id="btcpay" src='https://btcpay.ln.bitembassy.org/apps/2w7eTJeYtZKT5irjaMJvFrroJmCk/pos/static' style='width: 100%; height: 100%; border: 0;'></iframe>
10+
</div>
11+
12+
<style>
13+
#pos > button {
14+
position:fixed;
15+
left: 35px;
16+
top:35px;
17+
border-radius:50px;
18+
border: 0;
19+
width:48px;
20+
height:48px;
21+
font-size: 20;
22+
}
23+
</style>

themes/landscape/layout/layout.pug

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ head
1313

1414
if page.description || config.description
1515
meta(name='description' content=page.description || config.description)
16+
17+
if page.web_app
18+
meta(name="mobile-web-app-capable", content="yes")
1619

1720
meta(property='og:site_name', content=config.title)
1821

0 commit comments

Comments
 (0)