Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 3 additions & 123 deletions src/app/[locale]/members/__tests__/__snapshots__/page.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -648,79 +648,7 @@ exports[`Members page > renders correctly 1`] = `
<p
class="text-white text-sm leading-relaxed"
>
Critical to their organization's future
</p>
</div>
<div
class="flex items-start gap-3"
>
<div
class="flex-shrink-0 w-5 h-5 bg-gradient-to-r from-rose-500 to-rose-600 rounded-full flex items-center justify-center mt-0.5"
>
<svg
class="w-3 h-3 text-white"
fill="currentColor"
viewBox="0 0 20 20"
>
<path
clip-rule="evenodd"
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
fill-rule="evenodd"
/>
</svg>
</div>
<p
class="text-white text-sm leading-relaxed"
>
Invest significant resources
</p>
</div>
<div
class="flex items-start gap-3"
>
<div
class="flex-shrink-0 w-5 h-5 bg-gradient-to-r from-rose-500 to-rose-600 rounded-full flex items-center justify-center mt-0.5"
>
<svg
class="w-3 h-3 text-white"
fill="currentColor"
viewBox="0 0 20 20"
>
<path
clip-rule="evenodd"
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
fill-rule="evenodd"
/>
</svg>
</div>
<p
class="text-white text-sm leading-relaxed"
>
Committees participation
</p>
</div>
<div
class="flex items-start gap-3"
>
<div
class="flex-shrink-0 w-5 h-5 bg-gradient-to-r from-rose-500 to-rose-600 rounded-full flex items-center justify-center mt-0.5"
>
<svg
class="w-3 h-3 text-white"
fill="currentColor"
viewBox="0 0 20 20"
>
<path
clip-rule="evenodd"
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
fill-rule="evenodd"
/>
</svg>
</div>
<p
class="text-white text-sm leading-relaxed"
>
Voting rights, high-level governance, influence roadmap
For organisations that view Adoptium as critical to their future and are looking to play a leading role in shaping its direction.
</p>
</div>
</div>
Expand Down Expand Up @@ -780,31 +708,7 @@ exports[`Members page > renders correctly 1`] = `
<p
class="text-white text-sm leading-relaxed"
>
Critical to business operations
</p>
</div>
<div
class="flex items-start gap-3"
>
<div
class="flex-shrink-0 w-5 h-5 bg-gradient-to-r from-rose-500 to-rose-600 rounded-full flex items-center justify-center mt-0.5"
>
<svg
class="w-3 h-3 text-white"
fill="currentColor"
viewBox="0 0 20 20"
>
<path
clip-rule="evenodd"
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
fill-rule="evenodd"
/>
</svg>
</div>
<p
class="text-white text-sm leading-relaxed"
>
Influence the direction of the ecosystem
For organisations that rely on Adoptium in their business operations and are seeking to influence the ecosystem's direction.
</p>
</div>
</div>
Expand Down Expand Up @@ -864,31 +768,7 @@ exports[`Members page > renders correctly 1`] = `
<p
class="text-white text-sm leading-relaxed"
>
Adopts or builds on Adoptium technology
</p>
</div>
<div
class="flex items-start gap-3"
>
<div
class="flex-shrink-0 w-5 h-5 bg-gradient-to-r from-rose-500 to-rose-600 rounded-full flex items-center justify-center mt-0.5"
>
<svg
class="w-3 h-3 text-white"
fill="currentColor"
viewBox="0 0 20 20"
>
<path
clip-rule="evenodd"
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
fill-rule="evenodd"
/>
</svg>
</div>
<p
class="text-white text-sm leading-relaxed"
>
Ensures alignment with their needs
For organisations that use or build on Adoptium technology and are looking to stay engaged as it evolves.
</p>
</div>
</div>
Expand Down
23 changes: 7 additions & 16 deletions src/components/MembershipLevels/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,9 @@ describe("MembershipLevels", () => {
it("displays benefits for Strategic membership", () => {
render(<MembershipLevels />);

expect(
screen.getByText("Critical to their organization's future")
).toBeInTheDocument();
expect(
screen.getByText("Invest significant resources")
).toBeInTheDocument();
expect(screen.getByText("Committees participation")).toBeInTheDocument();
expect(
screen.getByText(
"Voting rights, high-level governance, influence roadmap"
"For organisations that view Adoptium as critical to their future and are looking to play a leading role in shaping its direction."
)
).toBeInTheDocument();
});
Expand All @@ -83,21 +76,19 @@ describe("MembershipLevels", () => {
render(<MembershipLevels />);

expect(
screen.getByText("Critical to business operations")
).toBeInTheDocument();
expect(
screen.getByText("Influence the direction of the ecosystem")
screen.getByText(
"For organisations that rely on Adoptium in their business operations and are seeking to influence the ecosystem's direction."
)
).toBeInTheDocument();
});

it("displays benefits for Participant membership", () => {
render(<MembershipLevels />);

expect(
screen.getByText("Adopts or builds on Adoptium technology")
).toBeInTheDocument();
expect(
screen.getByText("Ensures alignment with their needs")
screen.getByText(
"For organisations that use or build on Adoptium technology and are looking to stay engaged as it evolves."
)
).toBeInTheDocument();
});

Expand Down
11 changes: 3 additions & 8 deletions src/components/MembershipLevels/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ const membershipTiers: MembershipTier[] = [
pricing: "$10,000 - $50,000",
pricingNote: "(Based on corporate revenue)",
benefits: [
"Critical to their organization's future",
"Invest significant resources",
"Committees participation",
"Voting rights, high-level governance, influence roadmap",
"For organisations that view Adoptium as critical to their future and are looking to play a leading role in shaping its direction.",
],
featured: true,
},
Expand All @@ -31,8 +28,7 @@ const membershipTiers: MembershipTier[] = [
pricing: "$12,000 - $32,000",
pricingNote: "(Based on corporate revenue)",
benefits: [
"Critical to business operations",
"Influence the direction of the ecosystem",
"For organisations that rely on Adoptium in their business operations and are seeking to influence the ecosystem's direction.",
],
},
{
Expand All @@ -41,8 +37,7 @@ const membershipTiers: MembershipTier[] = [
pricing: "$0 - $15,000",
pricingNote: "(Based on corporate revenue)",
benefits: [
"Adopts or builds on Adoptium technology",
"Ensures alignment with their needs",
"For organisations that use or build on Adoptium technology and are looking to stay engaged as it evolves.",
],
},
];
Expand Down