WIP contribution nav
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Râu Cao
2023-06-12 14:32:59 +02:00
parent 8eb5f093a4
commit 462dd24da3
7 changed files with 62 additions and 16 deletions

View File

@@ -1,12 +1,8 @@
<div class="border-b border-gray-200">
<nav class="-mb-px flex" aria-label="Tabs">
<%= render TabnavLinkComponent.new(
name: "Donations", path: contributions_donations_path,
active: current_page?(contributions_donations_path)
) %>
<%= render TabnavLinkComponent.new(
name: "Projects", path: contributions_projects_path,
active: current_page?(contributions_projects_path)
) %>
</nav>
</div>
<%= render HeaderTabLinkComponent.new(
name: "Donations", path: contributions_donations_path,
active: current_page?(contributions_donations_path)
) %>
<%= render HeaderTabLinkComponent.new(
name: "Projects", path: contributions_projects_path,
active: current_page?(contributions_projects_path)
) %>