hubfeenix.fi/app/views/layouts/_header.haml

37 lines
1.8 KiB
Plaintext
Raw Normal View History

2022-11-29 00:13:46 +01:00
%header.bg-white{"aria-label" => "Site Header"}
.mx-auto.max-w-screen-xl.px-4.sm:px-6.lg:px-8
.flex.h-16.items-center.justify-between
2022-12-07 14:01:58 +01:00
.flex-1.md:flex.md:items-center.md:gap-6
2022-11-29 00:13:46 +01:00
%a.block.text-teal-600{:href => "/"}
%span.sr-only Home
2022-12-07 14:01:58 +01:00
= image_tag("feenix_lintu" , class: "h-20")
2022-11-29 00:13:46 +01:00
.md:flex.md:items-center.md:gap-12
%nav.hidden.md:block{"aria-label" => "Site Nav"}
2022-12-07 14:01:58 +01:00
%ul.flex.items-center.gap-6
2022-11-29 00:13:46 +01:00
%li
2022-12-07 14:01:58 +01:00
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => "/retreats"}
Retreats
2022-11-29 00:13:46 +01:00
%li
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => "/studios"}
Studios
%li
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => "/makerspace"}
Makerspace
%li
2022-12-07 14:01:58 +01:00
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => "/coworking"}
Coworking
2022-11-29 00:13:46 +01:00
%li
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => "/"}
2022-12-07 14:01:58 +01:00
About
2022-11-29 00:13:46 +01:00
.flex.items-center.gap-4
2022-12-07 14:01:58 +01:00
.sm:flex.sm:gap-4
= link_to "facebook.com" do
= image_tag("fb" , class: "h-10 rounded-md")
2022-11-29 00:13:46 +01:00
.sm:flex.sm:gap-4
%a.rounded-md.bg-teal-600.px-5.text-sm.font-medium.text-white.shadow{:class => "py-2.5", :href => "/"}
Login
.block.md:hidden
%button.rounded.bg-gray-100.p-2.text-gray-600.transition{:class => "hover:text-gray-600/75"}
%svg.h-5.w-5{:fill => "none", :stroke => "currentColor", "stroke-width" => "2", :viewbox => "0 0 24 24", :xmlns => "http://www.w3.org/2000/svg"}
%path{:d => "M4 6h16M4 12h16M4 18h16", "stroke-linecap" => "round", "stroke-linejoin" => "round"}