Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Feat/equipes sedes" #166

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ export ERL_AFLAGS="-kernel shell_history enabled"

export LANG=en_US.UTF-8

source .env.dev

use flake

# Install mix dependencies
Expand Down
46 changes: 0 additions & 46 deletions assets/css/landing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -314,50 +314,4 @@
}
}
}
}

.equipes-wrapper {
@apply flex;
flex-direction: column;
margin-top: 5rem;

.nossas-sedes-wrapper {
@apply flex;
flex-direction: column;
align-items: center;
gap: 4.5rem;

.nossas-sedes-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2.5rem;
padding: 0 7.188rem;
margin-bottom: 5rem;

.sede-detail {
@apply flex items-start gap-2.5;
gap: 0.625rem;

svg {
@apply text-black-80;
margin-top: 0.3rem;
width: 14px;
height: 14px;
}

.sede-text {
@apply flex;
flex-direction: column;

>h5 {
line-height: 1.5rem;
}

>h5:nth-child(1) {
font-weight: 700;
}
}
}
}
}
}
7 changes: 0 additions & 7 deletions lib/pescarte_web/controllers/equipes_controller.ex

This file was deleted.

17 changes: 7 additions & 10 deletions lib/pescarte_web/design_system/navbar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule PescarteWeb.DesignSystem.Navbar do
<.navlink label="Sobre" />
</DesignSystem.link>

<.navlink label="Equipes" navigate={~p"/equipes"} />
<.navlink label="Equipes" />
</ul>
<PescarteWeb.DesignSystem.link navigate={~p"/acessar"} styless>
<.button style="primary" class="login-button">
Expand All @@ -33,18 +33,15 @@ defmodule PescarteWeb.DesignSystem.Navbar do
"""
end

attr(:label, :string, required: true)
attr(:navigate, :string, default: "/")
attr :label, :string, required: true

defp navlink(assigns) do
~H"""
<DesignSystem.link navigate={@navigate}>
<li class="nav-link" aria-expanded="false">
<.text size="h4" color="text-blue-100" class="flex" style="gap: 8px;">
<%= @label %>
</.text>
</li>
</DesignSystem.link>
<li class="nav-link" aria-expanded="false">
<.text size="h4" color="text-blue-100" class="flex" style="gap: 8px;">
<%= @label %>
</.text>
</li>
"""
end
end
1 change: 0 additions & 1 deletion lib/pescarte_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ defmodule PescarteWeb.Router do
pipe_through :browser

get "/", LandingController, :show
get "/equipes", EquipesController, :show
get "/cooperativas", CooperativasController, :show
get "/sobre", AboutUsController, :show
get "/publicacoes", JournalController, :show
Expand Down
9 changes: 0 additions & 9 deletions lib/pescarte_web/templates/equipes_html.ex

This file was deleted.

88 changes: 0 additions & 88 deletions lib/pescarte_web/templates/equipes_html/show.html.heex

This file was deleted.

Loading