Spaces:
Running
Running
Add banner with link to Vizro GitHub repo
#4
by
nadijagr
- opened
app.py
CHANGED
@@ -108,6 +108,21 @@ dashboard = vm.Dashboard(
|
|
108 |
)
|
109 |
|
110 |
app = Vizro().build(dashboard)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
server = app.dash.server
|
112 |
|
113 |
if __name__ == "__main__":
|
|
|
108 |
)
|
109 |
|
110 |
app = Vizro().build(dashboard)
|
111 |
+
app.dash.layout.children.append(
|
112 |
+
html.Div(
|
113 |
+
[
|
114 |
+
html.Div(
|
115 |
+
[
|
116 |
+
"Made using ",
|
117 |
+
html.Img(src=get_asset_url("logo.svg"), id="banner", alt="Vizro logo"),
|
118 |
+
dbc.NavLink("vizro", href="https://github.com/mckinsey/vizro", target="_blank", external_link=True),
|
119 |
+
],
|
120 |
+
className="anchor-div",
|
121 |
+
),
|
122 |
+
],
|
123 |
+
className="anchor-container",
|
124 |
+
)
|
125 |
+
)
|
126 |
server = app.dash.server
|
127 |
|
128 |
if __name__ == "__main__":
|