copy
This commit is contained in:
parent
d6f27d4483
commit
ba8d0020f3
5 changed files with 14 additions and 22 deletions
|
|
@ -8,6 +8,7 @@ const serverOptions = (mainHandler: Main): ServerOptions => {
|
|||
const log = getLogger({})
|
||||
return {
|
||||
logger: { log, error: err => log(ERROR, err) },
|
||||
staticFiles: path.resolve('static'),
|
||||
AdminAuthGuard: adminAuth,
|
||||
MetricsAuthGuard: metricsAuth,
|
||||
AppAuthGuard: async (authHeader) => { return { app_id: mainHandler.applicationManager.DecodeAppToken(stripBearer(authHeader)) } },
|
||||
|
|
|
|||
|
|
@ -32,11 +32,10 @@
|
|||
<button class="icon-button back-button" onclick="history.back()">
|
||||
<img src="img/back.svg" alt="" />
|
||||
</button>
|
||||
<h2>Backup</h2>
|
||||
<h2>Choose a Recovery Method</h2>
|
||||
<p class="header-title">
|
||||
It looks like this is a
|
||||
<span style="font-weight: bold">new</span> node, it's important
|
||||
establish backups.
|
||||
<span style="font-weight: bold">New Node! 🎉</span> It's important
|
||||
to backup your keys.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
|
@ -45,17 +44,11 @@
|
|||
<section class="setup-content">
|
||||
<div class="description-box">
|
||||
<div class="description">
|
||||
In addition to your seed phrase, you'll need a channel backup to
|
||||
</div>
|
||||
<div class="description">
|
||||
recover funds should your node experience a hardware failure.
|
||||
In addition to your seed phrase, you also need channel details to recover funds should your node experience a hardware failure.
|
||||
</div>
|
||||
<br />
|
||||
<div class="description">
|
||||
It's important always to have the latest version of this backup,
|
||||
</div>
|
||||
<div class="description">
|
||||
fortunately they're small enough to be cached on the Nostr relay.
|
||||
It's important always to have the latest version of this backup, fortunately they're small enough to be cached on the Nostr relay automatically.
|
||||
</div>
|
||||
</div>
|
||||
<div class="warning-text">
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ a {
|
|||
|
||||
/* Display a checkmark when the checkbox is checked */
|
||||
.checkbox input[type="checkbox"]:checked + .checkbox-shape::before {
|
||||
content: "✔";
|
||||
content: "✓";
|
||||
color: #a012c7;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
|
|
|
|||
|
|
@ -27,9 +27,8 @@
|
|||
|
||||
<main>
|
||||
<section class="setup-header">
|
||||
<h2>Setup</h2>
|
||||
<h2>Setup your Pub</h2>
|
||||
<p class="header-title">
|
||||
Let's confirm some things before we start this Pub
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
|
@ -37,7 +36,7 @@
|
|||
|
||||
<section class="setup-content">
|
||||
<div class="input-group">
|
||||
<span>give this node a name that wallet users will see:</span>
|
||||
<span>Give this node a name that will be seen by wallet users:</span>
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Nodey McNodeFace"
|
||||
|
|
@ -60,7 +59,7 @@
|
|||
<div class="checkbox-shape"></div>
|
||||
<label for="customCheckbox">
|
||||
Use the default managed relay service and auto-pay 1000 sats
|
||||
permonth to support developers
|
||||
per month to support developers
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -32,9 +32,9 @@
|
|||
<button class="icon-button back-button" onclick="history.back()">
|
||||
<img src="img/back.svg" alt="" />
|
||||
</button>
|
||||
<h2>Liquidity</h2>
|
||||
<h2>Manage Node Liquidity</h2>
|
||||
<p class="header-title">
|
||||
How do you want to manage Lightning connectivity?
|
||||
How do you want to manage your Lightning nodes channels?
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
|
@ -45,14 +45,13 @@
|
|||
<input type="checkbox" id="automate" />
|
||||
<div class="checkbox-shape"></div>
|
||||
<label for="automate">
|
||||
Use Boostrap Service to Automate
|
||||
Use Automation Service
|
||||
<div class="question-box">
|
||||
<button class="icon-button" id="show-question">
|
||||
<img src="img/question.svg" />
|
||||
</button>
|
||||
<div class="question-content" id="question-content">
|
||||
Bootstrapping uses a trusted peer until channel management
|
||||
events cost less than 1% to execute
|
||||
Automation helps to reduce overall fees by trusting peers until channel management events cost >1% of their on-demand liquidity requirements
|
||||
<button class="icon-button close-button" id="close-question">
|
||||
<img src="img/close.svg" alt="" />
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue