-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
75d9780
commit d26be31
Showing
96 changed files
with
2,929 additions
and
1,429 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<HeadLayout /> | ||
<Page> | ||
{{outlet}} | ||
</Page> | ||
<Modals /> | ||
</Page> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.button-group { | ||
display: flex; | ||
&.stretch-evenly { | ||
a, | ||
button { | ||
&.button { | ||
flex: 1; | ||
} | ||
} | ||
} | ||
a, | ||
button { | ||
&.button { | ||
&.medium.grey-border { | ||
position: relative; | ||
margin-right: -1px; | ||
border-radius: 0; | ||
&:first-child { | ||
border-radius: 3px 0 0 3px; | ||
} | ||
&:last-child { | ||
border-radius: 0 3px 3px 0; | ||
margin-right: 0; | ||
} | ||
&:hover, | ||
&:focus { | ||
z-index: 1; | ||
} | ||
} | ||
} | ||
} | ||
} |
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,3 @@ | ||
<div class='button-group {{@theme}}'> | ||
{{yield}} | ||
</div> |
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,22 @@ | ||
import Component from '@glimmer/component'; | ||
import { inject as service } from '@ember/service'; | ||
|
||
export default class ProductCardComponent extends Component { | ||
@service media; | ||
|
||
get features() { | ||
const { product } = this.args; | ||
|
||
const uses = product.productUsesSorted | ||
? product.productUsesSorted.filterBy('showOnProductList').mapBy('use') | ||
: []; | ||
|
||
const qualities = product.productQualitiesSorted | ||
? product.productQualitiesSorted | ||
.filterBy('showOnProductList') | ||
.mapBy('quality') | ||
: []; | ||
|
||
return [...uses, ...qualities]; | ||
} | ||
} |
Oops, something went wrong.