Skip to content

Commit

Permalink
Update footer message and change visited link background color for be…
Browse files Browse the repository at this point in the history
…tter visibility
  • Loading branch information
RoodneyMoraes committed Nov 17, 2024
1 parent f9ccf37 commit f5ddac4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h5></h5>
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 text-center">
<h4 class="navbar-footer">Sucesso no dia do exame! 🌟</h4>
<h4 class="navbar-footer">Estude Bem e Arrase no Dia do Exame! 🌟</h4>
<p>Espero que esses simulados e o plano de estudos sejam ferramentas valiosas na sua preparação
como foi para mim. Lembre-se de que a dedicação e a perseverança são essenciais para
alcançar seus objetivos.🍀📚</p>
Expand Down
4 changes: 2 additions & 2 deletions src/js/custom-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ async function carregarPagina($json, $localStorage) {
elemento.target = "_blank";
elemento.textContent = item.title;
if (foiVisitado(item.link)) {
elemento.style.backgroundColor = "lightgreen";
elemento.style.backgroundColor = "#add8e6";
}
elemento.addEventListener('click', (e) => {
e.target.style.backgroundColor = "lightgreen";
e.target.style.backgroundColor = "#add8e6";
marcarComoVisitado(item.link);

// Adiciona o rastreamento do Google Analytics
Expand Down

0 comments on commit f5ddac4

Please sign in to comment.