Skip to content

Commit

Permalink
Add PoS page
Browse files Browse the repository at this point in the history
  • Loading branch information
sha-265 committed Aug 2, 2022
1 parent 085b409 commit c03f1f1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions source/pos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
permalink: pos/
layout: false
web-app: true
---

<div id="pos">
<button onclick="document.getElementById('btcpay').src = document.getElementById('btcpay').src ;">&#215;</button>
<iframe id="btcpay" src='https://btcpay.ln.bitembassy.org/apps/2w7eTJeYtZKT5irjaMJvFrroJmCk/pos/static' style='width: 100%; height: 100%; border: 0;'></iframe>
</div>

<style>
#pos > button {
position:fixed;
left: 35px;
top:35px;
border-radius:50px;
border: 0;
width:48px;
height:48px;
font-size: 20;
}
</style>
3 changes: 3 additions & 0 deletions themes/landscape/layout/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ head

if page.description || config.description
meta(name='description' content=page.description || config.description)

if page.web_app
meta(name="mobile-web-app-capable", content="yes")

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

Expand Down

0 comments on commit c03f1f1

Please sign in to comment.