mirror of
https://github.com/status-im/whispervis.git
synced 2025-02-12 21:16:27 +00:00
Add Status logo
This commit is contained in:
parent
04106c6fb0
commit
5525f3c95f
BIN
images/status.png
Normal file
BIN
images/status.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
@ -55,7 +55,7 @@ func (n *NetworkSelector) Render() vecty.ComponentOrHTML {
|
|||||||
widgets.Header("Network graph:"),
|
widgets.Header("Network graph:"),
|
||||||
elem.Div(
|
elem.Div(
|
||||||
vecty.Markup(
|
vecty.Markup(
|
||||||
vecty.Class("select"),
|
vecty.Class("select", "is-fullwidth"),
|
||||||
event.Change(n.onChange),
|
event.Change(n.onChange),
|
||||||
),
|
),
|
||||||
elem.Select(
|
elem.Select(
|
||||||
|
13
page.go
13
page.go
@ -7,6 +7,7 @@ import (
|
|||||||
"github.com/gopherjs/vecty"
|
"github.com/gopherjs/vecty"
|
||||||
"github.com/gopherjs/vecty/elem"
|
"github.com/gopherjs/vecty/elem"
|
||||||
"github.com/gopherjs/vecty/event"
|
"github.com/gopherjs/vecty/event"
|
||||||
|
"github.com/gopherjs/vecty/prop"
|
||||||
"github.com/status-im/whispervis/widgets"
|
"github.com/status-im/whispervis/widgets"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -163,17 +164,23 @@ func (p *Page) replaySimulation() {
|
|||||||
|
|
||||||
func (p *Page) header() *vecty.HTML {
|
func (p *Page) header() *vecty.HTML {
|
||||||
return elem.Section(
|
return elem.Section(
|
||||||
|
elem.Image(
|
||||||
|
vecty.Markup(
|
||||||
|
vecty.Style("padding-top", "5px"),
|
||||||
|
prop.Src("images/status.png"),
|
||||||
|
),
|
||||||
|
),
|
||||||
elem.Heading2(
|
elem.Heading2(
|
||||||
vecty.Markup(
|
vecty.Markup(
|
||||||
vecty.Class("title", "has-text-weight-light"),
|
vecty.Class("title", "has-text-weight-light"),
|
||||||
),
|
),
|
||||||
vecty.Text("Whisper Message Propagation"),
|
vecty.Text("Whisper Simulator"),
|
||||||
),
|
),
|
||||||
elem.Heading5(
|
elem.Heading6(
|
||||||
vecty.Markup(
|
vecty.Markup(
|
||||||
vecty.Class("subtitle", "has-text-weight-light"),
|
vecty.Class("subtitle", "has-text-weight-light"),
|
||||||
),
|
),
|
||||||
vecty.Text("This visualization represents message propagation in the p2p network."),
|
vecty.Text("This simulator shows message propagation in the Whisper network."),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user