diff --git a/app/assets/images/finanse.jpeg b/app/assets/images/finanse.jpeg new file mode 100644 index 0000000..53cd0d9 Binary files /dev/null and b/app/assets/images/finanse.jpeg differ diff --git a/app/assets/stylesheets/creative.css b/app/assets/stylesheets/creative.css index 59467c3..6dee676 100644 --- a/app/assets/stylesheets/creative.css +++ b/app/assets/stylesheets/creative.css @@ -137,8 +137,8 @@ header.title { header.masthead { padding-top: 10rem; padding-bottom: calc(10rem - 56px); - background-image: url("header.jpg"); - background-position: center center; + background-image: url("finanse.jpeg"); + /*background-position: center center;*/ -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; diff --git a/app/mailers/contact_mailer.rb b/app/mailers/contact_mailer.rb index 1eaf979..578a501 100644 --- a/app/mailers/contact_mailer.rb +++ b/app/mailers/contact_mailer.rb @@ -1,9 +1,9 @@ class ContactMailer < ApplicationMailer - default from: 'kontakt@ubezpieczenie-naleznosci.pl' + default from: 'kontakt.ubezpieczenie@gmail.com' default to: 'adhinz@gmail.com' def contact_email(contact) @contact = contact - mail(from: @contact['email'], subject: "Kontakt od: #{@contact['name']}") + mail(subject: "Kontakt ze strony ubezpieczenie-naleznosci.pl") end end diff --git a/app/views/contact_mailer/contact_email.html.erb b/app/views/contact_mailer/contact_email.html.erb index 95243ac..d6a9272 100644 --- a/app/views/contact_mailer/contact_email.html.erb +++ b/app/views/contact_mailer/contact_email.html.erb @@ -4,7 +4,9 @@
-<%= @contact['message'] %>