Enhance payments and tokenization pages with developer resources and layout improvements

- Integrated DeveloperResourcesSection into both payments and tokenization pages to provide developers with essential resources and community links.
- Updated payment URLs for various stablecoins to direct users to relevant external resources.
- Improved layout and styling for the payments integration section, ensuring better responsiveness and user experience.
- Refactored CSS for shared developer tools styles between payments and tokenization pages, enhancing visual consistency.
This commit is contained in:
akcodez
2025-08-26 10:15:53 -07:00
parent 9e2b88fbb8
commit 703f761a08
10 changed files with 411 additions and 147 deletions

View File

@@ -1061,7 +1061,7 @@
font-style: normal;
font-weight: 600;
line-height: 24px;
white-space: nowrap;
@include media-breakpoint-down(sm) {
display: block;
width: 100%;

View File

@@ -1470,7 +1470,8 @@ html.light {
}
}
.page-rwa-tokenization {
.page-rwa-tokenization,
.use-case-payments {
.right-arrow-item::after {
display: inline-block;
@@ -1764,10 +1765,11 @@ html.light {
height: 100%;
}
.token-developer-tools-section {
/* Developer tools styles - shared between tokenization and payments pages */
.token-developer-tools-section,
.payments-integration-section {
.developer-tools {
font-family: 'Work Sans', sans-serif;
padding: 180px 0;
color: #fff;
}
@@ -1814,7 +1816,6 @@ html.light {
/* Moves the arrow 4px to the right on hover */
}
.feature-item__title {
font-size: 16px;
color: #e0e0e1;
@@ -1833,6 +1834,8 @@ html.light {
background-color: #fff;
}
.developer-tools__image {
width: 110%;
height: 124%;
@@ -2019,83 +2022,79 @@ html.light {
min-height: 96px;
}
// Developer Resources section responsive improvements
.token-dev-resources-section {
.bottom-cards-section.bug-bounty {
// Developer Resources Section - Clean, responsive styles with high specificity
.developer-resources-section {
.bottom-cards-section.bug-bounty.section-padding {
display: flex !important;
flex-wrap: wrap !important;
gap: 40px !important;
justify-content: center !important;
max-width: 1280px;
margin: 100px auto;
padding: 0 40px;
gap: 32px;
max-width: 1200px;
margin: 80px auto;
padding: 0px;
justify-content: center;
@media (max-width: 1199px) {
gap: 32px;
margin: 80px auto;
}
@media (max-width: 991px) {
gap: 24px;
padding: 0 20px;
margin: 60px auto;
@media (min-width: 768px) {
gap: 40px;
justify-content: space-between;
}
@media (max-width: 767px) {
flex-direction: column;
align-items: center;
gap: 24px;
gap: 20px;
margin: 40px auto;
padding: 0px;
}
// High specificity to override contribute styles
.com-card {
flex: 1 1 calc(50% - 20px) !important;
min-width: 300px !important;
max-width: 600px !important;
width: auto !important;
height: auto !important;
max-height: none !important;
flex: 1 !important;
position: relative;
margin: 0 !important;
@media (max-width: 1199px) {
flex: 1 1 100% !important;
max-width: 600px !important;
}
@media (max-width: 991px) {
max-width: 500px !important;
@media (min-width: 768px) {
flex: 1 1 calc(50% - 20px) !important;
max-width: calc(50% - 20px) !important;
min-width: calc(50% - 20px) !important;
width: auto !important;
}
@media (max-width: 767px) {
min-width: 100% !important;
width: 100% !important;
max-width: 100% !important;
padding: 32px !important;
min-width: 100% !important;
margin-bottom: 0 !important;
flex: none !important;
}
.card-content {
height: 100%;
display: flex;
flex-direction: column;
height: 100%;
.card-description {
flex-grow: 1;
min-height: auto;
margin-bottom: 24px;
@media (max-width: 767px) {
margin-bottom: 20px;
}
}
.card-links {
margin-top: auto;
}
}
// Override background image positioning for responsive
.top-right-img,
.bottom-right-img {
@media (max-width: 991px) {
height: 250px;
}
@media (max-width: 767px) {
height: 200px;
@media (max-width: 767px) {
margin-top: 16px;
.com-card-link {
display: block;
margin-bottom: 12px;
&:last-child {
margin-bottom: 0;
}
}
}
}
}
}
@@ -2154,3 +2153,17 @@ html.light {
}
}
}
// RWA Tokenization page specific styles for developer resources cards - Maximum Specificity
// div.page-rwa-tokenization div.developer-resources-section.page-community section.bottom-cards-section.bug-bounty.section-padding {
// padding-left: 40px ;
// padding-right: 40px ;
// padding-top: 0 ;
// padding-bottom: 0 ;
// @media (max-width: 767px) {
// padding-left: 26px ;
// padding-right: 26px ;
// padding-top: 0 ;
// padding-bottom: 0 ;
// }
// }

View File

@@ -1218,7 +1218,7 @@ body,
@media (max-width: 768px) {
grid-template-columns: repeat(1, 1fr);
gap: 32px;
gap: 40px;
}
}
@@ -1322,12 +1322,27 @@ body,
flex-direction: column;
.project-logo img {
/* Placeholder images - use standard sizing */
width: 120px;
height: 60px;
background-color: #333;
border-radius: 8px;
content: "";
/* Battle-tested company logos */
&.coinpayments {
content: url('../img/uses/payments/coinpayments.png');
width: 99px;
height: 60px;
}
&.ripple {
content: url('../img/uses/payments/ripple-white.png');
width: 100px;
height: 30px;
margin-bottom: 11px;
margin-top: 19px;
}
&.fiipay {
content: url('../img/uses/payments/friipay.png');
width: 60px;
height: 60px;
}
}
.project-description {
@@ -1378,4 +1393,116 @@ body,
}
}
}
}
/* Payments integration section styling */
.use-case-payments .payments-integration-section {
.developer-tools {
padding: 120px 0; /* Slightly less padding than default 180px */
.container{
padding: 0;
}
.feature-item__title{
font-size: 16px;
font-weight: 400;
color: #FFF
}
}
.developer-tools__header {
margin-bottom: 80px;
&.text-center {
text-align: center;
}
}
.developer-tools__title {
font-size: 28px;
font-weight: 700;
margin-bottom: 0;
text-align: left;
}
/* Two-column layout with 48px gap */
.row {
gap: 48px;
margin: 0;
display: flex;
flex-wrap: wrap;
@media (max-width: 991px) {
flex-direction: column;
gap: 32px;
}
.col-lg-6 {
padding: 0;
flex: 1;
@media (max-width: 991px) {
flex: none;
width: 100%;
}
}
}
/* Integration column styling */
.integration-column {
padding: 0px;
.integration-column__title {
color: #FFF;
font-size: 20px;
font-weight: 700;
margin-bottom: 16px;
}
.integration-column__subtitle {
color: #E0E0E1;
font-size: 16px;
font-weight: 400;
line-height: 150%;
margin-bottom: 32px;
}
.developer-tools__list {
margin-top: 0;
}
}
/* Responsive adjustments */
@media (max-width: 991px) {
.developer-tools {
padding: 80px 0;
}
.developer-tools__header {
margin-bottom: 60px;
}
.integration-column {
padding: 0;
margin-bottom: 40px;
}
.col-lg-6:last-child .integration-column {
margin-bottom: 0;
}
}
@media (max-width: 767px) {
.developer-tools {
padding: 60px 20px;
}
.developer-tools__header {
margin-bottom: 40px;
}
.developer-tools__title {
font-size: 24px;
text-align: center;
}
}
}