Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]: Added various images for the dark and light theme for the Layer5 website also removed unwanted code within the SVG Files. #6120

Closed
wants to merge 42 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
9b7888a
Enhanced the 3-D Spinning in the catalog card
Ajay-singh1 Dec 10, 2024
de32b46
pricing
leecalcote Dec 10, 2024
9dea389
pricing
leecalcote Dec 10, 2024
19a062d
Clear subscription tier values in feature data JSON for pricing section
leecalcote Dec 10, 2024
343798c
pricing
leecalcote Dec 10, 2024
2574d89
Remove unused Button import in Kanvas visualize banner component
leecalcote Dec 10, 2024
4e480a5
pricing
leecalcote Dec 10, 2024
c4955a6
pricing
leecalcote Dec 10, 2024
b72c50f
[Docs] Generated documentation for Integration
MUzairS15 Dec 11, 2024
22851fa
Updated feature data from spreadsheet
l5io Dec 11, 2024
bc10821
pricing
leecalcote Dec 11, 2024
a847f2d
Fix wording in pricing plan description for clarity
leecalcote Dec 11, 2024
d800e17
Refactor pricing and feature names for consistency and clarity
leecalcote Dec 11, 2024
e6002c3
Update feature descriptions for improved clarity and consistency
leecalcote Dec 11, 2024
b663ebf
pricing
leecalcote Dec 11, 2024
82c3220
Updated feature data from spreadsheet
l5io Dec 12, 2024
febd9dc
pricing
leecalcote Dec 12, 2024
2c89868
Update feature JSON key for consistency in naming
leecalcote Dec 12, 2024
424cf9d
pricing
leecalcote Dec 12, 2024
6abfde4
pricing
leecalcote Dec 12, 2024
89c0b2d
pricing
leecalcote Dec 12, 2024
ef65510
pricing
leecalcote Dec 12, 2024
8426024
[Docs] Generated documentation for Integration
MUzairS15 Dec 13, 2024
aef2f66
Updated feature data from spreadsheet
l5io Dec 13, 2024
0df3080
honor some html tags in pricing features
leecalcote Dec 13, 2024
aadfec3
Refactor feature details rendering and update feature data for improv…
leecalcote Dec 13, 2024
6cb1bfd
Updated feature data from spreadsheet
l5io Dec 14, 2024
bfaa0fe
[Docs] Generated documentation for Integration
MUzairS15 Dec 15, 2024
2a8c8e5
Updated contributing.md for sistent documentation
Vidit-Kushwaha Dec 9, 2024
c962db3
add general contribution and documentation guidelines for Sistent
Vidit-Kushwaha Dec 12, 2024
7baa9cb
sistent logos
leecalcote Dec 15, 2024
a39388c
Refactor feature details rendering for improved clarity and organization
leecalcote Dec 15, 2024
9a400c8
Replace header text with Sistent logo and enhance styling for better …
leecalcote Dec 15, 2024
c7c5e77
Updated feature data from spreadsheet
l5io Dec 17, 2024
f367879
[Docs] Generated documentation for Integration
MUzairS15 Dec 18, 2024
1cd09c4
chore: transition member profile
vishalvivekm Dec 18, 2024
cce3f56
Fix typo in member profile
Ajay-singh1 Dec 18, 2024
bd3a6ba
Updated feature data from spreadsheet
l5io Dec 19, 2024
92e36fd
Migrate to generic language and away from service mesh specific language
leecalcote Dec 20, 2024
528cda3
Update index.mdx
leecalcote Dec 21, 2024
1e10815
Removed posthog dependency from the site
aakankshabhende Dec 18, 2024
842a91d
Restored posthog integration folder
aakankshabhende Dec 19, 2024
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
60 changes: 30 additions & 30 deletions .github/build/features-to-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const headers = [
"Function",
"Feature",
"Subscription Tier",
"Free Tier",
"TeamDesigner Tier",
"TeamOperator Tier",
"Enterprise Tier",
"Pricing Page?",
"Free",
"Team Designer",
"Team Operator",
"Enterprise",
"Exclude",
"Docs",
];

Expand All @@ -36,34 +36,34 @@ async function processCSV() {

const filteredData = rows.map(row => {
try {
const pricingPage = row["Pricing Page?"]?.toLowerCase() || "";
const exclude = row["Exclude"]?.toLowerCase();
const hasXTier = [
"Free Tier",
"TeamDesigner Tier",
"TeamOperator Tier",
"Enterprise Tier"]
"Free",
"Team Designer",
"Team Operator",
"Enterprise"]
.some(tier => row[tier]?.trim().toLowerCase() === "x");
const includeRow = hasXTier || (pricingPage && ["x", "X"].includes(pricingPage.toLowerCase()));
// const includeRow = hasXTier && !(exclude && ["x", "X"].includes(exclude.toLowerCase()));

if (!includeRow) return null;

return {
theme: row["Theme"],
categoryOrder: row["Category Order"],
category: row["Category"],
functionOrder: row["Function Order"],
function: row["Function"],
feature: row["Feature"],
subscription_tier: row["Subscription Tier"],
comparison_tiers: {
free: row["Free Tier"],
teamDesigner: row["TeamDesigner Tier"],
teamOperator: row["TeamOperator Tier"],
enterprise: row["Enterprise Tier"],
},
pricing_page: row["Pricing Page?"],
docs: row["Docs"]
};
// if (!includeRow) return null;
if (!exclude) {
return {
theme: row["Theme"],
categoryOrder: row["Category Order"],
category: row["Category"],
functionOrder: row["Function Order"],
function: row["Function"],
feature: row["Feature"],
subscription_tier: row["Subscription Tier"],
comparison_tiers: {
free: row["Free"],
teamDesigner: row["Team Designer"],
teamOperator: row["Team Operator"],
enterprise: row["Enterprise"],
},
docs: row["Docs"]
};
}
} catch (error) {
console.error("Error processing row:", row, error);
return null;
Expand Down
32 changes: 32 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ We are beyond excited to see that you want to contribute! We would love to accep
- [Before You Get Started](#before-you-get-started)
- [Contributing to Layer5 Projects](#contributing-to-layer5-projects)
- [Contributing to Layer5's Blogs](#contributing-to-layer5s-blogs)
- [Contributing to Layer5's Sistent](#contributing-to-layer5s-sistent)
- [How to Contribute](#how-to-contribute)
- [Prerequisites](#prerequisites)
- [Set up your Local Development Environment](#set-up-your-local-development-environment)
Expand Down Expand Up @@ -129,6 +130,37 @@ If you'd like to contribute a post to layer5.io/blog, please open an Issue and s
3. Follow the instructions included in the news template and name the new file after the title of the news article.
4. Entries will be listed in chronological order automatically.

# Contributing to Layer5's Sistent

If you'd like to contribute to Sistent, start by selecting the project/sistent label in the [#GitHub issue tracker](https://github.com/layer5io/layer5/labels/project%2Fsistent).

### General Contribution Guidelines

1. Select the [project/sistent](https://github.com/layer5io/layer5/labels/project%2Fsistent) label in the GitHub issue tracker.
1. Navigate to the relevant directory, such as:
```
src/sections/Projects/Sistent
```
> Note: For other parts of the project, the file path may vary. Ensure you're working in the correct file associated with the area you're contributing to.
1. Add or update content. The system dynamically generates pages and routes to maintain consistency.

### Adding Sistent Component

We've streamlined the process by introducing a dynamic page creation workflow, simplifying the addition of new pages and ensuring a consistent structure for all contributions.

1. Navigate to the relevant directory, such as:
```
src/sections/Projects/Sistent
```
1. To add a new page, simply update this `content.js` file with the necessary details. All content is managed in a centralized file:
```
src/sections/Projects/Sistent/components/content.js
```
1. The system will dynamically generate pages based on this content and handle routing automatically.

### Example
Refer to the [**Button component**](https://layer5.io/projects/sistent/components/button) in the Sistent Library for an example of how to structure the content.

# Common Types of Site Contributions

The following list of instructions pertains to commonplace site updates by contributors.
Expand Down
15 changes: 0 additions & 15 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import "./fonts.css";
import posthog from "posthog-js";

document.addEventListener("DOMContentLoaded", () => {
/** init gtm after 3500 seconds - this could be adjusted */
Expand Down Expand Up @@ -29,19 +28,5 @@ function initGTM() {
document.head.appendChild(script);
}

export const onClientEntry = () => {
if (process.env.NODE_ENV === "production") {
posthog.init("phc_Yynjz2lAiQDJFqTWeGT0FJrt50hl53WBx8do3eKImgX",
{
api_host: "https://us.i.posthog.com",
person_profiles: "always",
autocapture: {
url_ignorelist: ["community/newcomers", "/calendar", "/newcomers"]
}
}
);
}
};

export { wrapRootElement } from "./root-wrapper";
export { wrapPageElement } from "./page-wrapper";
Loading
Loading