Skip to content

Commit 74a5da6

Browse files
committed
Serve a page on / for payjoin-directory
1 parent 6e0aa04 commit 74a5da6

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

payjoin-directory/src/lib.rs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ async fn handle_directory_home_path() -> Result<Response<BoxBody<Bytes, hyper::E
284284
body {
285285
background-color: #0f0f0f;
286286
color: #eaeaea;
287-
font-family: 'Courier New', Courier, monospace;
287+
font-family: Manrope, sans-serif;
288288
padding: 2rem;
289289
display: flex;
290290
justify-content: center;
@@ -300,18 +300,26 @@ async fn handle_directory_home_path() -> Result<Response<BoxBody<Bytes, hyper::E
300300
text-align: center;
301301
}
302302
h1 {
303-
color: #00aaff;
303+
color: black;
304+
background-color: #C71585;
304305
margin-bottom: 1rem;
306+
padding: 0.5rem;
307+
border-radius: 4px;
305308
}
306309
p {
307310
color: #ccc;
308311
}
312+
a{
313+
color: #F75394;
314+
text-decoration: none;
315+
}
309316
</style>
310317
</head>
311318
<body>
312319
<div class="container">
313320
<h1>Payjoin Directory</h1>
314-
<p>this is a directory used to facilitate asynchronous payments between supporting Bitcoin wallets.</p>
321+
<p>This is a mailbox for payjoin transactions, which is used to facilitate asynchronous payments between supporting Bitcoin wallets.</p>
322+
<p>Learn more about how the mailbox works here <a href="https://payjoin.org/docs/how-it-works/payjoin-v2-bip-77">Payjoin V2</a></p>
315323
</div>
316324
</body>
317325
</html>

0 commit comments

Comments
 (0)