Skip to content

Commit 0b7b374

Browse files
committed
fix broken bio
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 3e67ee4 commit 0b7b374

4 files changed

Lines changed: 35 additions & 36 deletions

File tree

src/collections/blog/2026/03-09-why-claude-code-cant-find-your-tools/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import Callout from "../../../../reusecore/Callout";
4545
Zsh loads different configuration files depending on how it was launched. There are four main files, and they are read in this order:
4646
</p>
4747

48-
<table className="table-2">
48+
<table className="table-3">
4949
<thead>
5050
<tr>
5151
<th>File</th>

src/collections/blog/Blog.style.js

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ export const BlogWrapper = styled.div`
5151
td {
5252
text-align: center;
5353
border-top: 1px dotted ${(props) => props.theme.secondaryLightColorTwo};
54-
th {
55-
background-color: ${(props) => props.theme.secondaryLightColorTwo};
56-
color: #eee;
57-
padding: 0rem 0.5rem;
58-
}
54+
}
55+
th {
56+
background-color: ${(props) => props.theme.secondaryLightColorTwo};
57+
color: #eee;
58+
padding: 0rem 0.5rem;
5959
}
6060
@media (max-width: 990px) {
6161
max-width: 100%;
@@ -96,23 +96,20 @@ export const BlogWrapper = styled.div`
9696
table {
9797
display: inline;
9898
}
99-
,
10099
tr:nth-child(even) {
101100
background-color: ${(props) => props.theme.secondaryLightColorTwo};
102101
}
103-
,
104102
tr:nth-child(odd) {
105103
background-color: ${(props) => props.theme.secondaryLightColor};
106104
}
107-
,
108105
td {
109106
text-align: center;
110107
border-top: 1px dotted ${(props) => props.theme.secondaryLightColorTwo};
111-
th {
112-
background-color: ${(props) => props.theme.secondaryLightColorTwo};
113-
color: ${(props) => props.theme.grey232323ToGreyEEEEEE};
114-
padding: 0rem 0.5rem;
115-
}
108+
}
109+
th {
110+
background-color: ${(props) => props.theme.secondaryLightColorTwo};
111+
color: ${(props) => props.theme.grey232323ToGreyEEEEEE};
112+
padding: 0rem 0.5rem;
116113
}
117114
}
118115
.table-box {
@@ -276,14 +273,6 @@ export const BlogWrapper = styled.div`
276273
float: left;
277274
margin: 1rem 1rem 1rem 0rem;
278275
}
279-
div.intro {
280-
padding-left: 3rem;
281-
padding-right: 3rem;
282-
font-style: italic;
283-
font-size: 0.8rem;
284-
border-bottom: 1px dashed ${(props) => props.theme.primaryLightColor};
285-
}
286-
287276
/* ==============
288277
styles for figure with caption
289278

src/collections/members/lee-calcote/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ location: Austin, Texas, USA
2323
bio: "Lee Calcote is an innovative product and technology leader, passionate about empowering engineers and enabling organizations. As Founder of Layer5, he is at the forefront of the cloud native movement. Open source, advanced and emerging technologies have been a consistent focus through Calcote’s time at SolarWinds, Seagate, Cisco and Schneider Electric. An advisor, author, and speaker, Calcote is active in the community as a Docker Captain, Cloud Native Ambassador and GSoC, GSoD, and LFX Mentor."
2424
published: true
2525
executive_bio: true
26-
executive_image: ./Lee-Calcote.webp
26+
executive_image: ./lee-calcote.webp
2727
profile: "/executive-profiles/Lee-Calcote.zip"
2828
executive_position: Founder and CEO
2929
company: Layer5

src/sections/Community/Member-single/executive_bio.js

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ const MemberBio = ({ frontmatter, children }) => {
2525
executive_position,
2626
company,
2727
} = frontmatter;
28+
const hasExecutiveImage = Boolean(
29+
executive_image?.publicURL &&
30+
(executive_image?.childImageSharp?.gatsbyImageData ||
31+
executive_image?.extension === "svg"),
32+
);
33+
2834
return (
2935
<MemberSingleWrapper>
3036
<Container>
@@ -33,27 +39,31 @@ const MemberBio = ({ frontmatter, children }) => {
3339
<Col $xs={12} $sm={12} $lg={9}>
3440
<div className="header">
3541
<div className="name">{name}</div>
36-
{executive_position && <div className="position">{executive_position}, {company}</div>}
42+
{executive_position && (
43+
<div className="position">
44+
{executive_position}, {company}
45+
</div>
46+
)}
3747
</div>
3848
</Col>
3949
<Col $xs={12} $sm={12} $lg={3}>
40-
<div className="exec-bio-image">
41-
<Link to={executive_image.publicURL}>
42-
<Image
43-
className="profile-image"
44-
{...executive_image}
45-
alt={name}
46-
/>
47-
</Link>
48-
</div>
50+
{hasExecutiveImage && (
51+
<div className="exec-bio-image">
52+
<Link to={executive_image.publicURL}>
53+
<Image
54+
className="profile-image"
55+
{...executive_image}
56+
alt={name}
57+
/>
58+
</Link>
59+
</div>
60+
)}
4961
</Col>
5062
</Row>
5163
<Row>
5264
<Col $xs={12} $sm={12} $lg={9}>
5365
<h3>Executive Bio</h3>
54-
<SRLWrapper>
55-
{children}
56-
</SRLWrapper>
66+
<SRLWrapper>{children}</SRLWrapper>
5767
</Col>
5868
<Col $xs={12} $sm={12} $lg={3}>
5969
<div className="exec-bio-image">

0 commit comments

Comments
 (0)