add new layout for payments page

This commit is contained in:
akcodez
2025-08-22 11:50:48 -07:00
parent 64ed9cf3c2
commit 665d04396e
4 changed files with 74 additions and 17 deletions

View File

@@ -191,7 +191,7 @@ function FlatCard(props: { href: string; title: string; description: string; lin
);
}
function VideoCard(props: { url: string; title: string; src: string }) {
export function VideoCard(props: { url: string; title: string; src: string }) {
const { url, title, src } = props;
return (
<div className="col float-up-on-hover">

View File

@@ -1,15 +0,0 @@
---
html: payments-uc.html
parent: use-cases.html
top_nav_grouping: Article Types
metadata:
indexPage: true
seo:
description: Practical examples for using different types of payment on the XRP Ledger.
---
# Payments
Practical examples for using different types of payment on the XRP Ledger.
{% child-pages /%}

File diff suppressed because one or more lines are too long

View File

@@ -992,3 +992,75 @@ body,
.landing.page-uses {
overflow-x: hidden;
}
.use-case-payments {
margin: 100px 120px;
&__hero {
display: flex;
flex-direction: row;
justify-content: center;
gap: 80px;
align-items: center;
}
.video-content {
width: 50%;
display: flex;
align-items: stretch;
iframe {
width: 100%;
height: 100%;
min-height: 380px;
max-height: 560px;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
}
.text-content {
width: 50%;
display: flex;
flex-direction: column;
justify-content: center;
.eyebrow {
font-size: 18px;
font-style: normal;
font-weight: 700;
h2 {
font-size: 42px;
font-style: normal;
font-weight: 700;
}
p {
font-size: 24px;
font-style: normal;
font-weight: 400;
}
}
}
// Responsive design
@media (max-width: 768px) {
margin: 50px 20px;
&__hero {
flex-direction: column;
gap: 40px;
min-height: auto;
}
.video-content,
.text-content {
width: 100%;
}
.video-content iframe {
min-height: 250px;
}
}
}