

#slider
	
	<div id="wrapper" >
	<div id="carousel" >

	<img src="/assets/photos/01.jpg" alt="Lunar New Year 2012: Year of the Dragon" data-ratio="1.5" />
	<img src="/assets/photos/02.jpg" alt="Lunar New Year 2012: Year of the Dragon" data-ratio="1.5"/>

	<img src="/assets/photos/03.jpg" alt="Lunar New Year 2012: Year of the Dragon" data-ratio="1.5"/>
	<img src="/assets/photos/04.jpg" alt="Lunar New Year 2012: Year of the Dragon" data-ratio="1.5"/>
	


	</div>
	</div>
#home_ordonnance
	.center
		%p
			=link_to "Nouveau ! déposez vos ordonnances ou commandez un produit directement en ligne !", "/pages/ordonnances.html"

#home_folder
	-block = @home.home_blocks.find_by_slug("right_block")
	-if block and block.cible and block.cible_type == "Folder"
		=image_tag((block.cible.image_file ? block.cible.image_file.file.large.medium.url : ""))
		%h3 Dossier du mois
		%h2=link_to block.cible.title, block.cible.cible_url
		.description= simple_format block.cible.description
		=link_to "Lire la suite", block.cible.cible_url, :class => "readmore"
		%p{:style => "clear:both"}

#home_promotions


	%h2
		%p.center=link_to "PROMOTIONS (voir toutes les promotions)", "/pages/promotions.html"
	
	.center
		.column_1.column
			.cat
				Cosmétiques
			-if @home.promotion_1
				-promotion = @home.promotion_1
		
		
			
				.img
					=link_to image_tag(promotion.image_file.file.large.medium.small.thumb.url), "/pages/promotions.html" if promotion.image_file
				.title
					=link_to promotion.title, "/pages/promotions.html"
				.description
					=link_to raw(promotion.description), "/pages/promotions.html"
		.column_2.column
			.cat
				Bébés
			-if @home.promotion_2
				-promotion = @home.promotion_2
		
		
				
				.img
					=link_to image_tag(promotion.image_file.file.large.medium.small.thumb.url), "/pages/promotions.html" if promotion.image_file
				.title
					=link_to promotion.title, "/pages/promotions.html"
				.description
					=link_to raw(promotion.description), "/pages/promotions.html"
		.column_3.column
			.cat
				Hygiène
			-if @home.promotion_3
				-promotion = @home.promotion_3
		
		
				
				.img
					=link_to image_tag(promotion.image_file.file.large.medium.small.thumb.url), "/pages/promotions.html" if promotion.image_file
				.title
					=link_to promotion.title, "/pages/promotions.html"
				.description
					=link_to raw(promotion.description), "/pages/promotions.html"
		
		.clear