Skip to content

Commit

Permalink
Chore: add the integrations on the index page
Browse files Browse the repository at this point in the history
Signed-off-by: barnettZQG <[email protected]>
  • Loading branch information
barnettZQG committed Nov 2, 2022
1 parent 8fdf893 commit a7a68d2
Show file tree
Hide file tree
Showing 24 changed files with 787 additions and 131 deletions.
3 changes: 3 additions & 0 deletions i18n/zh/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@
"Natively supports multi-cluster/hybrid-cloud scenarios such as progressive rollout across test/staging/production environments, automatic canary, blue-green and continuous verification, rich placement strategy across clusters and clouds, along with automated cloud environments provision.": {
"message": "原生支持丰富的多集群/混合环境持续交付策略,包括金丝雀、蓝绿、多环境差异化配置等,同样也支持跨环境交付。这些交付策略为你的分布式交付流程提供了充足的效率和安全保证。KubeVela 提供的中心化管控能力也减轻了到每一个集群(云)去排查问题的负担,针对不同的平台提供统一的体验,让你享受自动化交付的便利。"
},
"Integrated with all your tools": {
"message": "与云原生工具有效集成"
},
"KubeVela is a": {
"message": "KubeVela 是一个"
},
Expand Down
132 changes: 63 additions & 69 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,36 @@ module.exports = {
type: 'category',
label: 'Getting Started',
collapsed: false,
items: [{
type: "doc",
id: 'getting-started/introduction'
}, {
type: "category",
collapsed: true,
label: "Installation",
link: {
type: "doc",
id: 'install'
items: [
{
type: 'doc',
id: 'getting-started/introduction',
},
items: [
{
type: "doc",
label: "Standalone",
id: 'installation/standalone'
{
type: 'category',
collapsed: true,
label: 'Installation',
link: {
type: 'doc',
id: 'install',
},
{
type: "doc",
label: "Kubernetes",
id: 'installation/kubernetes'
}
]
}, {
type: "doc",
id: 'quick-start'
}
items: [
{
type: 'doc',
label: 'Standalone',
id: 'installation/standalone',
},
{
type: 'doc',
label: 'Kubernetes',
id: 'installation/kubernetes',
},
],
},
{
type: 'doc',
id: 'quick-start',
},
],
},
{
Expand Down Expand Up @@ -78,7 +81,7 @@ module.exports = {
label: 'Terraform',
collapsed: true,
link: {
type: "doc",
type: 'doc',
id: 'end-user/components/cloud-services/cloud-resource-scenarios',
},
items: [
Expand Down Expand Up @@ -111,77 +114,71 @@ module.exports = {
type: 'category',
label: 'Multi Environment Delivery',
collapsed: true,
items: ['case-studies/initialize-env', 'tutorials/multi-env'],
},
{
type: 'category',
label: 'Application Workflow',
collapsed: true,
link: {
type: 'doc',
id: 'end-user/workflow/overview',
},
items: [
'case-studies/initialize-env',
'tutorials/multi-env'
'end-user/workflow/operations',
'end-user/workflow/suspend',
'end-user/workflow/step-group',
'end-user/workflow/dependency',
'end-user/workflow/inputs-outputs',
'end-user/workflow/if-condition',
'end-user/workflow/timeout',
],
},
{
type: 'category',
label: 'GitOps',
collapsed: true,
link: {
type: "doc",
type: 'doc',
id: 'case-studies/gitops',
},
items: ['end-user/gitops/fluxcd'],
},
{
'CD Policies': [
'end-user/policies/shared-resource',
'end-user/policies/apply-once',
'end-user/policies/gc',
],
},
{
type: 'category',
label: 'CI Integration',
collapsed: true,
link: {
type: "doc",
type: 'doc',
id: 'how-to/dashboard/trigger/overview',
},
items: [
'tutorials/jenkins',
'tutorials/trigger',
],
items: ['tutorials/jenkins', 'tutorials/trigger'],
},
{
'Day-2 Operations': [
'end-user/workflow/component-dependency-parameter',
'end-user/version-control',
'tutorials/dry-run',
'tutorials/access-application',
'tutorials/debug-app',
'tutorials/cloud-shell',
'tutorials/vela-top',
],
},
'end-user/version-control',
'end-user/workflow/component-dependency-parameter',
{
type: 'category',
label: 'Application Workflow',
collapsed: true,
link: {
type: "doc",
id: 'end-user/workflow/overview',
},
items: [
'end-user/workflow/operations',
'end-user/workflow/suspend',
'end-user/workflow/step-group',
'end-user/workflow/dependency',
'end-user/workflow/inputs-outputs',
'end-user/workflow/if-condition',
'end-user/workflow/timeout',
'Application Policies': [
'end-user/policies/shared-resource',
'end-user/policies/apply-once',
'end-user/policies/gc',
],
},
{
type: 'category',
label: 'Automated Observability',
collapsed: true,
link: {
type: "doc",
id: 'platform-engineers/operations/observability'
type: 'doc',
id: 'platform-engineers/operations/observability',
},
items: [
'platform-engineers/operations/o11y/metrics',
Expand Down Expand Up @@ -212,13 +209,10 @@ module.exports = {
label: 'User Management',
collapsed: true,
link: {
type: "doc",
type: 'doc',
id: 'how-to/dashboard/user/user',
},
items: [
'tutorials/sso',
'how-to/dashboard/config/dex-connectors',
],
items: ['tutorials/sso', 'how-to/dashboard/config/dex-connectors'],
},
{
'Registry Integration': [
Expand Down Expand Up @@ -257,7 +251,7 @@ module.exports = {
label: 'Developer Guide',
collapsed: true,
link: {
type: "doc",
type: 'doc',
id: 'contributor/overview',
},
items: [
Expand All @@ -266,7 +260,7 @@ module.exports = {
label: 'Addons',
collapsed: true,
link: {
type: "doc",
type: 'doc',
id: 'platform-engineers/addon/intro',
},
items: [
Expand Down Expand Up @@ -338,8 +332,8 @@ module.exports = {
type: 'category',
label: 'Community Verified Addons',
link: {
type: "doc",
id: 'reference/addons/overview'
type: 'doc',
id: 'reference/addons/overview',
},
items: [
'reference/addons/velaux',
Expand Down
66 changes: 38 additions & 28 deletions src/components/FeatureList.js
Original file line number Diff line number Diff line change
@@ -1,34 +1,44 @@
import React from 'react';
import HomePageFeatures from '../data/features';
import Translate, { translate } from '@docusaurus/Translate';

const FeatureBlock = () => {
return (
<div className="hero">
<div className="container">
<section className="features">
<div className="container">
{
HomePageFeatures.map(({imgUrl, title, description, reverse}, index) => (
<div key={index} className="row feature">
<div className="col col--3">
<div className="text--center">
{imgUrl && <img className="featureImage" src={imgUrl} alt={title} />}
</div>
</div>
<div className="col col--9 featureDesc">
<div>
<h2>{title}</h2>
<div>{description}</div>
</div>
</div>
</div>
))
}
return (
<div className="hero">
<div className="container">
<section className="features section">
<h2 className="title">
<Translate>Highlights</Translate>
</h2>
<div className="container">
{HomePageFeatures.map(
({ imgUrl, title, description, reverse }, index) => (
<div key={index} className="row feature">
<div className="col col--3">
<div className="text--center">
{imgUrl && (
<img
className="featureImage"
src={imgUrl}
alt={title}
/>
)}
</div>
</section>
</div>
</div>
)
}
</div>
<div className="col col--9 featureDesc">
<div>
<h2>{title}</h2>
<div>{description}</div>
</div>
</div>
</div>
)
)}
</div>
</section>
</div>
</div>
);
};

export default FeatureBlock
export default FeatureBlock;
Loading

0 comments on commit a7a68d2

Please sign in to comment.