Skip to content

Commit

Permalink
Fix: Improved table layout (kubeedge#677)
Browse files Browse the repository at this point in the history
Signed-off-by: harshita91 <[email protected]>
  • Loading branch information
harshita9104 committed Feb 10, 2025
1 parent 3a43a28 commit e56f83b
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 51 deletions.
37 changes: 17 additions & 20 deletions src/pages/partners/index.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
import React from "react";
import { Row, Col } from "antd";
import Layout from "@theme/Layout";
import Translate from "@docusaurus/Translate";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import PartnersData from "./partners.mdx";
import PartnersData from "@site/src/pages/partners/partners.mdx"; // Ensure correct path
import "./index.scss";

export default function Partners() {

return (
<Layout>
<div className="partners-pages">
<div className="partners-header">
<h1 className="partners">
<Translate>KubeEdge Distributions, Hosted Platforms, and Installers</Translate>
</h1>
</div>
<div className="partners-content">
<div className="partners-md">
<PartnersData />
</div>
</div>
</div>
</Layout>
);
return (
<Layout title="KubeEdge Partners">
<div className="partners-pages">
<div className="partners-header">
<h1 className="partners">
KubeEdge Distributions, Hosted Platforms, and Installers
</h1>
</div>
<div className="partners-content">
<div className="partners-md">
<PartnersData /> {/* Ensure this is used correctly */}
</div>
</div>
</div>
</Layout>
);
}
127 changes: 103 additions & 24 deletions src/pages/partners/index.scss
Original file line number Diff line number Diff line change
@@ -1,32 +1,111 @@
.partners-pages {
background-color: var(--ifm-background-color);
padding: 20px;
}

.partners-header {
height: 350px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url("/img/partners.jpg");
background-repeat: no-repeat;
background-size: cover;

.partners {
font-size: 40px;
font-weight: 700;
color: white;
}

.partners-header {
height: 350px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url("/img/partners.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
text-align: center;


.partners {
font-size: 40px;
font-weight: 700;
color: white;
}
}


.partners-content {
display: flex;
justify-content: center;
margin: 50px 0;
}


.partners-md {
width: 85%; /* Reduce width for better margins */
max-width: 1200px; /* Keep it centered */
background-color: white; /* Ensure background is visible */
padding: 20px;
border-radius: 8px; /* Slight rounding for better aesthetics */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Table Styling */
table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
margin: 20px 0; /* Add margin to keep spacing */
}


th,
td {
padding: 12px 15px;
text-align: left;
border: 1px solid #ddd;
}


th {
background-color: var(--ifm-color-primary);
color: white;
text-align: center;
}


/* Column Width Adjustments */
th:nth-child(1),
td:nth-child(1) {
/* Organization/Company */
width: 18%;
text-align: center;
}


th:nth-child(2),
td:nth-child(2) {
/* Product */
width: 15%; /* Reduced width */
text-align: center;
}


th:nth-child(3),
td:nth-child(3) {
/* Description */
width: 50%; /* Expanded */
}


th:nth-child(4),
td:nth-child(4) {
/* Website */
width: 17%;
text-align: center;
}


.partners-content {
display: flex;
justify-content: center;
margin: 50px 0;
/* Hyperlink Styling */
td a {
color: var(--ifm-color-primary);
text-decoration: none;
font-weight: bold;
}


.partners-md {
width: 60%;
}
}
}
td a:hover {
text-decoration: underline;
}
12 changes: 5 additions & 7 deletions src/pages/partners/partners.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ hide_table_of_contents: true
<span style={{fontSize:'18px', display:'block', marginBottom:'10px'}}>KubeEdge works with partners to create a strong, vibrant cloud native edge computing ecosystem. Here we have a list of <span style={{fontWeight:'bold'}}>KubeEdge Distributions, Hosted Platforms and Installers</span> with deep experience helping enterprises successfully adopt KubeEdge.</span>


<span style={{fontSize:'18px', display:'block', marginBottom:'20px'}}>To join this list (Sort alphabetically by organization/company name), please follow <a href="https://kubeedge.io/docs/community/partners" target="_blank">partners instructions</a>.</span>

| Organization/Company | Product | Description | Website |
| :-: | :-: |-------------|---------|
| DaoCloud | DaoCloud Enterprise 5.0 | DaoCloud Enterprise 5.0 (DCE 5.0) is an advanced and highly scalable cloud native operating system designed to provide a consistent and dependable experience across diverse infrastructures and environments. With its support for heterogeneous clouds, edge clouds, and multicloud management, DCE 5.0 offers unparalleled flexibility. | https://www.daocloud.io/products/standard-edition/index.html |
| Huawei Cloud | IEF | Edge computing platform built upon KubeEdge, provides extremely lightweight, edge intelligent, and powerful in terms of computing capabilities. | https://www.huaweicloud.com/product/ief.html |
| KubeSphere | KubeSphere Enterprise 4.0 | Based on the open and extensible architecture of KubeSphere LuBan, KubeSphere Enterprise 4.0 can easily achieve upstream and downstream linkage of applications, integrate various high-quality extensions from KubeSphere Marketplace anytime, and provide seamless business capabilities and highly consistent product experience. Edge computing extension based on KubeEdge provide easier-to-use and broader coverage of edge computing capabilities, solving operational issues such as node status management and relationship tree management for users. | https://kubesphere.co/kse/ |
| Organization/Company | Product | Description | Website |
| :------------------: | :-----------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| DaoCloud | DaoCloud Enterprise 5.0 | DaoCloud Enterprise 5.0 (DCE 5.0) is an advanced and highly scalable cloud native operating system designed to provide a consistent and dependable experience across diverse infrastructures and environments. With its support for heterogeneous clouds, edge clouds, and multicloud management, DCE 5.0 offers unparalleled flexibility. | [Dao Cloud](https://www.daocloud.io/products/standard-edition/index.html) |
| Huawei Cloud | IEF | Edge computing platform built upon KubeEdge, provides extremely lightweight, edge intelligent, and powerful in terms of computing capabilities. | [Huawei_Cloud](https://www.huaweicloud.com/product/ief.html) |
| KubeSphere | KubeSphere Enterprise 4.0 | Based on the open and extensible architecture of KubeSphere LuBan, KubeSphere Enterprise 4.0 can easily achieve upstream and downstream linkage of applications, integrate various high-quality extensions from KubeSphere Marketplace anytime, and provide seamless business capabilities and highly consistent product experience. Edge computing extension based on KubeEdge provide easier-to-use and broader coverage of edge computing capabilities, solving operational issues such as node status management and relationship tree management for users. | [Kubesphere ](https://kubesphere.co/kse/) |

0 comments on commit e56f83b

Please sign in to comment.