Skip to content

Commit 6c28986

Browse files
authored
improve text in fungible demo UI (#42)
* improve text
1 parent b3fafa5 commit 6c28986

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

examples/assets/style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ h1 {
4242

4343
p {
4444
margin: 1rem 0;
45-
max-width: 20rem;
45+
max-width: 40rem;
46+
}
47+
48+
em {
49+
font-style: normal;
50+
font-weight: bold;
4651
}
4752

4853
button, input[type="submit"] {

examples/hosted-fungible/index.html

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
.ui #transfer {
1111
display: flex;
1212
flex-direction: column;
13-
max-width: 20rem;
13+
max-width: 40rem;
1414
}
1515

1616
.ui .account-details {
1717
display: flex;
1818
align-items: center;
19-
max-width: 20rem;
19+
max-width: 40rem;
2020
}
2121

2222
.ui #account-id {
@@ -66,7 +66,7 @@
6666
.ui .account-details {
6767
display: flex;
6868
align-items: center;
69-
max-width: 20rem;
69+
max-width: 40rem;
7070
}
7171
</style>
7272
</head>
@@ -76,10 +76,18 @@
7676
<div class="description">
7777
<h1>Fungible</h1>
7878
<p>
79-
This is an application tracking the transfer of fungible tokens between accounts.
79+
This application is a demo to showcase personal chains, real-time transfers,
80+
and trustless user interfaces in Linera.
81+
</p>
82+
<p><em>Send funds to a friend and watch their balance update in real time.</em></p>
83+
<p>
84+
This web page is hosting a Linera client connected with a Linera test network.
85+
Each user is given an account on a new personal chain. To send and receive
86+
tokens, the chain of a user is extended with new blocks. Blocks are validated
87+
and synchronized over the Linera network in real time. Clients execute blocks
88+
locally in a Wasm virtual machine, allowing the displayed balance to be refreshed
89+
instantly and securely.
8090
</p>
81-
82-
<p>Send funds to a friend and watch their balance update in real time.</p>
8391
</div>
8492
<div class="ui">
8593
<h3>Account</h3>
@@ -119,7 +127,7 @@ <h4>Transfer</h4>
119127
</div>
120128

121129
<div class="logs">
122-
<h2>Chain history for <code id="chain-id" class="hex">requesting chain</code></h2>
130+
<h2>Chain history for <code id="chain-id" class="hex">requesting a new microchain</code></h2>
123131
<ul id="logs">
124132
<template>
125133
<li>

0 commit comments

Comments
 (0)