Skip to content

Commit 6e16e3d

Browse files
author
xhlulu
committed
Make logo clickable, link to source code and demo
Former-commit-id: 2dfeb09
1 parent 6ceab4b commit 6e16e3d

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

  • apps/dash-uber-rides-demo

apps/dash-uber-rides-demo/app.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,11 @@
6868
html.Div(
6969
className="four columns div-user-controls",
7070
children=[
71-
html.Img(
72-
className="logo", src=app.get_asset_url("dash-logo-new.png")
71+
html.A(
72+
html.Img(
73+
className="logo", src=app.get_asset_url("dash-logo-new.png")
74+
),
75+
href="https://plotly.com/dash/"
7376
),
7477
html.H2("DASH - UBER DATA APP"),
7578
html.P(
@@ -132,9 +135,11 @@
132135
html.P(id="total-rides-selection"),
133136
html.P(id="date-value"),
134137
dcc.Markdown(
135-
children=[
136-
"Source: [FiveThirtyEight](https://github.com/fivethirtyeight/uber-tlc-foil-response/tree/master/uber-trip-data)"
137-
]
138+
"""
139+
Source: [FiveThirtyEight](https://github.com/fivethirtyeight/uber-tlc-foil-response/tree/master/uber-trip-data)
140+
141+
Links: [Source Code](https://github.com/plotly/dash-sample-apps/tree/main/apps/dash-uber-rides-demo) | [Enterprise Demo](https://plotly.com/get-demo/)
142+
"""
138143
),
139144
],
140145
),

0 commit comments

Comments
 (0)