Skip to content

Commit 5278ff0

Browse files
author
Vivek Vishal
authored
Merge pull request #6339 from vishalvivekm/open-source-banner
add open source program to pricing
2 parents 88c7400 + 05166c6 commit 5278ff0

7 files changed

Lines changed: 85 additions & 12 deletions

File tree

src/assets/data/faq/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,10 @@ const data = {
259259
question: "Do you have special pricing for open source / non-profit projects?",
260260
category: "Pricing",
261261
answer: [
262-
"Yes, we offer significant discounts for open source projects. Contact us at hello@layer5.io with the details of your open source project to apply for discount.",
262+
"Yes, we offer significant discounts for open source projects. Visit open source pricing page and sign up with details of your open source project to apply for discount.",
263263
],
264+
linktext: "Open source pricing",
265+
link: "/pricing/open-source-program"
264266
},
265267

266268
//
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from "react";
2-
import SEO from "../components/seo";
2+
import SEO from "../../components/seo";
33

44

5-
import PricingPage from "../sections/Pricing";
5+
import PricingPage from "../../sections/Pricing";
66
const Pricing = () => {
77
return (
88
<>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from "react";
2+
import SEO from "../../components/seo";
3+
import OpenSourcePricingPage from "../../sections/Community/Open-Source-Program";
4+
5+
const OpenSourcePricingProgramPage = () => {
6+
return (
7+
<>
8+
<OpenSourcePricingPage />
9+
</>
10+
);
11+
};
12+
export default OpenSourcePricingProgramPage;
13+
export const Head = () => {
14+
return <SEO title="Layer5 Open Source Program"
15+
description="Layer5, empowerer of engineers. At Layer5, we believe collaboration enables innovation, and infrastructure enables collaboration."
16+
image="/images/Layer5-overview.svg" />;
17+
};

src/sections/Community/Open-Source-Program/index.style.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,21 @@ const OpenSourcePricingWrapper = styled.div`
1010
left: 0;
1111
}
1212
}
13-
.hero{
14-
p{
13+
.hero {
14+
flex-wrap: wrap;
15+
p {
1516
margin: 1.875rem auto 1rem auto;
16-
}
17-
.products-logo-wrapper{
17+
}
18+
.products-logo-wrapper{
1819
display: flex;
1920
justify-content: center;
20-
img{
21+
img {
2122
max-height: 25rem;
2223
}
2324
svg {
2425
height: 25rem;
2526
}
26-
}
27+
}
2728
}
2829
2930
.signup-form{

src/sections/Community/Open-Source-Program/signup-form.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const SignupForm = () => {
1616
<Container style={{ marginBottom: "4rem", padding: "0" }}>
1717
<Row className="description">
1818
<Col $lg={7} $md={6} $sm={12} >
19-
<h4>Who can Apply?</h4>
19+
<h4 style={{ margin: ".8rem" }}>Who can Apply?</h4>
2020
<p style={{ fontWeight: "700" }}>Layer5-Sponsored Open Source program is ideal for developers working on projects without a path to commercialization.</p>
2121
<h4 style={{ marginBottom: "1.5rem" }}>Why join the Layer5-Sponsored Open Source program?</h4>
2222
<p>
@@ -31,7 +31,7 @@ const SignupForm = () => {
3131
<strong>Comprehensive Cloud Native Support</strong><br/>
3232
Leverage tools for discovering existing infrastructure, visualizing Kubernetes applications, and managing multi-cloud clusters. Layer5 provides built-in components, public catalogs, and performance profiling to streamline your project's development.
3333
</p>
34-
<h4>Qualification Criteria</h4>
34+
<h4 style={{ margin: "1.3rem 0" }}>Qualification Criteria</h4>
3535
<p style={{ marginBottom: "0" }}>
3636
To qualify for the Layer5-Sponsored Open Source program, your project namespace must:
3737
</p>
@@ -40,7 +40,7 @@ const SignupForm = () => {
4040
<li>Meet the <a href="https://opensource.org/docs/osd">Open Source Initiative definition.</a></li>
4141
<li>Not have a pathway to commercialization. Your organization must not seek to make a profit through services or by charging for higher tiers. Accepting donations to sustain your efforts is permissible.</li>
4242
</ul>
43-
<h4>Layer5-Sponsored Open Source program Terms of Agreement</h4>
43+
<h4 style={{ margin: "1.875rem 0 1.3rem" }}>Layer5-Sponsored Open Source program Terms of Agreement</h4>
4444
<ul>
4545
<li>Program benefits are provided only to project leads and core project committers.</li>
4646
<li>Program status and benefits are valid for one year and can be renewed if your project still meets the program requirements.</li>

src/sections/Pricing/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import FAQ from "../General/Faq";
55
import Reviews from "./review-slider";
66
import options from "./generatePlans";
77
import PlanCard from "../../components/PlanCard";
8+
import OpenSourceBanner from "./openSource";
89

910
const Pricing = () => {
1011
// const [monthly, setMonthly] = useState(false);
@@ -47,6 +48,7 @@ const Pricing = () => {
4748
</div>
4849
<Comparison />
4950
<Reviews />
51+
<OpenSourceBanner />
5052
<FAQ category={["Pricing", "Billing"]} />
5153
</PricingWrapper>
5254
);

src/sections/Pricing/openSource.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
import React from "react";
2+
import Button from "../../reusecore/Button";
3+
import styled from "styled-components";
4+
import { BsArrowUpRight } from "@react-icons/all-files/bs/BsArrowUpRight";
5+
const OpenSourceBanner = () => {
6+
return (
7+
<OpenSourceBannerWrapper>
8+
<div className="banner-content">
9+
<div>
10+
<h2>Layer5-Sponsored Open Source Program</h2>
11+
<p>
12+
We're proud to support the open source community with special discounts and resources.
13+
</p>
14+
</div>
15+
<Button $primary title="Open Source Pricing" $url="/pricing/open-source-program"><BsArrowUpRight size={21} className="icon-left" /></Button>
16+
</div>
17+
</OpenSourceBannerWrapper>
18+
);
19+
};
20+
21+
const OpenSourceBannerWrapper = styled.div`
22+
width: 100%;
23+
background: #00b39f;
24+
margin-bottom: 2rem;
25+
padding: 2rem 0;
26+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
27+
.banner-content {
28+
max-width: 90%;
29+
margin: 0 auto;
30+
display: flex;
31+
justify-content: space-around;
32+
align-items: center;
33+
34+
@media (max-width: 768px) {
35+
flex-direction: column;
36+
text-align: center;
37+
gap: 1.5rem;
38+
}
39+
}
40+
div {
41+
color: white;
42+
h2 {
43+
color: white;
44+
}
45+
p {
46+
font-size: 1.1rem;
47+
opacity: 0.9;
48+
}
49+
}
50+
`;
51+
export default OpenSourceBanner;

0 commit comments

Comments
 (0)