added layout elements

This commit is contained in:
Brian Bjarke Jensen
2024-02-23 22:59:44 +01:00
parent 6c3e772517
commit e5344e6519
9 changed files with 229 additions and 147 deletions
+35
View File
@@ -0,0 +1,35 @@
from dash import dcc
import dash_mantine_components as dmc
from .stores import stores_element
from .alerts import alerts_element
from .header import header_element
from .body import body_element
app_layout = dmc.MantineProvider(
theme={
"fontFamily": '"Inter", sans-serif',
"components": {
"NavLink": {
"styles": {
"label": {
"color": "#c2c7d0"
}
}
}
},
},
children=[
stores_element,
alerts_element,
dmc.Container(
children=[
header_element,
body_element,
],
fluid=True
),
]
)