Compare commits

...

7 Commits

Author SHA1 Message Date
Rome Reginelli
8d2d3850ec Merge pull request #3368 from XRPLF/rwa-updates
Refactor RWA tokenization buttons
2025-10-29 12:20:26 -07:00
akcodez
c7961f692e use Link component for link 2025-10-29 12:17:21 -07:00
akcodez
dbcdb508aa add arrow to get started now 2025-10-29 12:15:59 -07:00
akcodez
982386d0f6 Update CompanyLogo component to use anchor tag for external links, enhancing accessibility and security with target and rel attributes. 2025-10-29 07:36:34 -07:00
akcodez
9dde1114ca remove arrow from internal link 2025-10-29 07:32:47 -07:00
akcodez
4ee47a63dc fix css build issues 2025-10-29 07:29:41 -07:00
akcodez
5f3dc85e5b Refactor tokenization page layout and styles; update button structure and link behavior for improved responsiveness and user experience. 2025-10-27 12:11:40 -07:00
3 changed files with 65 additions and 23 deletions

View File

@@ -162,9 +162,7 @@ function RwaTokenizationFeatures() {
<div className="container max-w-1150">
<header className="rwa-header">
<h2 className="rwa-title">
{translate(
"Defining Features on XRPL"
)}
{translate("Defining Features on XRPL")}
</h2>
</header>
<div className="feature-grid">
@@ -239,8 +237,10 @@ function DeveloperTools() {
function CompanyLogo({ className, alt, aspectRatio, link }) {
return (
<div
onClick={() => window.open(link, "_blank")}
<Link
to={link}
target="_blank"
rel="noopener noreferrer"
className={`company-logo ${className}`}
role="img"
aria-label={alt}
@@ -255,9 +255,7 @@ function UpcomingEvents() {
<section className="token-events-wrapper">
<div className="upcoming-events">
<h2 className="upcoming-events__title">
{translate(
"Trusted by Leaders in Real-World Asset Tokenization"
)}
{translate("Trusted by Leaders in Real-World Asset Tokenization")}
</h2>
<div className="upcoming-events__logo-container">
{companies.map((company, index) => (
@@ -412,14 +410,20 @@ function TokenHeroSection() {
<h1 className="token-title">
{translate("Real-World Asset (RWA) Tokenization")}
</h1>
<div className="d-lg-block small-100 ">
<div className="button-container">
<Link
className="btn btn-primary btn-arrow-out"
className="btn btn-primary p-12 btn-arrow-out"
target="_blank"
to="/docs/use-cases/tokenization/creating-an-asset-backed-multi-purpose-token"
to="/static/pdf/Whitepaper_the_future_of_asset_tokenization.pdf"
>
{translate("Get Started Now")}
</Link>
<Link
className="internal-link"
to="/docs/use-cases/tokenization/creating-an-asset-backed-multi-purpose-token"
>
{translate("Explore Institutional Solutions")}
</Link>
</div>
</div>
</section>
@@ -467,7 +471,7 @@ export default function RwaTokenization() {
url: "https://xrplresources.org/subscribe",
},
],
backgroundClass: "learn-stay-updated"
backgroundClass: "learn-stay-updated",
},
];

File diff suppressed because one or more lines are too long

View File

@@ -1521,8 +1521,46 @@ html.light {
flex-direction: column;
align-items: center;
justify-content: center;
.button-container {
display: flex;
flex-wrap: wrap;
gap: 32px;
justify-content: center;
align-items: center;
.internal-link {
color: #9a52ff;
font-size: 16px;
font-style: normal;
font-weight: 700;
text-decoration: none;
cursor: pointer;
display: inline-flex;
align-items: center;
background: none !important;
}
@media (max-width: 767px) {
padding-bottom: 0px;
gap: 16px;
flex-direction: column;
width: 100%;
.btn-primary.p-12 {
width: 100%;
}
.internal-link {
width: 100%;
text-align: center;
white-space: normal;
}
}
.btn-primary.p-12 {
padding: 12px;
}
}
}