Updates styles, translations page, links, etc
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<svg>
|
||||
<defs>
|
||||
<filter id="saturate">
|
||||
<feColorMatrix in="SourceGraphic" type="saturate" values=".25" result="A"/>
|
||||
</filter>
|
||||
<image x="0" y="0" width="100%" height="100%" xlink:href="<%= image %>" id="banner-image" preserveAspectRatio="xMidYMid slice" filter="url(#saturate)" />
|
||||
|
||||
<filter id="banner-img" x="0" y="0" width="1" height="1">
|
||||
<feImage xlink:href="#banner-image" result="banner-image"/>
|
||||
<feBlend mode="multiply" in="banner-image" in2="SourceGraphic" in="banner-image" />
|
||||
</filter>
|
||||
</defs>
|
||||
|
||||
<rect x="0" y="0" width="100%" height="100%" filter="url(#banner-img)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 640 B |
@@ -0,0 +1,14 @@
|
||||
- content_for :banner do
|
||||
- image = image_url('xconference.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
%h1=_'page_titles.About_BikeBike'
|
||||
|
||||
%article
|
||||
%h2=_'page_titles.About_BikeBike', :t
|
||||
%p=_'static_text.about.paragraph_1', :p
|
||||
|
||||
%h2=_'page_titles.About_BikeBike_2', :t
|
||||
%figure{style: "background-image: url(#{image_url('columbus_people.jpg')})"}
|
||||
%p=_'static_text.about.paragraph_2', :p
|
||||
@@ -1,9 +1,8 @@
|
||||
- has_no_content
|
||||
- this_is_the_front_page
|
||||
- if @conference
|
||||
= render 'conferences/header'
|
||||
%article
|
||||
%h2=@conference.title
|
||||
%h2=_!@conference.title
|
||||
=@conference.info.html_safe
|
||||
|
||||
%article.supplementary
|
||||
@@ -0,0 +1,12 @@
|
||||
- content_for :banner do
|
||||
- image = image_url('columbus_group.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
%h1=_'page_titles.Safer_Spaces_Policy'
|
||||
|
||||
%article
|
||||
%h2=_'page_titles.Safer_Spaces_Policy'
|
||||
%p=_'static_text.policy.paragraph_1', :p
|
||||
|
||||
-# UserMailer.activation_needed_email('goodgodwin@hotmail.com').deliver
|
||||
@@ -8,7 +8,7 @@
|
||||
- if capable_of(:svg)
|
||||
= render 'conferences/banner_image.svg'
|
||||
.title
|
||||
%h2.background="#{@conference.start_date.year.to_s}!"
|
||||
%h2.background=_!"#{@conference.start_date.year.to_s}!"
|
||||
.details
|
||||
%h3.primary=location(@conference.organizations.first.locations.first)
|
||||
.secondary
|
||||
|
||||
@@ -3,10 +3,12 @@
|
||||
%head
|
||||
%meta{ charset: 'utf-8' }
|
||||
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0' }
|
||||
%title= (yield :title) + (content_for?(:title) ? ' | ' : '') + 'Bike!Bike!'
|
||||
%title= (yield :title) + (content_for?(:title) ? _!' | ' : '') + _!'Bike!Bike!'
|
||||
%meta{ name: 'description', content: (yield_or_default :description, I18n.t('page_descriptions.home')) }
|
||||
= csrf_meta_tags
|
||||
= inject_css!
|
||||
- @stylesheets.each do |css|
|
||||
= inject_css! css
|
||||
%link{ href: asset_path('favicon.ico'), rel: 'shortcut icon', type: 'image/x-icon' }
|
||||
%link{ href: asset_path('favicon.ico'), rel: 'icon', type: 'image/x-icon' }
|
||||
%link{ href: asset_path('apple-touch-icon.png'), rel: 'apple-touch-icon' }
|
||||
@@ -15,7 +17,7 @@
|
||||
%link{ href: asset_path('apple-touch-icon-144x144.png'), rel: 'apple-touch-icon', sizes: '144x144' }
|
||||
= yield :head
|
||||
|
||||
%body{ class: (yield_or_default :page_style) }
|
||||
%body{ class: page_style }
|
||||
= render 'shared/navbar'
|
||||
%main#main
|
||||
- flash.each do |key, msg|
|
||||
@@ -31,8 +33,7 @@
|
||||
= yield
|
||||
= yield :garbage
|
||||
#footer
|
||||
%footer
|
||||
.container= render 'shared/footer'
|
||||
%footer= render 'shared/footer'
|
||||
- if content_for?(:footer_scripts)
|
||||
= yield :footer_scripts
|
||||
- if content_for?(:scripts) || content_for?(:dom_ready)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
- content_for :banner do
|
||||
- image = image_url('grafitti.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
%h1=_'page_titles.Translations'
|
||||
|
||||
%h1=_'translate.Translations'
|
||||
%article=render 'translations/list'
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
.github
|
||||
=svg_sprite 'icons', 'bb-icon-github', 'github logo'
|
||||
%a{href: 'https://github.com/bikebike/BikeBike/issues', target: :_blank}
|
||||
=_'links.footer.text.File_an_Issue'
|
||||
|
|
||||
%a{href: 'https://github.com/bikebike/BikeBike/contributing.md', target: :_blank}
|
||||
=_'links.footer.text.Help_contribute'
|
||||
.facebook
|
||||
=_'links.footer.help_text.facebook', 'Join our facebook group' do |title|
|
||||
%a{href: 'https://www.facebook.com/groups/648758205249998/', target: :_blank, title: title}
|
||||
=svg_sprite 'icons', 'bb-icon-fb', 'facebook logo'
|
||||
.copy
|
||||
=_'links.footer.help_text.contributors', 'Who contributed to building this website' do |title|
|
||||
=link_to :humans_txt, {title: title} do
|
||||
=_!"©#{Date.today.strftime("%Y")} Bike!Bike!"
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
- content_for :banner do
|
||||
- image = image_url('grafitti.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
%h1=_'page_titles.Translations'
|
||||
|
||||
%article=render 'translations/list'
|
||||
@@ -0,0 +1,6 @@
|
||||
- header_is_fixed
|
||||
- content_for :banner do
|
||||
#header-title.no-image
|
||||
%h1=_'translate.translation_pages.Locale_Translations', @locale[:name], :vars => {:language => @locale[:name]}
|
||||
=render 'translations/translation_control'
|
||||
%article=render 'translations/key_wrapper'
|
||||
Reference in New Issue
Block a user