You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/03/28 23:42:36 UTC

[pulsar-site] branch fix/mistaken-delete-files created (now 89906c4)

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a change to branch fix/mistaken-delete-files
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git.


      at 89906c4  fix: restore files that mistaken deleted

This branch includes the following new commits:

     new 89906c4  fix: restore files that mistaken deleted

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[pulsar-site] 01/01: fix: restore files that mistaken deleted

Posted by ur...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch fix/mistaken-delete-files
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit 89906c4613be26000b68d365e746f70a32adb3df
Author: LiLi <ur...@apache.org>
AuthorDate: Tue Mar 29 07:42:27 2022 +0800

    fix: restore files that mistaken deleted
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 site2/website-next/src/components/PillButton.js   | 15 +++++++++++++++
 site2/website-next/src/components/PromoCallout.js | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/site2/website-next/src/components/PillButton.js b/site2/website-next/src/components/PillButton.js
new file mode 100644
index 0000000..64ba48a
--- /dev/null
+++ b/site2/website-next/src/components/PillButton.js
@@ -0,0 +1,15 @@
+import React from "react";
+import { docUrl } from "../utils/index";
+
+const PillButton = (props) => {
+  return (
+    <a
+      className={`pill-btn ${props.variant}`}
+      href={props.href}
+      target={props.target}
+    >
+      {props.children}
+    </a>
+  );
+};
+export default PillButton;
diff --git a/site2/website-next/src/components/PromoCallout.js b/site2/website-next/src/components/PromoCallout.js
new file mode 100644
index 0000000..3149b94
--- /dev/null
+++ b/site2/website-next/src/components/PromoCallout.js
@@ -0,0 +1,15 @@
+import React from "react";
+import { docUrl } from "../utils/index";
+
+const PromoCallout = (props) => {
+  return (
+    <div className="promo-callout py-24 px-4 flex content-center">
+      <div className="border-solid border-2 border-gray-800 w-auto mx-auto max-w-screen-sm py-2 px-8 rounded-full text--center">
+        <strong>
+          {props.text} <a href={props.url}>{props.linkText}</a>
+        </strong>
+      </div>
+    </div>
+  );
+};
+export default PromoCallout;