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

Add 'Book' link to header and footer menus #355

Merged
merged 3 commits into from
Feb 6, 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: 2 additions & 0 deletions data/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ about_us:
stay_up_to_date:
- name: nav.blog
url: /blog
- name: nav.book
url: https://link.springer.com/book/10.1007/978-3-031-50784-7
- name: nav.press
url: /press
- name: nav.academy
Expand Down
1 change: 1 addition & 0 deletions locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ en:
academy: Academy
association: Association
blog: Blog
book: Book
close_menu: Close menu
code: Code
community: Community
Expand Down
1 change: 1 addition & 0 deletions source/partials/header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<%= link_to t('nav.first-steps'), "#{t(:path)}/first-steps", class: "inline-block py-4 w-full md:w-auto" %>
<%= link_to t('nav.features'), "#{t(:path)}/features", class: "inline-block py-4 w-full md:w-auto" %>
<%= link_to t('nav.community'), "#{t(:path)}/community", class: "inline-block py-4 w-full md:w-auto" %>
<%= link_to t('nav.book'), "https://link.springer.com/book/10.1007/978-3-031-50784-7", target: "_blank", rel: "noopener noreferrer", class: "inline-block py-4 w-full md:w-auto" %>
<%= link_to t('nav.about'), "#{t(:path)}/about", class: "inline-block py-4 w-full md:w-auto" %>
</div>
<%= link_to t('nav.donate'), "http://donate.decidim.org/", target: "_blank", rel: "noopener noreferrer", class: "button inline-block text-center py-4 w-full md:w-auto" %>
Expand Down
Loading