Skip to content

Commit

Permalink
Fix/ apps card (#204)
Browse files Browse the repository at this point in the history
* fix: fixed the carousel images

* feat: pagina de aplicativos criada

* fix: imagens e textos alterados nos cards

* fix: corrigindo erro nos textos de descrição dos cards da page  aplicativos

* fix: corrigindo conteudo do card de agenda

* extract common tasks aliases

* Update show.html.heex

---------

Co-authored-by: Zoey de Souza Pessanha <[email protected]>
  • Loading branch information
juanzeen and zoedsoupe authored Sep 8, 2024
1 parent 7b1baac commit e4942fd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/css/landing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
}

p {
text-wrap: nowrap;
text-wrap: wrap;
margin-top: 0.5rem;
padding: 0 1rem 1.5rem 1rem;
}
Expand Down
10 changes: 5 additions & 5 deletions lib/pescarte_web/templates/aplicativos_html/show.html.heex
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="links-landing">
<div class="links-item">
<img src="https://rrosgcmviafnxjshljoq.supabase.co/storage/v1/object/sign/static/images/landing/landing_card_noticias.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJzdGF0aWMvaW1hZ2VzL2xhbmRpbmcvbGFuZGluZ19jYXJkX25vdGljaWFzLnBuZyIsImlhdCI6MTcyNDM3Mzk1NCwiZXhwIjoyMDM5NzMzOTU0fQ.cF9b5tdo-FVUIDHh_PRpCyjl7qnhCmjTzSZgtJd2G-s&t=2024-08-23T00%3A45%3A54.250Z" />
<img src="https://rrosgcmviafnxjshljoq.supabase.co/storage/v1/object/sign/static/images/aplicativos/cota-pesca.JPG?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJzdGF0aWMvaW1hZ2VzL2FwbGljYXRpdm9zL2NvdGEtcGVzY2EuSlBHIiwiaWF0IjoxNzI1NDg2Njc4LCJleHAiOjIwNDA4NDY2Nzh9.qnK2FMY8jI2BDYVBkmi8htTe-R8QqHiZQ2uGBO45LW4&t=2024-09-04T21%3A51%3A18.675Z" />
<DesignSystem.link href="https://cota-pesca.pescarte.org.br/" class="text-sm font-semibold">
<.text size="h3" color="text-white-100">Cota-Pesca</.text>
<.text size="base" color="text-white-100">
Texto de descrição
Aplicativo para consulta de cotações diárias de pescados em geral
</.text>
<.button style="primary">
Saiba mais <Lucideicons.arrow_right class="text-white-100" />
Expand All @@ -13,14 +13,14 @@
</div>

<div class="links-item">
<img src="https://rrosgcmviafnxjshljoq.supabase.co/storage/v1/object/sign/static/images/landing/landing_card_noticias.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJzdGF0aWMvaW1hZ2VzL2xhbmRpbmcvbGFuZGluZ19jYXJkX25vdGljaWFzLnBuZyIsImlhdCI6MTcyNDM3Mzk1NCwiZXhwIjoyMDM5NzMzOTU0fQ.cF9b5tdo-FVUIDHh_PRpCyjl7qnhCmjTzSZgtJd2G-s&t=2024-08-23T00%3A45%3A54.250Z" />
<img src="https://rrosgcmviafnxjshljoq.supabase.co/storage/v1/object/sign/static/images/aplicativos/enciclopedia-pesca.JPG?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJzdGF0aWMvaW1hZ2VzL2FwbGljYXRpdm9zL2VuY2ljbG9wZWRpYS1wZXNjYS5KUEciLCJpYXQiOjE3MjU0ODY3MzAsImV4cCI6MjA0MDg0NjczMH0.9vO6oKSrMkG6tO7fG2akB8OoRIbJGj139HnwmK4JmAY&t=2024-09-04T21%3A52%3A10.712Z" />
<DesignSystem.link
href="https://pescarte-catalago-de-peixes.vercel.app/"
class="text-sm font-semibold"
>
<.text size="h3" color="text-white-100">Enciclopédia das Pescas</.text>
<.text size="h3" color="text-white-100">Enciclopédia da Pesca</.text>
<.text size="base" color="text-white-100">
Texto de descrição
Se quiser ver os nomes populares dos peixes por região, consulte este aplicativo!
</.text>
<.button style="primary">
Saiba mais <Lucideicons.arrow_right class="text-white-100" />
Expand Down
4 changes: 2 additions & 2 deletions lib/pescarte_web/templates/landing_html/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<DesignSystem.link href={~p"/agenda"} class="text-sm font-semibold">
<.text size="h3" color="text-white-100">Relatórios Públicos</.text>
<.text size="base" color="text-white-100">
Agenda Trimestral.
Agenda mensal
</.text>
<.button style="primary">
Saiba mais <Lucideicons.arrow_right class="text-white-100" />
Expand Down Expand Up @@ -98,7 +98,7 @@
</div>

<div class="links-item">
<img src="https://rrosgcmviafnxjshljoq.supabase.co/storage/v1/object/sign/static/images/landing/landing_card_pgtr.JPG?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJzdGF0aWMvaW1hZ2VzL2xhbmRpbmcvbGFuZGluZ19jYXJkX3BndHIuSlBHIiwiaWF0IjoxNzI0Mzc0OTk5LCJleHAiOjIwMzk3MzQ5OTl9.c5oxVdvtd2slsO5qguXEscJizkJkw9c09fwuZ0TcGVY&t=2024-08-23T01%3A03%3A19.718Z" />
<img src="https://rrosgcmviafnxjshljoq.supabase.co/storage/v1/object/sign/static/images/landing/landing_card_aplicativos.JPG?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJzdGF0aWMvaW1hZ2VzL2xhbmRpbmcvbGFuZGluZ19jYXJkX2FwbGljYXRpdm9zLkpQRyIsImlhdCI6MTcyNTQ4Njg0MCwiZXhwIjoyMDQwODQ2ODQwfQ.qccaqwceW3E-rTYE4w3Ploh2HBCjH-PHt6sXRUVqcGM&t=2024-09-04T21%3A54%3A00.745Z" />
<DesignSystem.link href="/aplicativos" class="text-sm font-semibold">
<.text size="h3" color="text-white-100">Aplicações</.text>
<.text size="base" color="text-white-100">
Expand Down
4 changes: 3 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ defmodule Pescarte.MixProject do
"ecto.reset": ["ecto.drop", "ecto.setup", "seed"],
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"],
"assets.build": ["cmd --cd assets node build.js"],
"assets.deploy": ["cmd --cd assets node build.js --deploy", "phx.digest"]
"assets.deploy": ["cmd --cd assets node build.js --deploy", "phx.digest"],
lint: ["compile --warning-as-errors", "clean", "format --check-formatted", "credo --strict"],
"ci.check": ["lint", "test --only unit", "test --only integration"]
]
end
end

0 comments on commit e4942fd

Please sign in to comment.