Skip to content

Commit

Permalink
wip: added graphical abstract to and intro message
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyama341 committed Sep 27, 2024
1 parent 0025999 commit 3fd8622
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions web_app/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
from introduction_page import introduction_page
from welcome_message import welcome_message_content
from footer import footer_content
from intro_message import intro_message_content

external_stylesheets = [
dbc.themes.DARKLY,
Expand Down
Binary file added web_app/assets/intro_fig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions web_app/intro_message.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from dash import dcc, html
from styling import text_style

intro_message_content = html.Div([
dcc.Markdown(
"""
## **Welcome to StreptoCAD**
""",
style={**text_style, "marginBottom": "20px", "lineHeight": "2", "marginTop": "30px"}
),
html.Img(
src="assets/intro_fig.png",
style={"width": "30%", "height": "auto", "display": "block", "marginLeft": "0", "marginRight": "auto"}
)
])

0 comments on commit 3fd8622

Please sign in to comment.