This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<%= render HeaderComponent.new(title: "Contributions") %>
|
||||
<%# <%= render HeaderComponent.new(title: "Contributions") %>
|
||||
<%= render HeaderWithTabsComponent.new(
|
||||
# title: "Contributions",
|
||||
tabnav_partial: "shared/tabnav_contributions"
|
||||
) %>
|
||||
|
||||
<%= render MainWithTabnavComponent.new(tabnav_partial: "shared/tabnav_contributions") do %>
|
||||
<%= render MainSimpleComponent.new do %>
|
||||
<section>
|
||||
<% if @donations.any? %>
|
||||
<p class="mb-12">
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
<%= render HeaderComponent.new(title: "Contributions") %>
|
||||
<%= render HeaderWithTabsComponent.new(
|
||||
# title: "Contributions",
|
||||
tabnav_partial: "shared/tabnav_contributions"
|
||||
) %>
|
||||
|
||||
<%= render MainWithTabnavComponent.new(tabnav_partial: "shared/tabnav_contributions") do %>
|
||||
<%= render MainSimpleComponent.new do %>
|
||||
<section>
|
||||
<p class="mb-8">
|
||||
Project contributions are how we develop and run all Kosmos software and
|
||||
|
||||
@@ -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)
|
||||
) %>
|
||||
|
||||
Reference in New Issue
Block a user