Skip to content

Commit 1bd9eb0

Browse files
Merge pull request #166 from open-gitops/founding-members-home
Show founding members on the homepage; Codefresh is now Octopus Deploy
2 parents 52f25b0 + 7f3fdd0 commit 1bd9eb0

8 files changed

Lines changed: 63 additions & 32 deletions

File tree

‎content/members/codefresh/codefresh.svg‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎content/members/codefresh/index.mdx‎

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Octopus Deploy
3+
site: https://octopus.com
4+
logo: octopus-deploy.svg
5+
founding: true
6+
current: true
7+
---
Lines changed: 4 additions & 0 deletions
Loading

‎src/components/founding-members.js‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import * as React from "react"
2+
import { useStaticQuery, graphql } from "gatsby"
3+
import { Grid } from "./ui/grid"
4+
import Members from "./members"
5+
6+
const FoundingMembers = () => {
7+
const { founding } = useStaticQuery(graphql`
8+
query {
9+
founding: allMdx(
10+
filter: {
11+
fileAbsolutePath: { regex: "/(content/members)/" }
12+
frontmatter: { founding: { eq: true } }
13+
}
14+
sort: { order: ASC, fields: frontmatter___title }
15+
) {
16+
edges {
17+
node {
18+
frontmatter {
19+
title
20+
site
21+
founding
22+
logo {
23+
publicURL
24+
}
25+
}
26+
}
27+
}
28+
}
29+
}
30+
`)
31+
32+
return (
33+
<Grid xs={2} md={3} lg={4}>
34+
<Members members={founding.edges} />
35+
</Grid>
36+
)
37+
}
38+
39+
export default FoundingMembers

‎src/components/ui/card-member.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const CardMember = ({ to, logoSrc, title }) => {
1414
src={logoSrc}
1515
alt={title}
1616
title={title}
17-
className="absolute h-auto max-w-9/12"
17+
className="absolute w-8/12 h-1/3 object-contain"
1818
/>
1919
</div>
2020
</div>

0 commit comments

Comments
 (0)