forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[website][upgrade]feat: team page and some bug fix about version swit…
…ch (apache#13731)
- Loading branch information
1 parent
2955430
commit a9f810c
Showing
5 changed files
with
117 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import * as React from "react"; | ||
import Table from "@mui/material/Table"; | ||
import TableBody from "@mui/material/TableBody"; | ||
import TableCell from "@mui/material/TableCell"; | ||
import TableRow from "@mui/material/TableRow"; | ||
import Link from "@mui/material/Link"; | ||
// import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; | ||
import Translate, { translate } from "@docusaurus/Translate"; | ||
|
||
export default function VersionsTable(props) { | ||
// const { siteConfig } = useDocusaurusContext(); | ||
return ( | ||
<Table size="small"> | ||
<TableBody> | ||
<TableRow key="header"> | ||
{["Name", "Apache Id", "Roles"].map((header) => ( | ||
<TableCell | ||
className="border-gray-300 font-bold" | ||
sx={{ border: 1, color: "inherit" }} | ||
align="left" | ||
key={header} | ||
> | ||
<Translate>{header}</Translate> | ||
</TableCell> | ||
))} | ||
</TableRow> | ||
{props.data.map((row, index) => ( | ||
<TableRow key={index}> | ||
<TableCell | ||
className="border-gray-300 font-bold" | ||
sx={{ border: 1, color: "inherit" }} | ||
align="left" | ||
> | ||
{row.name} | ||
</TableCell> | ||
<TableCell | ||
className="border-gray-300 font-bold" | ||
sx={{ border: 1, color: "inherit" }} | ||
align="left" | ||
> | ||
{row.apacheId} | ||
</TableCell> | ||
<TableCell | ||
className="border-gray-300 font-bold" | ||
sx={{ border: 1, color: "inherit" }} | ||
align="left" | ||
> | ||
{row.roles} | ||
</TableCell> | ||
</TableRow> | ||
))} | ||
</TableBody> | ||
</Table> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import * as React from "react"; | ||
import Layout from "@theme/Layout"; | ||
import TeamTable from "../components/TeamTable"; | ||
import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; | ||
import Translate, { translate } from "@docusaurus/Translate"; | ||
import team from "../../data/team"; | ||
|
||
export default function page(props) { | ||
return ( | ||
<Layout> | ||
<div className="tailwind"> | ||
<div className="my-12 container"> | ||
<header className="postHeader"> | ||
<h1> | ||
<translate>Team</translate> | ||
</h1> | ||
<hr /> | ||
</header> | ||
<p> | ||
<translate> | ||
A successful project requires many people to play many roles. Some | ||
write code or documentation, while others are valuable as testers, | ||
submitting patches and suggestions. | ||
</translate> | ||
</p> | ||
<p> | ||
<translate> | ||
The team is comprised of PMC members, Committers and Contributors. | ||
Committers have direct access to the source of a project and | ||
actively evolve the codebase. Contributors improve the project | ||
through submission of patches and suggestions to be reviewed by | ||
the Committers. The number of Committers and Contributors to the | ||
project is unbounded. Get involved today. All contributions to the | ||
project are greatly appreciated. | ||
</translate> | ||
</p> | ||
|
||
<h2> | ||
<translate>Committers</translate> | ||
</h2> | ||
<p> | ||
<translate> | ||
The following is a list of developers with commit privileges that | ||
have directly contributed to the project in one way or another. | ||
</translate> | ||
</p> | ||
<TeamTable data={team.committers} /> | ||
</div> | ||
</div> | ||
</Layout> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters