Minor fixes

This commit is contained in:
Sasi Olin 2022-05-20 16:09:31 +02:00
parent c052f59b0a
commit 9fb26f880d
5 changed files with 12 additions and 9 deletions

2
.gitignore vendored
View file

@ -2,6 +2,8 @@
config/application.rb config/application.rb
config/config.yml config/config.yml
config/secrets.yml config/secrets.yml
config/master.key
config/credentials.yml.enc
/vendor/cache /vendor/cache
/vendor/cache-old /vendor/cache-old
/storage/* /storage/*

View file

@ -18,6 +18,7 @@ $navbar-default-link-hover-color: #000000;
// Reset and dependencies // Reset and dependencies
@import "bootstrap/normalize"; @import "bootstrap/normalize";
@import "bootstrap/print"; @import "bootstrap/print";
@import "bootstrap/glyphicons";
// Core CSS // Core CSS
@import "bootstrap/scaffolding"; @import "bootstrap/scaffolding";

View file

@ -12,10 +12,10 @@
= date_string(conference.start_date, conference.end_date) = date_string(conference.start_date, conference.end_date)
- if conference.venue - if conference.venue
%p %p
>= conference.city %span>= conference.city
- if conference.city and conference.country_name - if conference.city and conference.country_name
\/ \/
>= conference.country_name %span>= conference.country_name
- unless conference.description.blank? - unless conference.description.blank?
%p %p
= markdown(conference.description) = markdown(conference.description)

View file

@ -8,22 +8,22 @@
%i.fa-solid.fa-square-rss.fa-4x %i.fa-solid.fa-square-rss.fa-4x
- if contact.facebook? - if contact.facebook?
= link_to "#{ contact.facebook }" do = link_to "#{ contact.facebook }" do
%i.fa-brand.fa-facebook.fa-4x %i.fa-brands.fa-facebook.fa-4x
- if contact.twitter? - if contact.twitter?
= link_to "#{ contact.twitter }" do = link_to "#{ contact.twitter }" do
%i.fa-brand.fa-twitter.fa-4x %i.fa-brands.fa-twitter.fa-4x
- if contact.instagram? - if contact.instagram?
= link_to "#{ contact.instagram }" do = link_to "#{ contact.instagram }" do
%i.fa-brand.fa-instagram.fa-4x %i.fa-brands.fa-instagram.fa-4x
- if contact.googleplus? - if contact.googleplus?
= link_to "#{ contact.googleplus }" do = link_to "#{ contact.googleplus }" do
%i.fa-brand.fa-google-plus.fa-4x %i.fa-brands.fa-google-plus.fa-4x
- if contact.mastodon? - if contact.mastodon?
= link_to "#{ contact.mastodon }" do = link_to "#{ contact.mastodon }" do
%i.fa-brand.fa-mastodon.fa-4x %i.fa-brands.fa-mastodon.fa-4x
- if contact.youtube? - if contact.youtube?
= link_to "#{ contact.youtube }" do = link_to "#{ contact.youtube }" do
%i.fa-brand.fa-youtube.fa-4x %i.fa-brands.fa-youtube.fa-4x
- if contact.email? - if contact.email?
= mail_to "#{ contact.email }" do = mail_to "#{ contact.email }" do
%i.fa-solid.fa-envelope.fa-4x %i.fa-solid.fa-envelope.fa-4x

View file

@ -5,4 +5,4 @@
id: "omniauth-#{provider}", id: "omniauth-#{provider}",
title: "Your #{provider} login", title: "Your #{provider} login",
method: :post do method: :post do
%i{class: "fa-brand fa-#{provider}"} %i{class: "fa-brands fa-#{provider}"}