Skip to content

Commit b347ee6

Browse files
Merge branch 'master' into fix/blog-card-ui-cleanup
2 parents 0653ec1 + 08d6036 commit b347ee6

11 files changed

Lines changed: 211 additions & 12 deletions

File tree

.github/workflows/build-and-preview-site.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ jobs:
2929

3030
- name: Checkout PR
3131
if: github.event.action != 'closed'
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v6
3333
with:
3434
ref: ${{ github.event.pull_request.head.sha }}
3535

3636
- name: Checkout gh-pages for cleanup
3737
if: github.event.action == 'closed'
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v6
3939
with:
4040
ref: gh-pages
4141

4242
- name: Setup Node
4343
if: github.event.action != 'closed'
44-
uses: actions/setup-node@v4
44+
uses: actions/setup-node@v6
4545
with:
4646
node-version: "20"
4747

@@ -77,10 +77,13 @@ jobs:
7777

7878
- name: Checkout gh-pages for preview retention
7979
if: github.event.action != 'closed'
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@v6
8181
with:
8282
ref: gh-pages
8383
fetch-depth: 0
84+
filter: blob:none
85+
sparse-checkout: |
86+
pr-preview
8487
path: gh-pages-maintenance
8588

8689
- name: Prune old PR previews
@@ -131,7 +134,7 @@ jobs:
131134
with:
132135
header: pr-preview
133136
message: |
134-
🚀 Preview deployment: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/pr-preview/pr-${{ github.event.pull_request.number }}/
137+
🚀 Preview deployment: https://layer5.io/pr-preview/pr-${{ github.event.pull_request.number }}/
135138
> *Note: Preview may take a moment (GitHub Pages deployment in progress). Please wait and refresh. Track deployment [here](https://github.com/${{ github.repository }}/actions/workflows/pages/pages-build-deployment)*
136139
137140
- name: Comment on pruned previews

gatsby-config.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ const siteOrigin = (process.env.GATSBY_SITE_URL || "https://layer5.io").replace(
1313
/\/$/,
1414
"",
1515
);
16-
const rawPathPrefix = process.env.PATH_PREFIX || "";
17-
const pathPrefix = rawPathPrefix
18-
? `/${rawPathPrefix.replace(/^\/+|\/+$/g, "")}`
19-
: "";
16+
const rawPrefix = process.env.PATH_PREFIX;
17+
const pathPrefix =
18+
rawPrefix && String(rawPrefix).trim().length
19+
? `/${String(rawPrefix).replace(/^\/+|\/+$/g, "")}`
20+
: undefined;
21+
2022
const siteRootUrl = `${siteOrigin}${pathPrefix}`.replace(/\/$/, "");
2123
const shouldBuildFullSite = isFullSiteBuild();
2224
const isLiteDevBuild = isDevelopment && !shouldBuildFullSite;
@@ -39,6 +41,7 @@ collectionIgnoreGlobs.length > 0
3941
)
4042
: console.info("Build Scope includes all collections");
4143
module.exports = {
44+
...(pathPrefix != null ? { pathPrefix } : {}),
4245
siteMetadata: {
4346
title: "Layer5 - Expect more from your infrastructure",
4447
description:
@@ -49,7 +52,6 @@ module.exports = {
4952
image: "/images/layer5-gradient.webp",
5053
twitterUsername: "@layer5",
5154
},
52-
...(pathPrefix ? { pathPrefix } : {}),
5355
flags: {
5456
FAST_DEV: false,
5557
DEV_SSR: false,
Lines changed: 28 additions & 0 deletions
Loading
Lines changed: 27 additions & 0 deletions
Loading
Lines changed: 28 additions & 0 deletions
Loading
Lines changed: 27 additions & 0 deletions
Loading
Lines changed: 28 additions & 0 deletions
Loading
Lines changed: 27 additions & 0 deletions
Loading

src/collections/integrations/karpenter/index.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,24 @@ components: [
2020
"colorIcon": "icons/components/provisioner/icons/color/provisioner-color.svg",
2121
"whiteIcon": "icons/components/provisioner/icons/white/provisioner-white.svg",
2222
"description": "",
23+
},
24+
{
25+
"name": "node-claim",
26+
"colorIcon": "icons/components/node-claim/icons/color/node-claim-color.svg",
27+
"whiteIcon": "icons/components/node-claim/icons/white/node-claim-white.svg",
28+
"description": "",
29+
},
30+
{
31+
"name": "node-pool",
32+
"colorIcon": "icons/components/node-pool/icons/color/node-pool-color.svg",
33+
"whiteIcon": "icons/components/node-pool/icons/white/node-pool-white.svg",
34+
"description": "",
35+
},
36+
{
37+
"name": "oci-node-class",
38+
"colorIcon": "icons/components/oci-node-class/icons/color/oci-node-class-color.svg",
39+
"whiteIcon": "icons/components/oci-node-class/icons/white/oci-node-class-white.svg",
40+
"description": "",
2341
}]
2442
featureList: [
2543
"Watching for pods that the Kubernetes scheduler has marked as unschedulable",

src/components/UpcomingEventCard/EventCard.style.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,20 @@ const UpcomingEventsWrapper = styled.div`
2121
.blog-slider_img{
2222
max-height: 25rem;
2323
object-fit: cover;
24+
display: flex;
25+
align-items: center;
26+
justify-content: center;
27+
overflow: hidden;
2428
.gatsby-image-wrapper {
29+
width: 100%;
30+
height: 100%;
31+
display: flex;
32+
align-items: center;
33+
justify-content: center;
2534
img {
2635
max-height: 25rem;
36+
object-fit: cover;
37+
width: 100%;
2738
}
2839
}
2940
}
@@ -111,4 +122,4 @@ const UpcomingEventsWrapper = styled.div`
111122
}
112123
`;
113124

114-
export default UpcomingEventsWrapper;
125+
export default UpcomingEventsWrapper;

0 commit comments

Comments
 (0)