Skip to content

Commit 041cdae

Browse files
authored
Merge branch 'layer5io:master' into improved-event-page-performance
2 parents 562d30c + 6bde4d7 commit 041cdae

File tree

6 files changed

+56
-59
lines changed

6 files changed

+56
-59
lines changed

src/collections/blog/2025/10-09-2025-agents-instructions/post.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ A symbolic link (symlink) is a pointer to another file. You can create symlinks
157157

158158
Open your terminal in the project root and run these commands for the tools you use:
159159

160-
<pre><code class="language-shell">
160+
<pre><code class="language-markdown">
161161
# For Claude Code
162162
ln -s AGENTS.md CLAUDE.md
163163

@@ -176,13 +176,13 @@ Your tools continue to work as expected, but now they all draw their context fro
176176

177177
Some agents support importing one markdown file into another. For example, in Claude Code's CLAUDE.md file, you can simply add a line to import your universal file:
178178

179-
<pre><code>
180-
\# In ./CLAUDE.md
179+
```markdown
180+
# In ./CLAUDE.md
181181

182182
@AGENTS.md
183183

184184
# You can add Claude-specific instructions below if needed
185-
</code></pre>
185+
```
186186

187187
This approach keeps your setup clean and ensures AGENTS.md remains the primary source of truth.
188188

@@ -207,11 +207,11 @@ Purpose: Automate common, repeatable development tasks. A `.prompt.md`:
207207

208208
### What's Next: The Future of AI Collaboration
209209

210-
AGENTS.md is more than just a configuration file; it's a step toward a future where AI and human developers collaborate seamlessly.
210+
`AGENTS.md` is more than just a configuration file; it's a step toward a future where AI and human developers collaborate seamlessly.
211211

212212
Imagine a world where any AI agent can clone a repository and instantly understand its context, conventions, and goals. Onboarding a new AI assistant becomes as simple as pointing it to a URL. Open-source projects can accept high-quality contributions from autonomous agents because the rules of engagement are clearly defined.
213213

214-
This is the future that a common standard like AGENTS.md enables. For now, we can use simple bridges like symlinks to make it work. But as the ecosystem evolves, expect more and more tools to adopt AGENTS.md as the default.
214+
This is the future that a common standard like `AGENTS.md` enables. For now, we can use simple bridges like symlinks to make it work. But as the ecosystem evolves, expect more and more tools to adopt AGENTS.md as the default.
215215

216216
One file to guide them all. One file to align them. One file to bring them all and in the codebase bind them.
217217

src/components/Pricing/PricingAddons/index.js

Lines changed: 35 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, currency, enterpr
5757
return getAddOns();
5858
}, []);
5959

60+
const formatLearners = (learners) => {
61+
if (typeof learners === "string") return learners;
62+
return learners.toLocaleString("en-US");
63+
};
64+
6065
// Helper function to render icons based on type
6166
const renderIcon = (iconType) => {
6267
switch (iconType) {
@@ -361,47 +366,36 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, currency, enterpr
361366
step={null}
362367
sx={getSliderStyle(sliderStyles.base, "1rem")}
363368
marks={(() => {
364-
// Determine which sub-addon to show pricing for based on selection
365-
let targetSubAddon = null;
366-
if (selectedSubAddOns["academy-practical"]) {
367-
targetSubAddon = selectedAddon?.subAddOns?.find(sub => sub.id === "academy-practical");
368-
} else {
369-
targetSubAddon = selectedAddon?.subAddOns?.find(sub => sub.id === "academy-theory");
370-
}
371-
372-
return targetSubAddon?.pricing?.map((option, index) => ({
373-
value: index,
374-
label: (
375-
<Box sx={{ textAlign: "center", fontSize: "1.25rem", fontWeight: "bold" }}>
376-
<Box>{option.learners === "2500+" ? "2,500+" : option.learners}</Box>
377-
{isYearly && (
378-
<Box
379-
sx={{
380-
fontSize: {
381-
xs: "0.75rem",
382-
sm: "0.9rem",
383-
}
384-
}}
385-
>
386-
{formatSliderPrice((option.yearlyPerUser / 12) * (selectedSubAddOns["academy-practical"] ? 2 : 1), currency)}<br />{targetSubAddon.unitLabelSingular}/month
387-
</Box>
388-
)}
389-
<Box
390-
sx={{
391-
color: "text.secondary",
392-
mb: 1.5,
393-
fontSize: {
394-
xs: "0.75rem",
395-
sm: "0.9rem",
396-
}
397-
}}>
398-
{formatSliderPrice((isYearly ? option.yearlyPerUser : option.monthlyPerUser) * (selectedSubAddOns["academy-practical"] ? 2 : 1), currency)}<br />{targetSubAddon.unitLabelSingular}/{isYearly ? "year" : "month"}
399-
</Box>
400-
</Box>
401-
),
402-
})) || [];
403-
})()}
404-
/>
369+
let targetSubAddon = null;
370+
if (selectedSubAddOns["academy-practical"]) {
371+
targetSubAddon = selectedAddon?.subAddOns?.find(sub => sub.id === "academy-practical");
372+
} else {
373+
targetSubAddon = selectedAddon?.subAddOns?.find(sub => sub.id === "academy-theory");
374+
}
375+
return targetSubAddon?.pricing?.map((option, index) => ({
376+
value: index,
377+
label: (
378+
<Box sx={{ textAlign: "center", fontSize: "1.25rem", fontWeight: "bold" }}>
379+
<Box>{formatLearners(option.learners)}</Box> {/* Changed from ternary */}
380+
<Box
381+
sx={{
382+
color: "text.secondary",
383+
mb: 1.5,
384+
fontSize: { xs: "0.75rem", sm: "0.9rem" },
385+
}}
386+
>
387+
{formatSliderPrice(
388+
(isYearly ? option.yearlyPerUser : option.monthlyPerUser) * (selectedSubAddOns["academy-practical"] ? 2 : 1),
389+
currency
390+
)}
391+
<br />
392+
{targetSubAddon.unitLabelSingular}/{isYearly ? "year" : "month"}
393+
</Box>
394+
</Box>
395+
),
396+
})) || [];
397+
})()}
398+
/>
405399
<Box sx={boxStyles.disclaimerSection}>
406400
<Typography variant="body2" sx={typographyStyles.italic}>
407401
Looking for a plan larger than 2,500 learners? Great! <a href="/company/contact">Let us know</a>.

src/components/Pricing/PricingAddons/styles.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export const boxStyles = {
243243
margin: 0
244244
},
245245
priceComponent: {
246-
fontSize: ".8rem",
246+
fontSize: "1rem",
247247
fontFamily: QANELAS_FONT
248248
},
249249
buttonSection: {
@@ -375,7 +375,8 @@ export const featureDetailsStyles = {
375375
base: {
376376
display: "flex",
377377
flexDirection: "row",
378-
flexWrap: "wrap"
378+
flexWrap: "wrap",
379+
fontFamily: QANELAS_FONT
379380
}
380381
};
381382

src/sections/Community/Handbook/repo-data.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,18 @@ export const repo_data = [
165165
image: five,
166166
site: "https://docs.layer5.io/",
167167
language: "Hugo",
168-
maintainers_name: ["Zihan Kuang"],
169-
link: ["https://layer5.io/community/members/zihan-kuang"],
168+
maintainers_name: ["Vacant"],
169+
link: ["#"],
170170
repository: "https://github.com/layer5io/docs",
171171
},
172172
{
173173
project: "Academy Theme",
174174
image: five,
175175
site: "https://github.com/layer5io/academy-theme",
176176
language: "Hugo",
177-
maintainers_name: ["Zihan Kuang", "Aabid Sofi"],
177+
maintainers_name: ["Aabid Sofi"],
178178
link: [
179-
"https://layer5.io/community/members/zihan-kuang",
179+
"#",
180180
"https://layer5.io/community/members/aabid-sofi"
181181
],
182182
repository: "https://github.com/layer5io/academy-theme",
@@ -195,8 +195,8 @@ export const repo_data = [
195195
image: five,
196196
site: "https://github.com/layer5io/academy-example",
197197
language: "Hugo",
198-
maintainers_name: ["Zihan Kuang"],
199-
link: ["https://layer5.io/community/members/zihan-kuang"],
198+
maintainers_name: ["Vacant"],
199+
link: ["#"],
200200
repository: "https://github.com/layer5io/academy-example",
201201
},
202202
{

src/sections/Kanvas/Kanvas-visualize/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import KanvasVisualizerFeatures from "./kanvas-visualize-features";
55
import KanvasVisualizerViews from "./kanvas-visualize-views";
66
import BackgroundImage from "./images/oval-blur-shape.svg";
77
import Reviews from "../../Pricing/review-slider";
8+
import KanvasHeroSection from "../../Kanvas/Kanvas-design/kanvas-design-hero";
9+
import DesignDefault from "../../Home/MeshmapDesignHighlight/index.js";
810

911
const KanvasVisualize = () => {
1012
return (
@@ -15,8 +17,8 @@ const KanvasVisualize = () => {
1517
<KanvasVisualizeBanner />
1618
<KanvasVisualizerFeatures />
1719
<KanvasVisualizerViews />
18-
{/* <KanvasHeroSection /> */}
19-
{/* <DesignDefault /> */}
20+
<KanvasHeroSection />
21+
<DesignDefault />
2022
<Reviews />
2123
</KanvasVisualizeWrapper>
2224
);

src/sections/Pricing/feature_data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@
925925
"teamOperator": "x",
926926
"enterprise": "x"
927927
},
928-
"docs": "https://docs.layer5.io/cloud/catalog/exploring-the-catalog/"
928+
"docs": ""
929929
},
930930
{
931931
"theme": "",
@@ -1183,4 +1183,4 @@
11831183
},
11841184
"docs": ""
11851185
}
1186-
]
1186+
]

0 commit comments

Comments
 (0)