Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inclui banner de aviso de desatualização da branch stable #267

Merged
merged 2 commits into from
Jun 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/pages/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,18 @@ def main(session_state):
urlpath = 'https://farolcovid.coronacidades.org/'
# urlpath = 'http://localhost:8501/'
vaccine_logo = utils.load_image("imgs/vaccine.png")
st.write(f"""<div>
<div class="base-wrapper flex flex-column" style="background-color:#a30000">
<div class="white-span header p1" style="font-size:30px;"><img class="icon-cards">ATENÇÃO: APLICAÇÃO DESCONTINUADA</div>
<span class="white-span">Devido aos avanços na vacinação da covid-19, descontinuamos as atualizações de dados e do site FarolCovid em Julho de 2021.<br><br>
<br><br><span class="white-span">Hoje a Impulso tem atuado em ajudar os gestores de saúde a melhorar seus indicadores na atenção primária,
principalmente com nosso novo produto, o Impulso Previne.
Conheça essas e outras novas iniciativas no link abaixo.<br><br>
<a class="btn-ambassador" href="https://www.impulsogov.org/" target="_self">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Conhecer!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
</div>""",
unsafe_allow_html=True,
)

st.write(f"""<div>
<div class="base-wrapper flex flex-column" style="background-color:#0090A7">
<div class="white-span header p1" style="font-size:30px;"><img class="icon-cards" src="data:image/png;base64,{vaccine_logo}" alt="Fonte: Impulso">QUER SABER MAIS SOBRE A VACINAÇÃO?</div>
Expand Down