- Explore the Cloud Native Computing Foundation's graduated, incubation, and sandbox projects as well as many other popular open source projects. Use Meshery Playground to explore a new way of DevOps - visual and collaborative configuration management for your infrastructure.
+ Explore the Cloud Native Computing Foundation's graduated, incubation, and sandbox
+ projects as well as many other popular open source projects. Use Meshery Playground to
+ explore a new way of DevOps - visual and collaborative configuration management for
+ your infrastructure.
@@ -64,6 +64,6 @@ const App = () => {
>
);
-}
+};
export default App;
diff --git a/site/src/App.style.js b/site/src/App.style.js
index dae7262..89f204c 100644
--- a/site/src/App.style.js
+++ b/site/src/App.style.js
@@ -1,4 +1,4 @@
-import styled from "styled-components";
+import styled from 'styled-components';
export const Header = styled.header`
position: sticky;
diff --git a/site/src/assets/data/faq/index.js b/site/src/assets/data/faq/index.js
index 69c7c22..f1eb705 100644
--- a/site/src/assets/data/faq/index.js
+++ b/site/src/assets/data/faq/index.js
@@ -15,9 +15,8 @@ const data = {
*/
{
- question:
- "Why do I need to sign-up/register to use the Cloud Native Playground?",
- category: "Meshery Playground",
+ question: 'Why do I need to sign-up/register to use the Cloud Native Playground?',
+ category: 'Meshery Playground',
answer: `
- The Playground is connected to live Kubernetes clusters, and while these clusters are refreshed on a daily basis, the clusters do need to be protected from nefarious actors, who might use these clusters for cryptomining, for example.
- Sign-up to receive a user account, entitled with perpetually free and full access the Playground environment.
@@ -25,26 +24,24 @@ const data = {
`,
},
{
- question:
- "Will I lose my Meshery designs in the Cloud Native Playground?",
- category: "Meshery Playground",
+ question: 'Will I lose my Meshery designs in the Cloud Native Playground?',
+ category: 'Meshery Playground',
answer: `
- No, all of the designs that you have created in the Meshery Playground are saved to your user account and will be available to you each time that you sign into your account. Your designs will be available in the Meshery Playground and any your other Meshery deployments, too.
- In other words, all work done in MeshMap Designer is persisted to your user account.
`,
},
{
- question:
- "Will I lose my Meshery deployments in the Cloud Native Playground?",
- category: "Meshery Playground",
+ question: 'Will I lose my Meshery deployments in the Cloud Native Playground?',
+ category: 'Meshery Playground',
answer: `
- Yes, the Meshery Playground clusters are reset on a daily basis. However, only deployments (not designs) that you may have created will be lost.
- In other words, only MeshMap Visualizer is reset. All of your work in Meshery UI and MeshMap Designer will remain in your user account.
`,
},
{
- question: "Is Meshery open source?",
- category: "Meshery Playground",
+ question: 'Is Meshery open source?',
+ category: 'Meshery Playground',
answer: `
- Yes, Meshery is a Cloud Native Computing Foundation (CNCF) project and is licensed under Apache v2.
- As the extensible cloud native manager, Meshery is a pluggable platform, offering multiple extension points within which users and partners (ISVs) can customize and extend Meshery's functionality under the same or different license(s), offering commercial and non-commericial extensions.
@@ -60,26 +57,26 @@ const data = {
// },
{
question:
- "Are designs that I create in the Meshery Playground saved or will I lose any work that I do in the playground?",
- category: "Meshery Playground",
+ 'Are designs that I create in the Meshery Playground saved or will I lose any work that I do in the playground?',
+ category: 'Meshery Playground',
answer: `
- Yes, all of the designs that you have created in the Meshery Playground are saved to your user account and will be available to you each time that you return to the Playground. The designs will also be available in your other Meshery deployments.
`,
},
{
- question: "Can I deploy the Meshery on-premises?",
- category: "Meshery Playground",
+ question: 'Can I deploy the Meshery on-premises?',
+ category: 'Meshery Playground',
answer: `
- Yes, Meshery can be deployed on-premises with a single command to download, install, and run your own instance of Meshery in your environment.
- See all supported platforms to deploy your own Meshery instance at https://meshery.io
`,
- link: "https://meshery.io",
- linktext: "Get Started with Meshery",
+ link: 'https://meshery.io',
+ linktext: 'Get Started with Meshery',
},
{
question:
- "When I add my Kubernetes cluster to the Meshery Playground will it be available to all other users? Can other people access my cluster?",
- category: "Meshery Playground",
+ 'When I add my Kubernetes cluster to the Meshery Playground will it be available to all other users? Can other people access my cluster?',
+ category: 'Meshery Playground',
answer: `
No, they can't, unless you explicitly allow them to do so. It's important to understand the following controls and system behavior:
- **Ownership**: Every connection to a Kubernetes cluster is created by and owned by the individual that provided the Kubernetes context. That individual may elect to share the connection with others on their team (if you have invited anyone to your team(s)).
@@ -89,8 +86,8 @@ No, they can't, unless you explicitly allow them to do so. It's important to und
- The other user signs into your Meshery Server instance, which has network access to your Kubernetes cluster. In order for the other user to sign into your Meshery Server, you would have to expose it to the Internet or VPN or… one of the many other ways to grant them access to your Meshery Server.
So, in short, you can share access to your Kubernetes cluster with other users, but you have to explicitly grant them access to do so. For more information please visit Remote Provider Permissions - https://docs.meshery.io/extensibility/authorization.
`,
- link: "https://meshery.io",
- linktext: "Get Started with Meshery",
+ link: 'https://meshery.io',
+ linktext: 'Get Started with Meshery',
},
],
};
diff --git a/site/src/components/Discuss-Callout/discuss.style.js b/site/src/components/Discuss-Callout/discuss.style.js
index d62b084..5a88b93 100644
--- a/site/src/components/Discuss-Callout/discuss.style.js
+++ b/site/src/components/Discuss-Callout/discuss.style.js
@@ -1,4 +1,4 @@
-import styled from "styled-components";
+import styled from 'styled-components';
const DiscussWrapper = styled.div`
background-color:none;
diff --git a/site/src/components/Discuss-Callout/index.js b/site/src/components/Discuss-Callout/index.js
index 9a0d0d6..7f700e3 100644
--- a/site/src/components/Discuss-Callout/index.js
+++ b/site/src/components/Discuss-Callout/index.js
@@ -1,7 +1,7 @@
-import React from "react";
-import DiscussWrapper from "./discuss.style";
+import React from 'react';
+import DiscussWrapper from './discuss.style';
-import Discuss from "../../assets/images/meshery-learn-logo-white.png";
+import Discuss from '../../assets/images/meshery-learn-logo-white.png';
const DiscussCallout = () => {
return (
@@ -14,7 +14,9 @@ const DiscussCallout = () => {
Join the Conversation
Ask questions, find answers and share knowledge on our Discussion Forum
-
+
diff --git a/site/src/components/Faq/faqSection.style.js b/site/src/components/Faq/faqSection.style.js
index 213c2ce..c788951 100644
--- a/site/src/components/Faq/faqSection.style.js
+++ b/site/src/components/Faq/faqSection.style.js
@@ -1,4 +1,4 @@
-import styled from "styled-components";
+import styled from 'styled-components';
const FaqSectionWrapper = styled.section`
margin: 2.5rem auto;
@@ -72,8 +72,8 @@ const FaqSectionWrapper = styled.section`
font-size: 20px;
width: 80%;
padding: 1rem;
- border: 1px solid #FFFFFF;
- background-color: #F0F0F0;
+ border: 1px solid #ffffff;
+ background-color: #f0f0f0;
border-radius: 1.25rem;
}
}
diff --git a/site/src/components/Faq/index.js b/site/src/components/Faq/index.js
index 5b9b071..fab9d29 100644
--- a/site/src/components/Faq/index.js
+++ b/site/src/components/Faq/index.js
@@ -1,8 +1,8 @@
-import React from "react";
-import data from "../../assets/data/faq";
-import FaqSectionWrapper from "./faqSection.style";
-import Button from "../../reusecore/Button";
-import { IoIosArrowDown, IoIosArrowUp } from "react-icons/io";
+import React from 'react';
+import data from '../../assets/data/faq';
+import FaqSectionWrapper from './faqSection.style';
+import Button from '../../reusecore/Button';
+import { IoIosArrowDown, IoIosArrowUp } from 'react-icons/io';
import {
Accordion,
AccordionItem,
@@ -11,30 +11,29 @@ import {
IconWrapper,
OpenIcon,
CloseIcon,
-} from "../../reusecore/Accordion";
+} from '../../reusecore/Accordion';
-import Markdown from "react-markdown";
-import remarkGfm from "remark-gfm";
+import Markdown from 'react-markdown';
+import remarkGfm from 'remark-gfm';
const Faq = (props) => {
let faq_keys = [];
- let faqs_data = [];
- if (props.category === undefined) {
+ let faqs_data = [];
+ if (props.category === undefined) {
+ faqs_data = data.faqs;
+ } else {
+ props.category.forEach((item) => {
+ if (item === 'all') {
faqs_data = data.faqs;
- } else {
- props.category.forEach(item => {
- if (item === "all") {
- faqs_data = data.faqs;
- }
- else {
- data.faqs.forEach(faq => {
- if (faq.category.toString() === item) {
- faqs_data.push(faq);
- }
- })
- }
- });
- }
+ } else {
+ data.faqs.forEach((faq) => {
+ if (faq.category.toString() === item) {
+ faqs_data.push(faq);
+ }
+ });
+ }
+ });
+ }
let faqs = faqs_data.reduce((faq, ind) => {
faq[ind.category] = [...(faq[ind.category] || []), ind];
@@ -45,17 +44,14 @@ const Faq = (props) => {
return (
-
- {faq_keys.map((key) => (
- <>
-