Skip to content

Commit

Permalink
Reorganize modules
Browse files Browse the repository at this point in the history
Static content into static dir
  • Loading branch information
BrianThomasRoss committed Mar 24, 2020
1 parent 6a3261b commit 4f35a65
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/chime_dash/app/components/navbar.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Navigation bar view
"""
from typing import List, Any
from chime_dash.app.components import header
from typing import List
from chime_dash.app.static import header
from chime_dash.app.components import menu

import dash_html_components as html
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/chime_dash/app/static/homepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
LOCALIZATION_FILE_2 = "latest-updates.md"



def introducing_chime(language: str) -> List[ComponentMeta]:
def introducing_chime (language: str) -> List[ComponentMeta]:
"""Initializes the header dash html
"""
content = read_localization_markdown(LOCALIZATION_FILE_1, language)

return [Markdown(content)]

def latest_updates(language: str) -> List[ComponentMeta]:

def latest_updates (language: str) -> List[ComponentMeta]:
"""Initializes the header dash html
"""
content = read_localization_markdown(LOCALIZATION_FILE_2, language)

return [Markdown(content)]
return [Markdown(content)]
File renamed without changes.

0 comments on commit 4f35a65

Please sign in to comment.