Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Notícias adicionadas ao template da página inicial
  • Loading branch information
Wooo589 authored Dec 10, 2023
1 parent 43e34e5 commit b9a7077
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions templates/inicial/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,29 +120,26 @@ <h3><strong><a style="text-decoration:none; color:inherit;" href="{% url "mais_i
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script src="{% static "js/index.js" %}"></script>

<h1 id="noticias">NOTÍCIAS:</h1>

<!-- Carrossel de notícias -->
<h1 id="noticias">NOTÍCIAS:</h1>
<section id="lista_news">
<span class="material-symbols-outlined arrow_left" id="arrow_left2">arrow_circle_left</span>
<span class="material-symbols-outlined arrow_right" id="arrow_right2">arrow_circle_right</span>

<div class="slide_news"><h4>1</h4><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></div>
<div class="slide_news"><h4>2</h4></div>
<div class="slide_news"><h4>3</h4></div>
<div class="slide_news"><h4>4</h4></div>
<div class="slide_news"><h4>5</h4></div>
<div class="slide_news"><h4>6</h4></div>
<div class="slide_news"><h4>6</h4></div>
<div class="slide_news"><h4>7</h4></div>
<div class="slide_news"><h4>8</h4></div>
<div class="slide_news"><h4>9</h4></div>
<div class="slide_news"><h4>10</h4></div>

<span class="material-symbols-outlined arrow_left" id="arrow_left2">arrow_circle_left</span>
<span class="material-symbols-outlined arrow_right" id="arrow_right2">arrow_circle_right</span>
{% for i in news_data %}
<div class="slide_news" style="padding: 0 1rem 0 1rem;">
<h4 style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size:1.2rem; padding-top: 1rem;">{{ i.0 }}</h2>
<a href="{{ i.3 }}" target="_blank" rel="noreferrer noopener" style="text-align:center;">
<img src="{{ i.1 }}" alt="Imagem da notícia" style="border-radius: 2rem; border: 0.4rem solid #2A8C4A; margin: 1rem 0 1rem 0;">
</a>
<p class="text-p" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 1rem 0 1rem 0;">{{ i.2 }}<br><br><strong>Fonte: g1</strong></p>
</div>
{% endfor %}
</section>

</main>
<footer>
<p>©2023, MedConnect.</p>
<p>Verde Pântano - Desenvolvimento de Software, 2023/2.</p>
</footer>
</body>
</html>
</html>

0 comments on commit b9a7077

Please sign in to comment.