-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
criando tela equipes-nucleos sem figma
- Loading branch information
Showing
9 changed files
with
214 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.equipe-grid { | ||
overflow: scroll; | ||
display: grid; | ||
gap: 2rem; | ||
grid-template-areas: | ||
"title" | ||
"links" | ||
"about" | ||
"bottom-banner"; | ||
} | ||
.title { | ||
@apply justify-center w-full; | ||
|
||
grid-area: title; | ||
} | ||
.bottom-banner { | ||
@apply w-full; | ||
|
||
height: 30rem; | ||
grid-area: bottom-banner; | ||
} | ||
.links { | ||
@apply flex flex-wrap justify-center md:mt-10; | ||
|
||
.links-item { | ||
@apply flex flex-col justify-end m-4; | ||
height: 20.875rem; | ||
width: 20.125rem; | ||
border-radius: 8px; | ||
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%); | ||
|
||
img { | ||
@apply absolute; | ||
z-index: -10; | ||
height: inherit; | ||
width: inherit; | ||
} | ||
|
||
h3 { | ||
padding-left: 1rem; | ||
} | ||
|
||
p { | ||
width: 85%; | ||
margin-top: 0.5rem; | ||
padding: 0 1rem 1.5rem 1rem; | ||
} | ||
} | ||
} | ||
.news { | ||
h1 { | ||
display: flex; | ||
justify-content: center; | ||
margin-bottom: 5rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
defmodule PescarteWeb.EquipeController do | ||
use PescarteWeb, :controller | ||
|
||
def show(conn, _params) do | ||
render(conn, :show) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
defmodule PescarteWeb.EquipeHTML do | ||
use PescarteWeb, :html | ||
|
||
embed_templates("equipe_html/*") | ||
|
||
def handle_event("dialog", _value, socket) do | ||
IO.puts("HHHHHHHHEEEEEEEEELLLLLLLLLOOOOOOOOOOOOOOOOOOOOO") | ||
{:noreply, socket} | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<main class="equipe-grid"> | ||
<div class="news"> | ||
<.text size="h1" color="text-blue-100"> | ||
Núcleos de Atuação | ||
</.text> | ||
</div> | ||
<div class="links"> | ||
<div class="links-item"> | ||
<img src={~p"/images/landing/pesquisa.png"} /> | ||
<DesignSystem.link href={~p"/equipe/norte"} class="text-sm font-semibold"> | ||
<.text size="h3" color="text-white-100">Norte</.text> | ||
<.text size="base" color="text-white-100"> | ||
Equipe Norte | ||
</.text> | ||
<.button style="primary"> | ||
Saiba mais <Lucideicons.arrow_right class="text-white-100" /> | ||
</.button> | ||
</DesignSystem.link> | ||
</div> | ||
|
||
<div class="links-item"> | ||
<img src={~p"/images/landing/pesquisa.png"} /> | ||
<DesignSystem.link href={~p"/foto"} class="text-sm font-semibold"> | ||
<.text size="h3" color="text-white-100">Sul</.text> | ||
<.text size="base" color="text-white-100"> | ||
Equipe Sul | ||
</.text> | ||
<.button style="primary"> | ||
Saiba mais <Lucideicons.arrow_right class="text-white-100" /> | ||
</.button> | ||
</DesignSystem.link> | ||
</div> | ||
|
||
<div class="links-item"> | ||
<img src={~p"/images/landing/pesquisa.png"} /> | ||
<DesignSystem.link href={~p"/foto"} class="text-sm font-semibold"> | ||
<.text size="h3" color="text-white-100">Pesquisa</.text> | ||
<.text size="base" color="text-white-100"> | ||
Equipe Pesquisa | ||
</.text> | ||
<.button style="primary"> | ||
Saiba mais <Lucideicons.arrow_right class="text-white-100" /> | ||
</.button> | ||
</DesignSystem.link> | ||
</div> | ||
|
||
<div class="links-item"> | ||
<img src={~p"/images/landing/pesquisa.png"} /> | ||
<DesignSystem.link href={~p"/foto"} class="text-sm font-semibold"> | ||
<.text size="h3" color="text-white-100">Pedagógico</.text> | ||
<.text size="base" color="text-white-100"> | ||
Equipe do Pedagógico | ||
</.text> | ||
<.button style="primary"> | ||
Saiba mais <Lucideicons.arrow_right class="text-white-100" /> | ||
</.button> | ||
</DesignSystem.link> | ||
</div> | ||
|
||
<div class="links-item"> | ||
<img src={~p"/images/landing/pesquisa.png"} /> | ||
<DesignSystem.link href={~p"/foto"} class="text-sm font-semibold"> | ||
<.text size="h3" color="text-white-100">Criativo</.text> | ||
<.text size="base" color="text-white-100"> | ||
Equipe Criativo | ||
</.text> | ||
<.button style="primary"> | ||
Saiba mais <Lucideicons.arrow_right class="text-white-100" /> | ||
</.button> | ||
</DesignSystem.link> | ||
</div> | ||
|
||
<div class="links-item"> | ||
<img src={~p"/images/landing/pesquisa.png"} /> | ||
<DesignSystem.link href={~p"/foto"} class="text-sm font-semibold"> | ||
<.text size="h3" color="text-white-100">Social</.text> | ||
<.text size="base" color="text-white-100"> | ||
Equipe | ||
</.text> | ||
<.button style="primary"> | ||
Saiba mais <Lucideicons.arrow_right class="text-white-100" /> | ||
</.button> | ||
</DesignSystem.link> | ||
</div> | ||
|
||
<div class="links-item"> | ||
<img src={~p"/images/landing/pesquisa.png"} /> | ||
<DesignSystem.link href={~p"/foto"} class="text-sm font-semibold"> | ||
<.text size="h3" color="text-white-100">Administrativo</.text> | ||
<.text size="base" color="text-white-100"> | ||
Equipe Admin | ||
</.text> | ||
<.button style="primary"> | ||
Saiba mais <Lucideicons.arrow_right class="text-white-100" /> | ||
</.button> | ||
</DesignSystem.link> | ||
</div> | ||
|
||
<div class="links-item"> | ||
<img src={~p"/images/landing/pesquisa.png"} /> | ||
<DesignSystem.link href={~p"/foto"} class="text-sm font-semibold"> | ||
<.text size="h3" color="text-white-100">Agenda Ambiental</.text> | ||
<.text size="base" color="text-white-100"> | ||
Equipe Ambiental | ||
</.text> | ||
<.button style="primary"> | ||
Saiba mais <Lucideicons.arrow_right class="text-white-100" /> | ||
</.button> | ||
</DesignSystem.link> | ||
</div> | ||
</div> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters