!!!
%html
  %head
    %meta{charset: "utf-8"}/
    %title Art des Sens - Agencement, décoration, signalétique, stratifié numérique
    %meta{:name => "description", :content => "Solutions stratifié Mystrat et impression numérique directe durable avec vernis UV extrément résistant sur aluminium, dibond, bois etc."}
    %meta{:name => "keywords", :content => "Impression directe, impression alu, impression aluminium, impression dibond, signalétique aluminium, signalétique dibond, impression bois, stratifié, formica, dibond"}
    = javascript_include_tag "application"
    
    = csrf_meta_tag 
    <script type="text/javascript" src="//use.typekit.net/bkj8nbt.js"></script>
    
    :javascript
      try {
         Typekit.load({
           active: function() {
      
             $(document).ready(function() {
             if( ! $('#myCanvas').tagcanvas({
             textColour : '#ffffff',
             outlineThickness : 1,
             depth:0.5,
             lock:"xy",
             initial: [0.1,-0.01],
             shape:"vcylinder",
             stretchX:1.5,
             stretchY:0.9,
             maxSpeed : 0.02,
             outlineMethod : "none",
             wheelZoom :false,
             textFont :"felt-tip-roman" ,
             textHeight : 30,
             })) {
             // TagCanvas failed to load
             $('#myCanvasContainer').hide();
             }
             // your other jQuery stuff here...
             });
           }
         })
      } catch(e) {}
    = stylesheet_link_tag 'application'
    
    

  %body{:class => ("pages" if !@accueil)}
    -if @accueil
      #home
      =image_tag "/logo.png", :id => "logo", :alt => "Art des Sens, impression directe sur aluminium, dibond, vernis extrémement résistant"
      #baseline=image_tag "/baseline.png", :id => "", :alt => "Art des sens, agencement, décoration, signalétique, revendeur MyStrat Formica"
      
      
 
      .slider
        #slider_content
          %ul.bxslider{:data => {:ratio => 1.62}}
            %li{:style => "background-image:url('/images/03.jpg');"}
            %li{:style => "background-image:url('/images/01.jpg');"}
            %li{:style => "background-image:url('/images/02.jpg');"}
            %li{:style => "background-image:url('/images/04.jpg');"}
            %li{:style => "background-image:url('/images/05.jpg');"}
         


    #menu-container
      #menu
        =render "shared/menu"
    
  
    #main
      =yield
          
      #legals
        Siret 802 801 738 00013 - APE : 4690Z - RCS : 802801738 RCS Grenoble - N° TVA intracom : FR83802801738 - Capital : 15 000,00 € -
        =link_to "Partenaire Cris Graphic", "http://cris-graphic.com", :target => "_blank", :title => "Cris Graphic - Impression supports de communication : signalétique, évènementiel, Agencement et décoration - Marque Cristal Protect®"
        
        =link_to image_tag( "/nb.png", :alt => "Création site, communication, ruby on rails"), "http://nicolasbally.com", :target => "_blank", :title => "Nicolas Bally, Quartz Agence, création de site internet Ruby on Rails"
        

        
    :javascript
      $(function() {
        $('#slides').superslides({
          inherit_width_from: '.wide-container',
          inherit_height_from: '.wide-container',
          animation: 'fade',
          play :4000,
          animation_speed : "slow"
        });
      });
       
      
    :coffeescript
      $("body").on "click", ->
        
        $(".wide-container").css("max-width","2000px")
        
    <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-54082658-1', 'auto');
    ga('send', 'pageview');

    </script>