community card updates

This commit is contained in:
akcodez
2024-08-01 11:29:00 -07:00
parent 7ba3a8e75c
commit c109a1e18b
3 changed files with 25 additions and 4 deletions

View File

@@ -658,8 +658,13 @@ const CommunityPage: React.FC = () => {
</h6> </h6>
<p className="card-description"> <p className="card-description">
{translate( {translate(
"RippleX's Bug Bounty, part of Ripple's 1 Billion XRP pledge, strengthens XRP Ledger security and supports its ecosystem. Use this program to report bugs in RippleX/rippled. Send a detailed report of a qualifying bug to bugs@ripple.com and use the bugs@ripple.com Public Key." "RippleX's Bug Bounty, part of Ripple's 1 Billion XRP pledge, strengthens XRP Ledger security and supports its ecosystem."
)} )}
<p className="card-description">
{
translate("Use this program to report bugs in RippleX/rippled. Send a detailed report of a qualifying bug to bugs@ripple.com and use the bugs@ripple.com Public Key.")
}
</p>
</p> </p>
<div className="card-links"> <div className="card-links">
<Link <Link
@@ -676,7 +681,7 @@ const CommunityPage: React.FC = () => {
<img className="bottom-right-img bug-bounty-card-bg-2" alt="Bottom Right Image" /> <img className="bottom-right-img bug-bounty-card-bg-2" alt="Bottom Right Image" />
<div className="card-content"> <div className="card-content">
<h6 className="card-title">{translate("Report a Scam")}</h6> <h6 className="card-title">{translate("Report a Scam")}</h6>
<h6 className="card-subtitle"> <h6 className="card-subtitle pr-bt28">
{translate( {translate(
"Report Scams to Safeguard Our Community" "Report Scams to Safeguard Our Community"
)} )}
@@ -750,7 +755,7 @@ const CommunityPage: React.FC = () => {
<img className="bottom-right-img" alt="Bottom Right Image" /> <img className="bottom-right-img" alt="Bottom Right Image" />
<div className="card-content"> <div className="card-content">
<h6 className="card-title">{translate("XRPL Careers")}</h6> <h6 className="card-title">{translate("XRPL Careers")}</h6>
<h6 className="card-subtitle"> <h6 className="card-subtitle pr-bt16">
{translate( {translate(
"Discover your next career opportunity in the XRPL community" "Discover your next career opportunity in the XRPL community"
)} )}

File diff suppressed because one or more lines are too long

View File

@@ -946,6 +946,14 @@
height: 442px; height: 442px;
} }
} }
.pr-bt16{
position: relative;
bottom: 16px;
}
.pr-bt28{
position: relative;
bottom: 28px;
}
.bottom-cards-section { .bottom-cards-section {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@@ -1088,6 +1096,14 @@
/* Media query for mobile view */ /* Media query for mobile view */
@media (max-width: 768px) { @media (max-width: 768px) {
.pr-bt28{
position: relative;
bottom: 0px;
}
.pr-bt16{
position: relative;
bottom: 0px;
}
.bottom-cards-section { .bottom-cards-section {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;