aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/pages/home/TruthsPayingScreen.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-10-19 10:56:52 -0300
committerSebastian <sebasjm@gmail.com>2021-10-19 11:05:32 -0300
commit5883d42d800c7b444c59d626bcaa5abca7dc83d0 (patch)
treeac42ad7b9e26c4dd2145a31101305884906a543e /packages/anastasis-webui/src/pages/home/TruthsPayingScreen.tsx
parent269022a526b670d602ca146f4df02850983bb72e (diff)
downloadwallet-core-5883d42d800c7b444c59d626bcaa5abca7dc83d0.tar.gz
wallet-core-5883d42d800c7b444c59d626bcaa5abca7dc83d0.tar.bz2
wallet-core-5883d42d800c7b444c59d626bcaa5abca7dc83d0.zip
add template from merchant backoffice
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/TruthsPayingScreen.tsx')
-rw-r--r--packages/anastasis-webui/src/pages/home/TruthsPayingScreen.tsx25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/anastasis-webui/src/pages/home/TruthsPayingScreen.tsx b/packages/anastasis-webui/src/pages/home/TruthsPayingScreen.tsx
new file mode 100644
index 000000000..5b8a835b8
--- /dev/null
+++ b/packages/anastasis-webui/src/pages/home/TruthsPayingScreen.tsx
@@ -0,0 +1,25 @@
+import { h, VNode } from "preact";
+import { BackupReducerProps, AnastasisClientFrame } from "./index";
+
+export function TruthsPayingScreen(props: BackupReducerProps): VNode {
+ const payments = props.backupState.payments ?? [];
+ return (
+ <AnastasisClientFrame
+ hideNext
+ title="Backup: Authentication Storage Payments"
+ >
+ <p>
+ Some of the providers require a payment to store the encrypted
+ authentication information.
+ </p>
+ <ul>
+ {payments.map((x, i) => {
+ return <li key={i}>{x}</li>;
+ })}
+ </ul>
+ <button onClick={() => props.reducer.transition("pay", {})}>
+ Check payment status now
+ </button>
+ </AnastasisClientFrame>
+ );
+}