-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
127 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ query MyQuery { | |
id | ||
databaseId | ||
averageRating | ||
description | ||
name | ||
slug | ||
onSale | ||
date | ||
image { | ||
altText | ||
uri | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.related-upsell_products { | ||
h6 { | ||
font-size: 1.4rem; | ||
font-weight: 700; | ||
text-transform: uppercase; | ||
letter-spacing: 5px; | ||
margin-bottom: 5rem; | ||
} | ||
.up-sells { | ||
padding: 8rem 0 3rem; | ||
margin-bottom: 4px; | ||
background-color: #f4f4f4; | ||
} | ||
.related-products { | ||
padding: 8rem 0 3rem; | ||
background-color: #f4f4f4; | ||
margin-bottom: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<div class="related-upsell_products"> | ||
<section class="related-products"> | ||
<div class="max-w-screen-xl flex-grow mx-auto"> | ||
<h6 class="text-center fadeInNeuron">Related products</h6> | ||
|
||
<div class="flex flex-wrap relative overflow-hidden xxl:-mx-8 -mx-4"> | ||
<div | ||
v-for="product in relatedProducts" | ||
:key="product.name" | ||
class="w-full sm:w-1/2 xl:w-1/3 product xxl:px-8 xxl:pb-16 px-4 pb-8" | ||
> | ||
<ProductLayout :product="product" /> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
relatedProducts: { | ||
required: true, | ||
type: Array | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<Cart /> | ||
</div> | ||
<div class="w-1/3"> | ||
<Logo /> | ||
<!-- <Logo /> --> | ||
</div> | ||
<div class="w-1/3"> | ||
<Menu /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters