Nicolas Bally dbb15fd2a9 suite
2020-02-04 22:09:17 +01:00

139 lines
5.8 KiB
Plaintext

-@title = "Olwen Technology"
-@description = "Olwen Technology développe et commercialise des solutions techniques, applications, logiciels, pour tous type de projets, des plus courants aux plus spécifiques."
-@facebook_title = @facebook_title || @title
- @twitter_title = @twitter_title || @title
-@menu_shadow=true
-@facebook_img= "/olwen-technology.png"
!!!
- @social_url = @social_url || request.url.to_s
-if @description and @description == ""
- @description = qit "SEO texte description par défaut 2",""
%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
%head
-@title = strip_tags(@title.to_s)
%title=@title.to_s
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon-194x194.png" sizes="194x194">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
<meta name="theme-color" content="#ffffff">
%meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"}
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
%meta{ :"name" => "Description", :content => @description }
%meta{ :"name" => "Keywords", :content => @keywords }
=raw '<meta property="og:title" content="'+@facebook_title.to_s+'" />'
=raw '<meta property="og:description" content="'+@description.to_s+'" />'
=raw '<meta property="og:url" content="'+@social_url+'" />'
=raw '<meta property="twitter:description" content="'+((@description and @description != "") ? @description : "En savoir plus :").to_s+'"/>'
=raw '<meta property="twitter:title" content="'+@twitter_title.to_s+'"/>'
-if @facebook_img
=raw '<meta property="og:image" content="https://olwen-capital.com'+@facebook_img.to_s+'"/>'
=raw '<link rel="image_src" href="https://olwen-capital.com'+@facebook_img.to_s+'"/>'
=raw '<meta name="twitter:card" content="summary_large_image">'
=raw '<meta property="twitter:image" content="https://olwen-capital.com'+@facebook_img.to_s+'"/>'
-@img_size = FastImage.size('https://olwen-capital.com'+@facebook_img.to_s)
-if @img_size and @img_size.size > 0
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
=raw '<meta property="og:image:height" content="'+@img_size[1].to_s+'"/>'
= javascript_include_tag "public"
= csrf_meta_tag
= stylesheet_link_tag 'public', :media => :all
%link{:href => "https://fonts.googleapis.com/css?family=Lato:100,200,300", :rel => "stylesheet"}
=render :partial => "public/shared/ga"
%body
-if false
#header
=image_tag "/logo-olwen-technology.png", :id => "logo"
=image_tag "/b1-01.svg", :id => "b1"
-if false
#menu_container
#menu.move_menu
.burger{:onclick => "$('.menu_inner').toggle();"}
=ic :bars
.menu_inner
=link_to "Intro", "#header", :onclick => "$('html,body').animate({scrollTop: ($('#header').offset().top - 50)},'slow');return false;"
=link_to "Projets", "#projets", :onclick => "$('html,body').animate({scrollTop: ($('#projets').offset().top - 50)},'slow');return false;"
=link_to "Vision", "#vision", :onclick => "$('html,body').animate({scrollTop: ($('#vision').offset().top - 50)},'slow');return false;"
=link_to "Stratégie", "#strat", :onclick => "$('html,body').animate({scrollTop: ($('#strat').offset().top - 50)},'slow');return false;"
=link_to "Sociétés", "#presse", :onclick => "$('html,body').animate({scrollTop: ($('#presse').offset().top - 50)},'slow');return false;"
=link_to "Contact", "#footer", :onclick => "$('html,body').animate({scrollTop: ($('#footer').offset().top - 50)},'slow');return false;"
#intro
.center
=image_tag "/logo-olwen-technologies.png", :id => "logo"
%p
Olwen Technology développe et commercialise
des solutions techniques, applications, logiciels, pour tous type de projets, des plus courants aux plus spécifiques.
=image_tag "/logo-technos.svg", :id => "logo-technos"
#footer
=image_tag "/b1-02.svg", :id => "b2"
.center
%h2
Contact
%p
Vous découvrirez prochainement nos solutions et prestations, en attendant n'hésitez pas à nous contacter.
.contact_form.contact_militer#form
=render :partial => "public/contacts/form"
.clear
:javascript
resize();