This is an automated email from the ASF dual-hosted git repository.
apratim pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb-site.git
The following commit(s) were added to refs/heads/master by this push:
new 4f68fe4 Added Non-ASF badge
new de0ba02 Merge branch 'master' of
https://github.com/apache/incubator-resilientdb-site
4f68fe4 is described below
commit 4f68fe4151ad12cfa91976e5605bb362395c6c7a
Author: Apratim Shukla <[email protected]>
AuthorDate: Tue Jun 4 15:38:37 2024 -0700
Added Non-ASF badge
---
src/components/Download/DownloadBox.tsx | 3 +++
src/components/Download/index.tsx | 2 +-
src/styles/index.css | 19 +++++++++++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/src/components/Download/DownloadBox.tsx
b/src/components/Download/DownloadBox.tsx
index 83febf1..8b58d91 100644
--- a/src/components/Download/DownloadBox.tsx
+++ b/src/components/Download/DownloadBox.tsx
@@ -37,6 +37,9 @@ const DownloadBox = (props: {
<a href={signLink} className="badge-download">
Sign
</a>
+ <span className="badge-asf">
+ Non-ASF release
+ </span>
</div>
</div>
<div>{children}</div>
diff --git a/src/components/Download/index.tsx
b/src/components/Download/index.tsx
index 6337341..97bda4d 100644
--- a/src/components/Download/index.tsx
+++ b/src/components/Download/index.tsx
@@ -25,7 +25,7 @@ const Download = () => {
<div className="container">
<SectionTitle
title="Download"
- paragraph="Download Apache ResilientDB (Incubating)"
+ paragraph="Download Non-ASF release of Apache ResilientDB
(Incubating) "
center
width="665px"
/>
diff --git a/src/styles/index.css b/src/styles/index.css
index 1fb4736..1688688 100644
--- a/src/styles/index.css
+++ b/src/styles/index.css
@@ -222,4 +222,23 @@
display: inline-block;
margin-bottom: 2rem;
height: 100px;
+}
+
+.badge-asf {
+ display: inline-block;
+ padding: 0.25rem 0.5rem;
+ margin-right: 0.5rem;
+ margin-bottom: 0.5rem;
+ font-size: 0.875rem;
+ font-weight: 600;
+ color: #fff;
+ background-color: #e5602b;
+ border-radius: 0.25rem;
+ text-decoration: none;
+ transition: background-color 0.3s;
+ cursor: pointer;
+}
+
+.badge-asf:hover {
+ background-color: #d3460e;
}
\ No newline at end of file