Skip to content

Commit

Permalink
Merge branch 'main' into feat/livros
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe authored Sep 9, 2024
2 parents a645c26 + 6f92986 commit 0d27e75
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 16 deletions.
3 changes: 2 additions & 1 deletion assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ footer {

@import "./agenda.scss";
@import "./contact.scss";
@import "./boletins.scss";

// Com autenticação
@import "./pages/app/researcher/profile.scss";
Expand All @@ -185,4 +186,4 @@ footer {
@import "./pages/app/researcher/pesquisador";

// Páginas de Erros
@import "./errors/404.scss";
@import "./errors/404.scss";
5 changes: 5 additions & 0 deletions assets/css/boletins.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.boletim-wrapper {
.links-item {
width: 15.5rem;
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule PescarteWeb.BoletinController do
defmodule PescarteWeb.BoletinsController do
use PescarteWeb, :controller

def show(conn, _params) do
Expand Down
2 changes: 1 addition & 1 deletion lib/pescarte_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ defmodule PescarteWeb.Router do
end

scope "/publicacoes" do
get "/boletin", BoletinController, :show
get "/livros", LivrosController, :show
get "/boletins", BoletinsController, :show
end

scope "/contato" do
Expand Down
5 changes: 0 additions & 5 deletions lib/pescarte_web/templates/boletin_html.ex

This file was deleted.

5 changes: 5 additions & 0 deletions lib/pescarte_web/templates/boletins_html.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
defmodule PescarteWeb.BoletinsHTML do
use PescarteWeb, :html

embed_templates("boletins_html/*")
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<main class="journal-wrapper">
<main class="boletim-wrapper">
<div class="publications">
<div class="banner-container">
<img src={~p"/images/landing/bg_fill.png"} />
Expand Down Expand Up @@ -99,8 +99,8 @@
</DesignSystem.link>
</div>
<div class="links-item">
<img src={~p"/images/noticias/TECNOLOGIA_SOCIAL/capa_noti1.JPG"} />
<DesignSystem.link href={~p"/publicacoes/boletin"} class="text-sm font-semibold">
<img src="https://rrosgcmviafnxjshljoq.supabase.co/storage/v1/object/sign/static/images/noticias/tecnologia social/capa.JPG?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJzdGF0aWMvaW1hZ2VzL25vdGljaWFzL3RlY25vbG9naWEgc29jaWFsL2NhcGEuSlBHIiwiaWF0IjoxNzI0NDE4NDQzLCJleHAiOjIwMzk3Nzg0NDN9.i6DpnsFFdRpOuEy5Kqyu0h_S7ziJt1p1qtmD94YkB6k&t=2024-08-23T13%3A07%3A23.299Z" />
<DesignSystem.link href={~p"/publicacoes/boletins"} class="text-sm font-semibold">
<.text size="h3" color="text-white-100">Boletim Pescarte 8</.text>
<.text size="base" color="text-white-100">
<b>Edição 8</b>: Julho a Dezembro de 2024
Expand Down
5 changes: 1 addition & 4 deletions lib/pescarte_web/templates/equipes_html/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,7 @@
<div class="membros">
<div :for={colaborador <- linha_pesquisa["colaboradores"]} class="membro-equipe">
<div class="membro-circle">
<img
:if={colaborador["imagem"] != ""}
src={colaborador["imagem"]}
/>
<img :if={colaborador["imagem"] != ""} src={colaborador["imagem"]} />
</div>
<div class="membro-description">
<div class="membro-name">
Expand Down
2 changes: 1 addition & 1 deletion lib/pescarte_web/templates/journal_html/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="links-landing">
<div class="links-item">
<img src={~p"/images/journal/boletin/DSC05126.JPG"} />
<DesignSystem.link href={~p"/publicacoes/boletin"} class="text-sm font-semibold">
<DesignSystem.link href={~p"/publicacoes/boletins"} class="text-sm font-semibold">
<.text size="h3" color="text-white-100">Boletins Pescarte</.text>
<.button style="primary">
Saiba mais <Lucideicons.arrow_right class="text-white-100" />
Expand Down

0 comments on commit 0d27e75

Please sign in to comment.