Skip to content

Commit 6ceab4b

Browse files
author
xhlulu
committed
Add two buttons (source code, demo), make logo clickable
Former-commit-id: b6ca16c
1 parent 32521fc commit 6ceab4b

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

apps/dash-wind-streaming/app.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,16 @@
4141
),
4242
html.Div(
4343
[
44-
html.Img(
45-
src=app.get_asset_url("dash-new-logo.png"),
46-
className="app__menu__img",
47-
)
44+
html.A(html.Button("SOURCE CODE", className="link-button"), href="https://github.com/plotly/dash-sample-apps/tree/main/apps/dash-wind-streaming"),
45+
html.A(html.Button("ENTERPRISE DEMO", className="link-button"), href="https://plotly.com/get-demo/"),
46+
html.A(
47+
html.Img(
48+
src=app.get_asset_url("dash-new-logo.png"),
49+
className="app__menu__img",
50+
),
51+
href="https://plotly.com/dash/"
52+
),
53+
4854
],
4955
className="app__header__logo",
5056
),
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.link-button {
2+
margin-top: 10px;
3+
margin-right: 10px;
4+
vertical-align: top;
5+
color: white;
6+
}

0 commit comments

Comments
 (0)