Skip to content

info

Background and help content shared on the informational tab.

render_info_tab()

Render background and help guidance content.

Source code in src/refi_calculator/web/info.py
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
def render_info_tab() -> None:
    """Render background and help guidance content."""
    background_tab, help_tab = st.tabs(["Background", "Help"])

    with background_tab:
        for title, text in BACKGROUND_SECTIONS:
            st.markdown(f"**{title}**")
            st.markdown(text)
            st.divider()

    with help_tab:
        for title, text in HELP_SECTIONS:
            st.markdown(f"**{title}**")
            st.markdown(text)
            st.divider()