added product-item-details
parent
7eca3cbd8a
commit
e768a5fdb4
@ -1,7 +1,13 @@
|
||||
.navbar {
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.nav-spacer {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
|
@ -1,11 +1,30 @@
|
||||
<app-navbar></app-navbar>
|
||||
<div class="details-container">
|
||||
<div class="details-img">
|
||||
<img src="https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" class="card-img">
|
||||
<img src={{product.url}} class="card-img">
|
||||
</div>
|
||||
<div class="details-info">
|
||||
<label class="info-tilte">Title</label>
|
||||
<label>Price</label>
|
||||
<label class="info-description">Description</label>
|
||||
<label class="info-tilte">{{product.name}}</label>
|
||||
<label class="info-price">{{product.price}} $</label>
|
||||
<label class="info-description">{{product.description}}</label>
|
||||
<mat-form-field appearance="fill" class="details-quantity">
|
||||
<mat-label>Quantity</mat-label>
|
||||
<mat-select>
|
||||
<mat-option value="option1">1</mat-option>
|
||||
<mat-option value="option2">2</mat-option>
|
||||
<mat-option value="option3">3</mat-option>
|
||||
<mat-option value="option3">4</mat-option>
|
||||
<mat-option value="option3">5</mat-option>
|
||||
<mat-option value="option3">6</mat-option>
|
||||
<mat-option value="option3">7</mat-option>
|
||||
<mat-option value="option3">8</mat-option>
|
||||
<mat-option value="option3">9</mat-option>
|
||||
<mat-option value="option3">10</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<div class="details-buttons">
|
||||
<button mat-raised-button color="primary" routerLink="/" class="back-button">Back</button>
|
||||
<button mat-raised-button color="primary">Add to cart</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue