Skip to content

Commit 16df167

Browse files
Merge branch 'layer5io:master' into limit-enterprise-users
2 parents 060adfb + 84e2e97 commit 16df167

8 files changed

Lines changed: 1006 additions & 232 deletions

File tree

src/collections/events/2025/hacktoberfest-2025/index.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ import hacktoberfestTheme from "./hacktoberfest-meshery-theme.webp";
2424

2525
<p>As in years past, Layer5 has a number of different projects and a variety of technologies for participants to choose from. For Hacktoberfest 2025, our theme will center on Designing with Meshery. <Link to="/cloud-native-management/meshery">Meshery</Link> is an extensible, self-service platform for collaborative infrastructure management. Be sure to understand the <Link to="/blog/meshery/comparing-meshery-models-and-meshery-designs">difference between Meshery Models and Meshery Designs</Link>. The Meshery project is looking for contributors to extend these models to support new cloud native infrastructure and their features.</p>
2626

27-
<img src={hacktoberfestOpenArms} style="width: 750px; margin-right: 20px; float: left;"/>
28-
2927
<p>
3028
Prepare for Hacktoberfest and ready yourself for contributing to CNCF projects the easy way with Layer5 <Link to="/community/meshmates">MeshMates</Link> and Maintainers. Spend an hour with seasoned, open source maintainers and hack your way through. To get a head start, see our <Link to="/community/newcomers">Newcomers Resources</Link>. Get familiar with the Layer5 community through our <Link to="/community/handbook">Community Handbook</Link>.
3129
</p>
@@ -40,8 +38,9 @@ Prepare for Hacktoberfest and ready yourself for contributing to CNCF projects t
4038
<img src={hacktoberfestBadge} style={{ width: '250px', flexShrink: '0', marginLeft: '-60px' ,marginRight: '100px', marginTop: '-50px' }} />
4139
</div>
4240

43-
<h3 style={{marginBottom: '10px'}}>Event Details</h3>
41+
<img src={hacktoberfestOpenArms} style="display:block; justify-content:center; width: 750px; margin-right: auto;"/>
4442

43+
<h3 style={{marginBottom: '10px'}}>Event Details</h3>
4544

4645
<ul>
4746
<li><strong>DATE: </strong>October 3rd, 2025</li>
@@ -55,5 +54,3 @@ Prepare for Hacktoberfest and ready yourself for contributing to CNCF projects t
5554
<li><Link to="/blog/open-source/ways-to-contribute-at-layer5">Code and Non-Code Contributing at Layer5</Link></li>
5655
<li><a href="https://github.com/issues?q=is%3Aopen%20is%3Aissue%20archived%3Afalse%20(org%3Alayer5io%20OR%20org%3Ameshery%20OR%20org%3Aservice-mesh-performance%20OR%20org%3Aservice-mesh-patterns%20OR%20org%3Alayer5labs%20OR%20org%3Ameshery-extensions)%20label%3Ahacktoberfest">Issues for Hacktoberfest</a></li>
5756
</ul>
58-
59-
<img src={hacktoberfestTheme} style="width: fit-content;"/>

src/components/CookieConsent/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
Stack,
99
} from "@mui/material";
1010

11-
11+
import { Link } from "gatsby";
1212
import Button from "../../reusecore/Button";
1313
import styled from "styled-components";
1414

@@ -54,10 +54,11 @@ const CookieConsent = () => {
5454
<Typography variant="body2" >
5555
We use cookies to enhance your browsing experience. By clicking
5656
"Accept", you consent to our use of cookies. Read more in our{" "}
57-
<a href="/company/legal/privacy" target="_blank" rel="noopener noreferrer">
57+
<Link to="/company/legal/privacy" target="_self" rel="noopener noreferrer">
5858
Privacy Policy
59-
</a>
60-
.
59+
</Link> or visit our <Link to="/company/legal" target="_self" rel="noopener noreferrer">
60+
Trust Center
61+
</Link>.
6162
</Typography>
6263

6364
<Box display="flex" justifyContent="flex-end" gap={1}>

src/components/Pricing/PricingAddons/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, currency, enterpr
345345
if (targetSubAddon?.pricing && targetSubAddon.pricing[value]) {
346346
const option = targetSubAddon.pricing[value];
347347
const pricePerUser = isYearly ? option.yearlyPerUser : option.monthlyPerUser;
348-
const totalPrice = pricePerUser * option.learners;
348+
const multiplier = selectedSubAddOns["academy-practical"] ? 2 : 1;
349+
const totalPrice = pricePerUser * option.learners * multiplier;
349350
const period = isYearly ? "/year" : "/month";
350351
return `${option.learners} learners - ${formatPrice(totalPrice)}${period}`;
351352
}
@@ -386,7 +387,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, currency, enterpr
386387
}
387388
}}
388389
>
389-
{formatSliderPrice(option.yearlyPerUser / 12, currency)}<br/>{targetSubAddon.unitLabelSingular}/month
390+
{formatSliderPrice((option.yearlyPerUser / 12) * (selectedSubAddOns["academy-practical"] ? 2 : 1), currency)}<br/>{targetSubAddon.unitLabelSingular}/month
390391
</Box>
391392
)}
392393
<Box
@@ -398,7 +399,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, currency, enterpr
398399
sm: "0.9rem",
399400
}
400401
}}>
401-
{formatSliderPrice(isYearly ? option.yearlyPerUser : option.monthlyPerUser, currency)}<br/>{targetSubAddon.unitLabelSingular}/{isYearly ? "year" : "month"}
402+
{formatSliderPrice((isYearly ? option.yearlyPerUser : option.monthlyPerUser) * (selectedSubAddOns["academy-practical"] ? 2 : 1), currency)}<br/>{targetSubAddon.unitLabelSingular}/{isYearly ? "year" : "month"}
402403
</Box>
403404
</Box>
404405
),

0 commit comments

Comments
 (0)