BikeBikeBike/app/views/shared/_navbar.html.haml
Godwin a6002d6c9a Development (#251)
* Fixed fonts

* Fixed assets

* Fixed logo in emails

* Switched to immediate email delivery

* Fixed prod emails and added deployment tasks

* Fixed deployments

* Updated README

* Added Bike Collectives Core to README

* Fixed issue with map loading

* Fixed issue with map loading

* Added map JSON data to assets precompilation

* Fixed error sending to conference administrators

* Let error report signature wrap

* Fixed backtrace in error reports

* Fixed backtrace in error reports

* Moved pronoun heading to make it more obvoius

I moved the "Pronoun" heading directly above the input field. It turned out that a lot of users were entering "He
 or "She" in the name field, I believe that was because of the placement of the "Pronoun" heading. I also needed to remove the optional warning but I'm hoping that won't cause problems.

* Added an error message when no email address is used on login

* Fixed select guest table

* Added house rules to housing admin and review

* Edit workshop locale warning

* Fixed workshop translation saving + ordered guests
2017-08-12 11:25:59 -07:00

25 lines
1.0 KiB
Plaintext

%nav
#main-nav
= row(class: 'inner-nav') do
= columns(medium: 3) do
- protect do
= link_to home_path, class: :logo do
= svg 'logo', (_!'Bike Bike')
= svg 'logo-text', (_!'Bike Bike')
= off_screen _!'Bike Bike'
= columns(medium: 6, class: 'nav') do
- protect do
= nav_link :about
= nav_link :policy
= nav_link :conferences
= columns(medium: 3, class: 'locale-nav') do
- protect do
%ul.locales
- @alt_lang_urls.each do |locale, url|
%li{class: locale == I18n.locale.to_s ? 'current' : nil}
- locale_translation = language_name(locale, true)
- translation_text = (_'translate.content.change_locale', "Read in #{locale_translation}", vars: {language: locale_translation}, locale: locale)
%a{href: url, lang: locale, title: translation_text}
%span{aria: {hidden: :true}}=_!locale
= off_screen translation_text