|
32 | 32 | <h1 v-text="sitename"></h1> |
33 | 33 | </header> --> |
34 | 34 |
|
35 | | - |
36 | | -<div class="carousel container wrapper"> |
37 | | -<div class="row"> |
38 | | -<div id="carousel-lessons" class="carousel slide" data-ride="carousel"> |
39 | | -<!-- Indicators --> |
40 | | -<ol class="carousel-indicators hidden-xs"> |
41 | | -<li data-target="#carousel-lessons" data-slide-to="0" |
42 | | -class="active"></li> |
43 | | -<li data-target="#carousel-lessons" data-slide-to="1"></li> |
44 | | -</ol> |
45 | | -<div class="carousel-inner hidden-xs" role="listbox"> |
46 | | -<div class="item active"> |
47 | | -<div class="row"> |
48 | | - |
49 | | -<div id="app"> |
50 | | -<div class ="box_lesson"> |
51 | | -<img class= "math_image" v-bind:src="product.image"> |
52 | | -<h2 class="product_title" v-text="product.title"></h2> |
53 | | -<p class="product_location" v-text="product.location"></p> |
54 | | -<p class="product_price" v-text="product.price"></p> |
55 | | -<p class="product_space" >Spaces: {{product.spaces}}</p> |
56 | | -<button type="button" class="btn btn-primary" v-text="product.btn" v-on:click="AddToCart" v-if="canAddToCart"></button> |
57 | | -<button type="button" class="btn btn-primary" disabled="disabled" v-text="product.btn" v-else></button> |
58 | | -</div> |
| 35 | + |
| 36 | +<div id="carousel-lessons" class="carousel container wrapper slide" data-ride="carousel"> |
| 37 | +<!-- Indicators --> |
| 38 | +<ol class="carousel-indicators hidden-xs"> |
| 39 | +<li data-target="#carousel-lessons" data-slide-to="0" class="active"></li> |
| 40 | +<li data-target="#carousel-lessons" data-slide-to="1"></li> |
| 41 | +</ol> |
| 42 | +<div class="carousel-inner hidden-xs" role="listbox"> |
| 43 | +<div class="item active"> |
| 44 | +<div class="row"> |
| 45 | + |
| 46 | +<div class="col-xs-12 col-sm-4 col-md-4"> |
| 47 | +<div class ="card" id="app"> |
| 48 | +<img class="logo" v-bind:src="product.image"> |
| 49 | +<h2 class="title" v-text="product.title"></h2> |
| 50 | +<p class="location" v-text="product.location"></p> |
| 51 | +<p class="price" v-text="product.price"></p> |
| 52 | +<p class="space" >Spaces: {{product.spaces}}</p> |
| 53 | +<button v-if="canAddToCart" class="btn btn-primary" type="button" v-text="product.btn" v-on:click="AddToCart"></button> |
| 54 | +<button v-else disabled="disabled" class="btn btn-primary" type="button" v-text="product.btn"></button> |
59 | 55 | </div> |
| 56 | +</div> |
60 | 57 |
|
61 | | - |
62 | | -<div id="app"> |
63 | | - |
64 | | -<div class ="box_lesson"> |
65 | | -<img class= "math_image" v-bind:src="product.image"> |
66 | | -<h2 class="product_title" v-text="product.title"></h2> |
67 | | -<p class="product_location" v-text="product.location"></p> |
68 | | -<p class="product_price" v-text="product.price"></p> |
69 | | -<p class="product_space" >Spaces: {{product.spaces}}</p> |
70 | | -<button type="button" class="btn btn-primary" v-text="product.btn" v-on:click="AddToCart" v-if="canAddToCart"></button> |
71 | | -<button type="button" class="btn btn-primary" disabled="disabled" v-text="product.btn" v-else></button> |
72 | | -</div> |
| 58 | + |
| 59 | +<div class="col-xs-12 col-sm-4 col-md-4"> |
| 60 | +<div class="card" id="app"> |
| 61 | +<!-- <img class= "math_image" v-bind:src="product.image"> |
| 62 | +<h2 class="product_title" v-text="product.title"></h2> |
| 63 | +<p class="product_location" v-text="product.location"></p> |
| 64 | +<p class="product_price" v-text="product.price"></p> |
| 65 | +<p class="product_space" >Spaces: {{product.spaces}}</p> |
| 66 | +<button v-if="canAddToCart" type="button" class="btn btn-primary" v-text="product.btn" v-on:click="AddToCart"></button> |
| 67 | +<button v-else type="button" class="btn btn-primary" disabled="disabled" v-text="product.btn"></button> --> |
73 | 68 | </div> |
74 | | - |
75 | | - |
76 | | -</div> |
| 69 | +</div> |
77 | 70 |
|
78 | | -<!-- nex carousel page --> |
79 | 71 |
|
80 | | -<div class="item"> |
81 | | -<div class="row"> |
82 | | --------------------- DIV OF LESSONS --------------------------- |
| 72 | +<div class="col-xs-12 col-sm-4 col-md-4"> |
| 73 | +<div class ="card" id="app"> |
| 74 | +<!-- <img class= "math_image" v-bind:src="product.image"> |
| 75 | +<h2 class="product_title" v-text="product.title"></h2> |
| 76 | +<p class="product_location" v-text="product.location"></p> |
| 77 | +<p class="product_price" v-text="product.price"></p> |
| 78 | +<p class="product_space" >Spaces: {{product.spaces}}</p> |
| 79 | +<button v-if="canAddToCart" type="button" class="btn btn-primary" v-text="product.btn" v-on:click="AddToCart"></button> |
| 80 | +<button v-else type="button" class="btn btn-primary" disabled="disabled" v-text="product.btn"></button> --> |
| 81 | +</div> |
| 82 | +</div> |
83 | 83 |
|
| 84 | + |
| 85 | +<div class="col-xs-12 col-sm-4 col-md-4"> |
| 86 | +<div class ="card" id="app"> |
| 87 | +<!-- <img class= "math_image" v-bind:src="product.image"> |
| 88 | +<h2 class="product_title" v-text="product.title"></h2> |
| 89 | +<p class="product_location" v-text="product.location"></p> |
| 90 | +<p class="product_price" v-text="product.price"></p> |
| 91 | +<p class="product_space" >Spaces: {{product.spaces}}</p> |
| 92 | +<button v-if="canAddToCart" type="button" class="btn btn-primary" v-text="product.btn" v-on:click="AddToCart"></button> |
| 93 | +<button v-else type="button" class="btn btn-primary" disabled="disabled" v-text="product.btn"></button> --> |
| 94 | +</div> |
84 | 95 | </div> |
| 96 | + |
85 | 97 | </div> |
86 | 98 | </div> |
87 | | -<!-- Controls --> |
88 | | -<a href="#carousel-lessons" class="left carousel-control" |
89 | | -role="button" data-slide="prev"> |
90 | | -<span class="glyphicon glyphicon-chevron-left" |
91 | | -aria-hidden="true"></span> |
92 | | -</a> |
93 | | -<a href="#carousel-lessons" class="right carousel-control" |
94 | | -role="button" data-slide="next"> |
95 | | -<span class="glyphicon glyphicon-chevron-right" |
96 | | -aria-hidden="true"></span> |
97 | | -</a> |
| 99 | + |
| 100 | +<!-- nex carousel page --> |
| 101 | + |
| 102 | +<div class="item"> |
| 103 | +<div class="row"> |
| 104 | +-------------------- DIV OF LESSONS --------------------------- |
| 105 | + |
| 106 | +</div> |
98 | 107 | </div> |
99 | 108 | </div> |
| 109 | +<!-- Controls --> |
| 110 | +<a href="#carousel-lessons" class="left carousel-control" role="button" data-slide="prev"> |
| 111 | +<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> |
| 112 | +</a> |
| 113 | +<a href="#carousel-lessons" class="right carousel-control" role="button" data-slide="next"> |
| 114 | +<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> |
| 115 | +</a> |
100 | 116 | </div> |
| 117 | + |
101 | 118 | <!-- <div id="app"> |
102 | 119 | <header> |
103 | 120 | <h1 v-text="sitename"></h1> |
|
0 commit comments