Skip to content

Commit

Permalink
Merge pull request #175 from KlimaDAO/replace-jumbotron
Browse files Browse the repository at this point in the history
Replace jumbotron
  • Loading branch information
0xAurelius authored Oct 13, 2023
2 parents e936d2d + 32e68d1 commit 6de0199
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/apps/tco2_dashboard/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1967,12 +1967,14 @@ def render_page_content(pathname):
return content_nbo

# If the user tries to reach a different page, return a 404 message
return dbc.Jumbotron(
return dbc.Container(
[
html.H1("404: Not found", className="text-danger"),
html.Hr(),
html.P(f"The pathname {pathname} was not recognised..."),
]
],
fluid=True,
className="py-3",
)


Expand Down

0 comments on commit 6de0199

Please sign in to comment.