Skip to content

Commit c5f5ef6

Browse files
committed
update description
1 parent dd4a7aa commit c5f5ef6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

client/html/index.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{[{ if .brand }]}
2424
<style type="text/css">
2525
.watermark-brand {
26-
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='100px' width='300px' opacity='0.1'><text transform='translate(20, 100) rotate(-25)' fill='rgb(245,45,45)' font-size='46'>{[{ .brand }]}</text></svg>");
26+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='100px' width='300px' opacity='0.05'><text transform='translate(20, 100) rotate(-25)' fill='rgb(245,45,45)' font-size='46'>{[{ .brand }]}</text></svg>");
2727
}
2828
</style>
2929
{[{ end }]}
@@ -68,11 +68,11 @@
6868
</div>
6969
<div class="accordion-item">
7070
<h3 class="accordion-header" id="headingAddrbook">
71-
<span class="accordion-button cursor-pointer" data-bs-toggle="collapse" data-bs-target="#collapseAddrbook" aria-expanded="true" aria-controls="collapseAddrbook">
71+
<span class="accordion-button collapsed cursor-pointer" data-bs-toggle="collapse" data-bs-target="#collapseAddrbook" aria-expanded="false" aria-controls="collapseAddrbook">
7272
Addrbook
7373
</span>
7474
</h3>
75-
<div id="collapseAddrbook" class="accordion-collapse collapse show" aria-labelledby="headingAddrbook" data-bs-parent="#accordionMain">
75+
<div id="collapseAddrbook" class="accordion-collapse collapse" aria-labelledby="headingAddrbook" data-bs-parent="#accordionMain">
7676
<div class="card card-body">
7777
{[{ if gt .livePeersCount 0 }]}
7878
<p>Download: <a href="/download/addrbook.json">addrbook.json</a></p>

client/statik/statik.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/web_server/handle_web_page.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func HandleWebIndex(c *gin.Context) {
4949
"host": c.Request.Host,
5050
"brand": cfg.Brand,
5151
"title": fmt.Sprintf("%s snapshot by %s", cfg.ChainName, cfg.Brand),
52-
"description": fmt.Sprintf("Snapshot data, live-peers for %s (%s) by %s", cfg.ChainName, cfg.ChainID, cfg.Brand),
52+
"description": fmt.Sprintf("Snapshot data, live-peers, addrbook for %s by %s", cfg.ChainName, cfg.Brand),
5353
"chainName": cfg.ChainName,
5454
"chainDescLines": chainDescriptionLines,
5555
"chainId": cfg.ChainID,

0 commit comments

Comments
 (0)