|
| 1 | +<header class="my-6 md:my-12 flex flex-wrap md:flex-nowrap justify-between"> |
| 2 | + <div class="flex items-center grow w-full md:w-fit justify-center md:justify-start"> |
| 3 | + <%= inline_svg 'logo.svg', class: 'fill-current w-10 h-10 md:w-12 md:h-12', alt: t("logo_alt") %> |
| 4 | + <nav class="text-logo-green ml-3 font-bold text-2xl tracking-tight flex items-center"> |
| 5 | + <span> |
| 6 | + <%= link_to "CSA", "/", class: "font-bold #{"no-underline" unless I18n.locale == :en} decoration-2 hover:underline" %> |
| 7 | + </span> |
| 8 | + <span class="font-extralight text-base px-1 md:px-2"> |
| 9 | + / |
| 10 | + </span> |
| 11 | + <span> |
| 12 | + <%= link_to "ACP", "/acp", class: "font-bold #{"no-underline" unless I18n.locale == :fr} decoration-2 hover:underline" %> |
| 13 | + </span> |
| 14 | + <span class="font-extralight text-base px-1 md:px-2"> |
| 15 | + / |
| 16 | + </span> |
| 17 | + <span> |
| 18 | + <%= link_to "Solawi", "/solawi", class: "font-bold #{"no-underline" unless I18n.locale == :de} decoration-2 hover:underline" %> |
| 19 | + </span> |
| 20 | + <span class="ml-3"> |
| 21 | + Admin |
| 22 | + </span> |
| 23 | + </nav> |
| 24 | + </div> |
| 25 | + |
| 26 | + <div class="flex items-center gap-4 w-full md:text-base md:w-fit mt-6 md:mt-0 justify-center md:justify-end"> |
| 27 | + <%= link_to t('header.features'), '#features', class: 'text-gray-800 text-lg font-medium' %> |
| 28 | + <%= link_to t('header.demo'), '#contact', class: 'text-gray-800 text-lg font-medium' %> |
| 29 | + <%= link_to t('header.about'), '#about', class: 'text-gray-800 text-lg font-medium' %> |
| 30 | + </div> |
| 31 | + |
| 32 | + <div class="flex flex-col items-center md:items-end w-full md:w-fit mt-6 md:mt-0 md:ml-16 justify-center md:justify-end"> |
| 33 | + <%= link_to (inline_svg('envelope.svg', class: 'w-5 h-5 md:order-2 mr-2 md:mr-0 md:ml-3 mt-0.5', alt: t('email')) + content_tag(:strong, data.site.contact.email, class: 'font-semibold md:order-1')).html_safe, data.site.contact.email_link, class: 'flex items-center no-underline text-gray-800', title: t('email') %> |
| 34 | + <%= link_to (inline_svg('phone.svg', class: 'w-5 h-5 md:order-2 mr-2 md:mr-0 md:ml-3', alt: t('phone')) + content_tag(:strong, data.site.contact.phone, class: 'font-semibold md:order-1')).html_safe, data.site.contact.phone_link, class: 'mt-0.5 flex items-center no-underline text-gray-800', title: t('phone') %> |
| 35 | + </div> |
| 36 | +</header |
0 commit comments