WIP Rename "projects" page, make content editable
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-05-28 18:42:10 +04:00
parent 315cf4dd9f
commit 6713665a61
6 changed files with 70 additions and 61 deletions

View File

@@ -1,12 +1,14 @@
<div class="border-b border-gray-200">
<nav class="-mb-px flex" aria-label="Tabs">
<%= render TabnavLinkComponent.new(
name: "Donations", path: contributions_donations_path,
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)
name: editable_content_for("contributions/other", "title", default: "Other"),
path: contributions_other_path,
active: current_page?(contributions_other_path)
) %>
</nav>
</div>