visortelle commented on code in PR #789:
URL: https://github.com/apache/pulsar-site/pull/789#discussion_r1488438034
##########
src/components/pages/CommunityPage/sections/how-to-contribute/HowToContribute.tsx:
##########
@@ -1,79 +1,92 @@
import useBaseUrl from "@docusaurus/useBaseUrl";
import React from "react";
-import { ContentCardProps } from "../../shared/ContentCard/ContentCard";
+import ContentCard, { ContentCardProps } from
"../../shared/ContentCard/ContentCard";
import ContentCardsLayout from "../../shared/ContentCard/ContentCardsLayout";
+import Slider from '@site/src/components/ui/Slider/Slider';
+import BrowserOnly from "@docusaurus/BrowserOnly";
+
+import s from "./HowToContribute.module.css";
+
const HowToContribute: React.FC = () => {
const contentCards: ContentCardProps[] = [
{
+ format: "column",
title: "Contributing to the Project",
+ image: {
+ src: useBaseUrl("/img/community_blt.svg"),
+ },
description: (
- <>
- Pulsar has many different opportunities for contributions -- you can
- write new examples/tutorials, add new user-facing libraries, write
new
- Pulsar IO connectors, participate in documentation, and more."
- </>
+ <div>
+ Pulsar has many different opportunities for contributions -- you can
write new examples/tutorials, add new user-facing libraries, write new Pulsar
IO connectors, participate in documentation, and more.
+ </div>
),
actions: [
{
id: "contributing-to-the-project",
href: useBaseUrl("/contribute"),
text: "Contribution guide",
- type: "primary",
+ type: "transparentblack",
Review Comment:
`transparentblack` => `transparentBlack"`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]