remove the hub

This commit is contained in:
2023-01-11 17:54:27 +02:00
parent df8013bd7d
commit 9de8bddcf5
11 changed files with 27 additions and 1318 deletions

View File

@ -3,45 +3,29 @@
.lg:flex.lg:items-start.lg:gap-8
%a.inline-flex.items-center{"aria-label" => "Hub Feenix", :href => "/", :title => "Hub Feenix"}
= image_tag("feenix_lintu" , class: "h-20")
.grid.grid-cols-2.gap-8.mt-8.lg:mt-0.lg:grid-cols-5.lg:gap-y-16
.col-span-2
%div
%h2.text-2xl.font-bold.text-gray-900
Get the latest news!
%p.mt-4.text-gray-500
Stay up to date without being spammed. Just big events and major news
.col-span-2.lg:col-span-3.lg:flex.lg:items-end
%form.w-full
%label.sr-only{:for => "UserEmail"} Email
.p-2.border.border-gray-100.focus-within:ring.sm:flex.sm:items-center.sm:gap-4
%input#UserEmail.w-full.border-none.focus:border-transparent.focus:ring-transparent.sm:text-sm{:placeholder => "jaakko@iki.fi", :type => "email"}/
%button.w-full.px-6.py-3.mt-1.text-sm.font-bold.tracking-wide.text-white.uppercase.transition-none.bg-teal-500.hover:bg-teal-600.sm:mt-0.sm:w-auto.sm:flex-shrink-0
Sign Up
.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
%p.font-medium.text-gray-900 Main
%p.font-medium.text-gray-900 Stories
%nav.mt-6{"aria-label" => "Footer Navigation - Services"}
%ul.space-y-4.text-sm
-[:restreats , :studios , :makerspace , :coworking].each do |main|
-[:stories].each do |main|
%li
%a.text-gray-700.transition.hover:opacity-75{:href => "/#{main}"}
=main.capitalize
.col-span-2.sm:col-span-1
%p.font-medium.text-gray-900 Hub Feenix
%p.font-medium.text-gray-900 Info
%nav.mt-6{"aria-label" => "Footer Navigation - Hub Feenix"}
%ul.space-y-4.text-sm
%li
%a.text-gray-700.transition.hover:opacity-75{:href => "/about"}
About
.col-span-2.sm:col-span-1
%p.font-medium.text-gray-900 Event Spaces
%p.font-medium.text-gray-900 People
%nav.mt-6{"aria-label" => "Footer Navigation - Hub Feenix"}
%ul.space-y-4.text-sm
%li
%a.text-gray-700.transition.hover:opacity-75{:href => "/retreats"}
Retreats
%li
%a.text-gray-700.transition.hover:opacity-75{:href => "/coworking"}
Coworking
%a.text-gray-700.transition.hover:opacity-75{:href => "/members"}
People
.col-span-2.sm:col-span-1
%p.font-medium.text-gray-900 News
%nav.mt-6{"aria-label" => "Footer Navigation - Downloads"}

View File

@ -4,7 +4,7 @@
= image_tag("feenix_lintu" , class: "h-20")
%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
- [:retreats , :studios , :makerspace , :coworking, :about].each do |link|
- [:volunteers , :stories , :info , :arriving, :about].each do |link|
%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
%li

View File

@ -11,7 +11,7 @@
%path{:d => "M19.7,4.3c-0.4-0.4-1-0.4-1.4,0L12,10.6L5.7,4.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l6.3,6.3l-6.3,6.3 c-0.4,0.4-0.4,1,0,1.4C4.5,19.9,4.7,20,5,20s0.5-0.1,0.7-0.3l6.3-6.3l6.3,6.3c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3 c0.4-0.4,0.4-1,0-1.4L13.4,12l6.3-6.3C20.1,5.3,20.1,4.7,19.7,4.3z", :fill => "currentColor"}
%nav
%ul.space-y-6.px-20
- [:retreats , :studios , :makerspace , :coworking, :about].each do |link|
- [:volunteers , :stories , :info , :arriving, :about].each do |link|
%li
%a.font-medium.tracking-wide.text-xl{ :href => "/#{link}" , :title => link.capitalize}= link.capitalize
:javascript

View File

@ -2,7 +2,7 @@
%html
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%title Hubfeenix
%title Hubfeenix Volunteers
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
= csrf_meta_tags
= csp_meta_tag