diff --git a/app/views/layouts/_footer.haml b/app/views/layouts/_footer.haml index e0f0477..15c1035 100644 --- a/app/views/layouts/_footer.haml +++ b/app/views/layouts/_footer.haml @@ -2,7 +2,7 @@ .max-w-screen-xl.px-4.py-16.mx-auto.sm:px-6.lg:px-8 .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") + = image_tag("feenix_lintu.webp" , 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 diff --git a/app/views/layouts/_header.haml b/app/views/layouts/_header.haml index f882c6b..0fcce2b 100644 --- a/app/views/layouts/_header.haml +++ b/app/views/layouts/_header.haml @@ -1,7 +1,7 @@ %header.px-4.py-5.mx-auto.sm:max-w-xl.md:max-w-full.lg:max-w-screen-xl.md:px-24.lg:px-8 .relative.flex.items-center.justify-between %a.inline-flex.items-center{"aria-label" => "Hub Feenix", :href => "/", :title => "Hub Feenix"} - = image_tag("feenix_lintu" , class: "h-20") + = image_tag("feenix_lintu.webp" , 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| @@ -9,7 +9,7 @@ %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 = link_to "https://www.facebook.com/hubfeenix" , :target => "_blank" do - = image_tag("fb" , class: "h-10 rounded-md") + = image_tag("fb.webp" , class: "h-10 rounded-md") %li - unless member_signed_in? %a.inline-flex.items-center.justify-center.h-12.px-6.font-medium.tracking-wide.text-white.transition.duration-200.rounded-lg.shadow-md.bg-green-800.hover:bg-blue-800.focus:shadow-outline.focus:outline-none{"aria-label" => "Sign up", :href => main_app.member_session_path, :title => "Log in or Sign up"} @@ -28,7 +28,7 @@ .lg:hidden.flex.items-center.justify-between .mr-20 = link_to "https://www.facebook.com/hubfeenix" , :target => "_blank" do - = image_tag("fb" , class: "h-10 rounded-md") + = image_tag("fb.webp" , class: "h-10 rounded-md") %button.p-2.-mr-1.transition.duration-200.rounded.focus:outline-none.focus:shadow-outline.hover:bg-deep-purple-50.focus:bg-deep-purple-50{"aria-label" => "Open Menu", :title => "Open Menu" , onclick: "menu_on();"} %svg.w-5.text-gray-600{:viewbox => "0 0 24 24"} %path{:d => "M23,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h22c0.6,0,1,0.4,1,1S23.6,13,23,13z", :fill => "currentColor"} diff --git a/app/views/layouts/_mobile_menu.haml b/app/views/layouts/_mobile_menu.haml index d2ca379..ee1b4ee 100644 --- a/app/views/layouts/_mobile_menu.haml +++ b/app/views/layouts/_mobile_menu.haml @@ -3,7 +3,7 @@ .flex.items-center.justify-between.mb-4 %div %a.inline-flex.items-center{"aria-label" => "Hub Feenix", :href => "/", :title => "Hub Feenix"} - = image_tag("feenix_lintu" , class: "h-20") + = image_tag("feenix_lintu.webp" , class: "h-20") %span.ml-2.text-xl.font-bold.tracking-wide.text-gray-800.uppercase Hub Feenix %div %button.p-2.-mt-2.-mr-2.transition.duration-200.rounded.hover:bg-gray-200.focus:bg-gray-200.focus:outline-none.focus:shadow-outline{"aria-label" => "Close Menu", :title => "Close Menu" , onclick: "menu_off();"} diff --git a/config/deploy.rb b/config/deploy.rb index 5eec031..7fb3975 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -22,7 +22,7 @@ set :user, 'feenix' # Username in the server to SSH to. # Shared dirs and files will be symlinked into the app-folder by the 'deploy:link_shared_paths' step. # Some plugins already add folders to shared_dirs like `mina/rails` add `public/assets`, `vendor/bundle` and many more # run `mina -d` to see all folders and files already included in `shared_dirs` and `shared_files` -set :shared_dirs, fetch(:shared_dirs, []).push('tmp/pids' , 'tmp/sockets') +set :shared_dirs, fetch(:shared_dirs, []).push('tmp/pids' , 'tmp/sockets' , 'public/uploads') set :shared_files, fetch(:shared_files, []).push('config/master.key') # This task is the environment that is loaded for all remote run commands, such as