-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.html.haml
106 lines (102 loc) · 4.55 KB
/
single.html.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
%section.page-content.grid
%article.single-product.entry.clearfix
.container.full
.product-images
%span.sale Sale
.mobile-slider
%ul.images.slides
%li.image
=image_tag "products/1-large.jpg"
%li.image
=image_tag "products/2-large.jpg"
%li.image
=image_tag "products/3-large.jpg"
.product-details
.affixed
%header.product-header
%span.breadcrumb.font_small
=link_to "Mens", "#"
/
=link_to "Tops", "#"
/
=link_to "Shirts", "#"
%h2.title Heritage Shirt in Indigo
%span.price.gamma $30.00
%nav.product-nav.border-col
%ul
%li.active=link_to "Description", "#"
%li=link_to "Reviews", "#"
%li=link_to "Shipping", "#"
.product-content
%p Alden's classic Ranger Mocc, made exclusively for Need Supply co. Hand crafted from a smooth oiled, tobacco chamois leather, with a 360 reverse welt, mahogany plantation crepe outsole, and brown goodyear welt and edge stitching.
.product-actions.row
.product-buy.half.unit
%form.border-col
.input.select
%select.form-control
%option Color
-# %span.price.delta $30.00
=link_to "Add to cart", "#", :class => "button dark block"
-#=link_to "Add to wishlist", "#", :class => "button grey block"
.product-share.half.unit
.border-col
.share
// Replace with actual share code
#fb-root
:javascript
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
.fb-share-button{"data-href" => "https://developers.facebook.com/docs/plugins/", "data-type" => "button_count"}
%a.twitter-share-button{"data-url" => "http://example.com", "data-via" => "SaxonFletcher", :href => "https://twitter.com/share"} Tweet
:javascript
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
%ul.categories
%li
%h6 Categories
%li=link_to "Tops", "#"
%li=link_to "Mens", "#"
%li=link_to "Sale", "#"
%section.related.clearfix
.container.full
%ul.product-grid
%li.product-small.product
.product-image
%a{:href => "#", :class => "image-actions"}
= image_tag "products/9.jpg", :class => "product-image"
%span.sale Sale
.product-meta
%h5.product-title= link_to "Heritage Shirt in Indigo", "/single"
%span.price $30.00
%li.product-small.product
.product-image
%a{:href => "#", :class => "image-actions"}
= image_tag "products/6.jpg", :class => "product-image"
.product-meta
%h5.product-title= link_to "Heritage Shirt in Indigo", "/single"
%span.price $30.00
%li.product-small.product
.product-image
%a{:href => "#", :class => "image-actions"}
= image_tag "products/7.jpg", :class => "product-image"
.product-meta
%h5.product-title= link_to "Heritage Shirt in Indigo", "/single"
%span.price $30.00
%li.product-small.product
.product-image
%a{:href => "#", :class => "image-actions"}
= image_tag "products/8.jpg", :class => "product-image"
.product-meta
%h5.product-title= link_to "Heritage Shirt in Indigo", "/single"
%span.price $30.00
.cart-message.animated.fadeInUp
%h4
%a{:href => "/single"} Heritage Shirt in Indigo
added to your cart
.message-actions
%a.button.dark{:href => "/cart"} Checkout
%a.button.dark{:href => "/products"} Continue Shopping