Skip to content
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: 1 addition & 1 deletion app/views/companies/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="relative z-10 max-w-7xl mx-auto">
<div class="inline-flex items-center gap-2 bg-white/15 border border-white/20 rounded-full px-4 py-1.5 text-white/80 text-xs font-bold uppercase tracking-widest mb-4">
<i class="fa-brands fa-gem text-xs"></i>
Built with Ruby
<%= t('footer.built_with_ruby') %>
</div>
<h1 class="text-white font-extrabold text-4xl lg:text-5xl mb-3"><%= t('companies.index.title') %></h1>
<p class="text-white/75 text-lg max-w-2xl mb-6"><%= t('companies.index.subtitle') %></p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/companies/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="min-h-screen py-14 px-4" style="background: linear-gradient(135deg, #FDF6F0 0%, #fff 100%);">
<div class="min-h-screen py-14 px-4">
<div class="max-w-2xl mx-auto">

<%# Back link %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/confirmations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<div class="pt-2">
<%= f.button :button, t('devise.views.confirmations.new.submit_button'),
class: 'w-full arc-btn-ruby justify-center text-base py-3.5 cursor-pointer' %>
class: 'w-full justify-center text-base py-3.5 cursor-pointer' %>
</div>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/passwords/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<div class="pt-2">
<%= f.button :button, t('devise.views.passwords.new.submit_button'),
class: 'w-full arc-btn-ruby justify-center text-base py-3.5 cursor-pointer' %>
class: 'w-full justify-center text-base py-3.5 cursor-pointer' %>
</div>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/registrations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

<div class="pt-2">
<%= f.button :button, t('devise.views.registrations.new.submit_button'),
class: 'w-full arc-btn-ruby justify-center text-base py-3.5 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed',
class: 'w-full justify-center text-base py-3.5 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed',
disabled: true %>
</div>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/sessions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

<div class="pt-2">
<%= f.button :button, t('devise.views.sessions.new.submit_button'),
class: 'w-full arc-btn-ruby justify-center text-base py-3.5 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed',
class: 'w-full justify-center text-base py-3.5 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed',
disabled: true %>
</div>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/unlocks/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<div class="pt-2">
<%= f.button :button, t("devise.unlocks.resend_instructions"),
class: 'w-full arc-btn-ruby justify-center text-base py-3.5 cursor-pointer' %>
class: 'w-full justify-center text-base py-3.5 cursor-pointer' %>
</div>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/landing/code_of_conduct.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
<%= t('code_of_conduct.cta_desc', default: 'Reach out to our organizers privately. Reports are kept confidential.') %>
</p>
<div class="flex flex-wrap justify-center gap-4 pt-2">
<%= link_to "mailto:organisers@rubycommunity.africa", class: "btn btn-error gap-2 shadow-md hover:shadow-lg transition-all" do %>
<%= mail_to "mailto:organisers@rubycommunity.africa",data: { turbo: false }, class: "btn btn-error gap-2 shadow-md hover:shadow-lg transition-all" do %>
<i class="fa-solid fa-envelope text-sm"></i>
<%= t('common.actions.contact_organizers', default: 'Contact Organizers') %>
<% end %>
Expand Down
7 changes: 4 additions & 3 deletions app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@
class: "inline-block text-base-content/70 hover:text-red-500 dark:hover:text-red-400 transition-colors duration-200" %>
</li>
<li>
<%= link_to "Built with Ruby", built_with_ruby_path,
<%= link_to t('footer.built_with_ruby'), built_with_ruby_path,
class: "inline-block text-base-content/70 hover:text-red-500 dark:hover:text-red-400 transition-colors duration-200" %>
</li>
<li>
<%= link_to t('footer.sponsor'), 'mailto:organisers@rubycommunity.africa',
<!-- TODO: Replace with sponsor page/ contact page-->
<li style="display: none;">
<%= mail_to t('footer.sponsor'), 'mailto:organisers@rubycommunity.africa',
class: "inline-block text-base-content/70 hover:text-red-500 dark:hover:text-red-400 transition-colors duration-200" %>
</li>
<% if FeatureFlag.find_by(name: 'members').try(:enabled) %>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ en:
resources: "Resources"
home: "Home"
about: "About"
built_with_ruby: "Built with Ruby"
about_arc: "About ARC"
events: "Events"
code_of_conduct: "Code of Conduct"
Expand Down Expand Up @@ -379,6 +380,7 @@ en:
sponsor: "Sponsor"
members: "Members"
about: "About"
built_with_ruby: "Built with Ruby"
contact_us: "Contact Us"
code_of_conduct: "Code of conduct"
connect: "Connect"
Expand Down
2 changes: 2 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ fr:
resources: "Ressources"
home: "Accueil"
about: "À propos"
built_with_ruby: "Développé avec Ruby"
about_arc: "À propos d'ARC"
events: "Événements"
code_of_conduct: "Code de Conduite"
Expand Down Expand Up @@ -377,6 +378,7 @@ fr:
sponsor: "Sponsor"
members: "Membres"
about: "À propos"
built_with_ruby: "Développé avec Ruby"
contact_us: "Nous contacter"
code_of_conduct: "Code de conduite"
connect: "Se connecter"
Expand Down
2 changes: 2 additions & 0 deletions config/locales/sw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ sw:
resources: "Miradi"
home: "Nyumbani"
about: "Kuhusu"
built_with_ruby: "Imetengenezwe kwa Ruby"
about_arc: "Kuhusu ARC"
events: "Matukio"
code_of_conduct: "Kanuni za maadili"
Expand Down Expand Up @@ -375,6 +376,7 @@ sw:
sponsor: "Mfadhili"
members: "Wanachama"
about: "Kuhusu"
built_with_ruby: "Imetengenezwe kwa Ruby"
contact_us: "Wasiliana Nasi"
code_of_conduct: "Kanuni za maadili"
connect: "Unganisha"
Expand Down
Loading