suite
This commit is contained in:
parent
7846687993
commit
f7621dc2e0
@ -73,14 +73,20 @@ img{
|
||||
}
|
||||
|
||||
#logo{
|
||||
position:relative;
|
||||
z-index:2;
|
||||
height:70px;
|
||||
}
|
||||
|
||||
#menu_top{
|
||||
position:relative;
|
||||
z-index:2;
|
||||
float:right;
|
||||
text-align:right;
|
||||
margin-top:20px;
|
||||
|
||||
color:white;
|
||||
|
||||
|
||||
ul{
|
||||
list-style:none;
|
||||
|
@ -114,9 +114,21 @@
|
||||
=flash[:alert]
|
||||
|
||||
#header.with_ratio{:style => "position:relative;background-image:url('#{@img_url}');", :data => {:ratio => 0.30}}
|
||||
|
||||
%div{:style => "position:absolute;top:0;right:0;left:0;bottom:0;"}
|
||||
%h1.vertical_center=@title
|
||||
|
||||
|
||||
#menu_top
|
||||
%ul
|
||||
%li
|
||||
=ic :tel
|
||||
+33 (0)4 65 84 48 38
|
||||
="-"
|
||||
=link_to "mailto:contact@pollen-concepts.fr" do
|
||||
=ic :mail
|
||||
contact@pollen-concepts.fr
|
||||
|
||||
|
||||
-MenuItem.where(:parent_id => nil, :menu_id => 1).order(:position).each do |menu_item|
|
||||
-if menu_item_link(menu_item) and menu_item_link(menu_item) != ""
|
||||
%li
|
||||
@ -127,8 +139,7 @@
|
||||
|
||||
.clear
|
||||
|
||||
%div{:style => "position:absolute;top:0;right:0;left:0;bottom:0;"}
|
||||
%h1.vertical_center=@title
|
||||
|
||||
|
||||
|
||||
#main=yield
|
||||
|
@ -15,10 +15,7 @@
|
||||
-@sidebar = false
|
||||
|
||||
|
||||
-if @menu_item_lang.permalink == "index"
|
||||
.render_block.home_render_block
|
||||
=render :partial => "public/blocks/block", :locals => {:block => @menu_item.menu_content.blocks.find_by_lang_site_id(@lang.id)}
|
||||
-else
|
||||
-if true
|
||||
-if @menu_item.title_image
|
||||
-if @menu_item.menu_item_langs.find_by_lang_site_id(@lang.id).image_file
|
||||
-@img_url = @menu_item.menu_item_langs.find_by_lang_site_id(@lang.id).image_file.file.large.url
|
||||
|
@ -911,7 +911,7 @@ Rails.application.routes.draw do
|
||||
|
||||
get ':slug.html', to: 'public/m_odrs#show', :as => :public_m_odr
|
||||
|
||||
root "public/menu_items#index"
|
||||
root redirect('/fr/index.html')
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user