add more page suggestions

This commit is contained in:
Torsten 2023-01-19 00:22:07 +02:00
parent 4f0fb3d105
commit 21b9af3b13
2 changed files with 21 additions and 7 deletions

View File

@ -5,17 +5,28 @@
= image_tag("feenix_lintu.webp" , class: "h-20") = image_tag("feenix_lintu.webp" , class: "h-20")
.w-full.grid.grid-cols-2.gap-8.mt-8.lg:mt-0.lg:grid-cols-5.lg:gap-y-16 .w-full.grid.grid-cols-2.gap-8.mt-8.lg:mt-0.lg:grid-cols-5.lg:gap-y-16
.col-span-2.sm:col-span-1 .col-span-2.sm:col-span-1
%p.font-medium.text-gray-900 Stories %p.font-medium.text-gray-900 Area
%nav.mt-6{"aria-label" => "Footer Navigation - Services"} %nav.mt-6{"aria-label" => "Footer Navigation - Services"}
%ul.space-y-4.text-sm %ul.space-y-4.text-sm
-[:stories].each do |main| %li
%li %a.text-gray-700.transition.hover:opacity-75{:href => "/local"}
%a.text-gray-700.transition.hover:opacity-75{:href => "/#{main}"} Local Area
=main.capitalize %li
%a.text-gray-700.transition.hover:opacity-75{:href => "/helsinki"}
Helsinki & Turkku
%li
%a.text-gray-700.transition.hover:opacity-75{:href => "/other_sites"}
Other Sites
.col-span-2.sm:col-span-1 .col-span-2.sm:col-span-1
%p.font-medium.text-gray-900 Info %p.font-medium.text-gray-900 Information
%nav.mt-6{"aria-label" => "Footer Navigation - Hub Feenix"} %nav.mt-6{"aria-label" => "Footer Navigation - Hub Feenix"}
%ul.space-y-4.text-sm %ul.space-y-4.text-sm
%li
%a.text-gray-700.transition.hover:opacity-75{:href => "/info"}
Info
%li
%a.text-gray-700.transition.hover:opacity-75{:href => "/arriving"}
Arriving
%li %li
%a.text-gray-700.transition.hover:opacity-75{:href => "/about"} %a.text-gray-700.transition.hover:opacity-75{:href => "/about"}
About About
@ -26,6 +37,9 @@
%li %li
%a.text-gray-700.transition.hover:opacity-75{:href => "/members"} %a.text-gray-700.transition.hover:opacity-75{:href => "/members"}
Volunteers Volunteers
%li
%a.text-gray-700.transition.hover:opacity-75{:href => "/stories"}
Stories
.col-span-2.sm:col-span-1 .col-span-2.sm:col-span-1
%p.font-medium.text-gray-900 News %p.font-medium.text-gray-900 News
%nav.mt-6{"aria-label" => "Footer Navigation - Downloads"} %nav.mt-6{"aria-label" => "Footer Navigation - Downloads"}

View File

@ -5,7 +5,7 @@
%span.ml-2.text-xl.font-bold.tracking-wide.text-gray-800.uppercase Hub Feenix %span.ml-2.text-xl.font-bold.tracking-wide.text-gray-800.uppercase Hub Feenix
%ul.flex.items-center.hidden.space-x-8.lg:flex %ul.flex.items-center.hidden.space-x-8.lg:flex
%li %li
%a.font-medium.tracking-wide.text-gray-700.transition-colors.duration-400.hover:text-cyan-800{"aria-label" => "Our product", :href => "/members", :title => "People"} People %a.font-medium.tracking-wide.text-gray-700.transition-colors.duration-400.hover:text-cyan-800{"aria-label" => "Our product", :href => "/members", :title => "Volunteers"} Volunteers
- [ :stories , :info , :arriving, :about].each do |link| - [ :stories , :info , :arriving, :about].each do |link|
%li %li
%a.font-medium.tracking-wide.text-gray-700.transition-colors.duration-400.hover:text-cyan-800{"aria-label" => "Our product", :href => "/#{link}", :title => link.capitalize}= link.capitalize %a.font-medium.tracking-wide.text-gray-700.transition-colors.duration-400.hover:text-cyan-800{"aria-label" => "Our product", :href => "/#{link}", :title => link.capitalize}= link.capitalize