Skip to content

Commit 76aff37

Browse files
committed
add teamtailor to the Embroider Initiative sponsors
1 parent befc9f4 commit 76aff37

File tree

8 files changed

+24
-3
lines changed

8 files changed

+24
-3
lines changed

app/models/initiative-sponsor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ export default class SponsorModel extends Model {
66
@attr name;
77
@attr url;
88
@attr('number') tier;
9+
@attr('number') order;
910
}

app/templates/sponsors.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
<ul class="unstyled grid sm:grid-2 lg:grid-3">
4343
{{#each
44-
(sort-by "tier:desc"
44+
(sort-by "tier:desc" "order:asc"
4545
(reject-by "tier" 1 @model.initiativeSponsors)
4646
)
4747
as |sponsor|

data/initiative-sponsor/hashi-corp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ name: HashiCorp
33
url: https://www.hashicorp.com/
44
image: hashicorp.png
55
tier: 2
6+
order: 1
67
---

data/initiative-sponsor/lighthouse.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ name: Lighthouse
33
url: https://www.mylighthouse.com/
44
image: lighthouse.png
55
tier: 2
6-
---
6+
order: 1
7+
---

data/initiative-sponsor/teamtailor.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Teamtailor
3+
url: https://www.teamtailor.com/
4+
image: teamtailor.svg
5+
tier: 2
6+
order: 2
7+
---

data/initiative-sponsor/xbe.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ name: XBE
33
url: https://www.x-b-e.com/
44
image: xbe.svg
55
tier: 2
6+
order: 1
67
---

lib/content-data-generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const sponsorTree = new StaticSiteJson(`data/sponsor`, {
6464
const initiativeTree = new StaticSiteJson(`data/initiative-sponsor`, {
6565
type: 'initiativeSponsor',
6666
contentFolder: `data/initiative-sponsors`,
67-
attributes: ['name', 'url', 'image', 'tier'],
67+
attributes: ['name', 'url', 'image', 'tier', 'order'],
6868
contentTypes: ['content'],
6969
collate: true,
7070
});

public/images/users/teamtailor.svg

Lines changed: 10 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)