fix: render banner link as clickable page_link instead of italic text
This commit is contained in:
parent
9719de5c43
commit
995e9f6aea
1 changed files with 5 additions and 1 deletions
|
|
@ -520,7 +520,11 @@ if _profile and _profile.wizard_complete:
|
||||||
for banner in _pending_banners:
|
for banner in _pending_banners:
|
||||||
_bcol, _bdismiss = st.columns([10, 1])
|
_bcol, _bdismiss = st.columns([10, 1])
|
||||||
with _bcol:
|
with _bcol:
|
||||||
st.info(f"💡 {banner['text']} → _{banner['link_label']}_")
|
_ic, _lc = st.columns([3, 1])
|
||||||
|
_ic.info(f"💡 {banner['text']}")
|
||||||
|
with _lc:
|
||||||
|
st.write("")
|
||||||
|
st.page_link("pages/2_Settings.py", label=banner['link_label'], icon="⚙️")
|
||||||
with _bdismiss:
|
with _bdismiss:
|
||||||
st.write("")
|
st.write("")
|
||||||
if st.button("✕", key=f"dismiss_banner_{banner['key']}", help="Dismiss"):
|
if st.button("✕", key=f"dismiss_banner_{banner['key']}", help="Dismiss"):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue