Skip to content

Commit

Permalink
criando a pagina de noticias responsiva
Browse files Browse the repository at this point in the history
  • Loading branch information
Annabell committed Sep 13, 2024
1 parent fa924fa commit 7bfce47
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ footer {
// Sem autenticação
@import "./pages/login.scss";
@import "./aboutus.scss";
@import "./noticias.scss";

@import "./agenda.scss";
@import "./contact.scss";
Expand Down
6 changes: 6 additions & 0 deletions assets/css/noticias.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.noticias-grid {
max-width: 100vw !important;
div {
max-width: 100vw;
}
}
35 changes: 35 additions & 0 deletions lib/pescarte_web/templates/article_html/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,41 @@
</DesignSystem.link>
</td>
</tr>
<tr>
<td></td>
<td>2024</td>
<td>
<DesignSystem.link href="" class="text-sm font-semibold" target-blank>
Leia aqui
</DesignSystem.link>
</td>
</tr>
<tr>
<td></td>
<td>2024</td>
<td>
<DesignSystem.link href="" class="text-sm font-semibold" target-blank>
Leia aqui
</DesignSystem.link>
</td>
</tr>
<tr>
<td>
UM OLHAR ESTATÍSTICO SOBRE A PESCA: A EXPERIÊNCIA DE
APLICAÇÃO DE CENSO EM COMUNIDADES PESQUEIRAS DO LITORAL FLUMINENSE".
</td>
<td>2022</td>
<td>
<DesignSystem.link
href="https://www.even3.com.br/anais/xc22021/437072-um-olhar-estatistico-sobre-a-pesca--a-experiencia-de-aplicacao-de-censo-em-comunidades-pesqueiras-do-litoral-flum/"
class="text-sm font-semibold"
target-blank
>
Leia aqui
</DesignSystem.link>
</td>
</tr>

<tr>
<td>Atafona: records of a world in ruins</td>
<td>2023</td>
Expand Down
2 changes: 1 addition & 1 deletion lib/pescarte_web/templates/noticias_html/show.html.heex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<main class="landing-grid">
<main class="noticias-grid">
<.flash :if={@error_message} id="login-error" kind={:error}>
<%= @error_message %>
</.flash>
Expand Down

0 comments on commit 7bfce47

Please sign in to comment.