4d30803b60
Add static site, shared layout, and Node dev server with standard .gitignore. Co-authored-by: Cursor <cursoragent@cursor.com>
309 lines
8.9 KiB
HTML
309 lines
8.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Payment Methods Module</title>
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<style>
|
|
/* Static layout — matches temp/底部栏 Frame1000008818 (no marquee scroll) */
|
|
:root {
|
|
--pm2-bg: #070400;
|
|
--pm2-accent: #f98715;
|
|
--pm2-text: #f9f9f9;
|
|
--pm2-card-bg: rgba(255, 255, 255, 0.06);
|
|
--pm2-card-border: rgba(255, 255, 255, 0.06);
|
|
--pm2-card-empty-border: rgba(255, 255, 255, 0.08);
|
|
--pm2-card-w: 126px;
|
|
--pm2-card-h: 72px;
|
|
--pm2-card-radius: 15px;
|
|
--pm2-card-border-w: 1.286px;
|
|
--pm2-gap: 16px;
|
|
--pm2-scale: 1;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
background: var(--pm2-bg);
|
|
color: var(--pm2-text);
|
|
}
|
|
|
|
.pm2-section {
|
|
background: var(--pm2-bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 30px;
|
|
padding: 60px 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.pm2-section {
|
|
gap: 50px;
|
|
padding: 80px 32px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.pm2-section {
|
|
padding: 80px 156px;
|
|
}
|
|
}
|
|
|
|
.pm2-title {
|
|
margin: 0;
|
|
font-weight: 700;
|
|
font-size: 36px;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.75px;
|
|
text-align: center;
|
|
color: var(--pm2-text);
|
|
}
|
|
|
|
.pm2-title-accent {
|
|
color: var(--pm2-accent);
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.pm2-title {
|
|
font-size: 55px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.pm2-title {
|
|
font-size: 75px;
|
|
line-height: 1.2;
|
|
}
|
|
}
|
|
|
|
.pm2-rows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--pm2-gap);
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pm2-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
gap: var(--pm2-gap);
|
|
width: 100%;
|
|
}
|
|
|
|
.pm2-card {
|
|
width: var(--pm2-card-w);
|
|
height: var(--pm2-card-h);
|
|
border-radius: var(--pm2-card-radius);
|
|
background: var(--pm2-card-bg);
|
|
border: var(--pm2-card-border-w) solid var(--pm2-card-border);
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pm2-card img,
|
|
.pm2-card svg {
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.pm2-card img {
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
.pm2-card__visa img {
|
|
width: calc(86px * var(--pm2-scale));
|
|
max-height: calc(28px * var(--pm2-scale));
|
|
}
|
|
|
|
.pm2-card__mastercard img,
|
|
.pm2-card__amex img {
|
|
width: calc(66px * var(--pm2-scale));
|
|
max-height: calc(66px * var(--pm2-scale));
|
|
}
|
|
|
|
.pm2-card__amex img {
|
|
width: calc(73px * var(--pm2-scale));
|
|
}
|
|
|
|
.pm2-card__brand img {
|
|
width: calc(42px * var(--pm2-scale));
|
|
height: calc(42px * var(--pm2-scale));
|
|
border-radius: calc(8px * var(--pm2-scale));
|
|
object-fit: cover;
|
|
}
|
|
|
|
.pm2-card__wallet img {
|
|
max-width: 78%;
|
|
max-height: 55%;
|
|
}
|
|
|
|
.pm2-card__crypto img {
|
|
width: calc(44px * var(--pm2-scale));
|
|
height: calc(44px * var(--pm2-scale));
|
|
image-rendering: auto;
|
|
-webkit-backface-visibility: hidden;
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
/* Empty slots: border only, no fill — matches Frame8/Frame21 in Figma */
|
|
.pm2-card--empty {
|
|
background: transparent;
|
|
border-color: var(--pm2-card-empty-border);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Tablet: hide decorative empty slots so logo rows fit */
|
|
@media (max-width: 1023px) {
|
|
.pm2-card--empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* Mobile title & section spacing — match payout floors
|
|
* (display-4 @2rem, py-5, mb-5 from theme.css ≤768px)
|
|
*/
|
|
@media (max-width: 768px) {
|
|
.pm2-section {
|
|
gap: 0;
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
.pm2-title {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
letter-spacing: normal;
|
|
margin: 0 0 3rem;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* Mobile grid: single 2-column layout (rows use display:contents)
|
|
*/
|
|
@media (max-width: 639px) {
|
|
:root {
|
|
--pm2-gap: 12px;
|
|
--pm2-card-radius: 12px;
|
|
--pm2-card-border-w: 1px;
|
|
--pm2-scale: 1;
|
|
}
|
|
|
|
.pm2-rows {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 148px));
|
|
justify-content: center;
|
|
gap: var(--pm2-gap);
|
|
width: 100%;
|
|
max-width: 320px;
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.pm2-row {
|
|
display: contents;
|
|
}
|
|
|
|
.pm2-card {
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 126 / 72;
|
|
}
|
|
|
|
.pm2-card__visa img,
|
|
.pm2-card__mastercard img,
|
|
.pm2-card__amex img,
|
|
.pm2-card__wallet img,
|
|
.pm2-card__crypto img {
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 74%;
|
|
max-height: 74%;
|
|
}
|
|
|
|
.pm2-card__wallet img {
|
|
max-width: 78%;
|
|
max-height: 56%;
|
|
}
|
|
|
|
.pm2-card__brand img {
|
|
width: 40%;
|
|
height: 40%;
|
|
max-width: 40%;
|
|
max-height: 40%;
|
|
border-radius: 18%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 359px) {
|
|
.pm2-rows {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<section class="pm2-section" data-payment-methods-module id="payment-methods-module">
|
|
<h2 class="pm2-title">
|
|
<span>Payment </span><span class="pm2-title-accent">Methods</span>
|
|
</h2>
|
|
|
|
<div class="pm2-rows">
|
|
<!-- Row 1: blank, blank, Visa, MasterCard, AmEx, image-13, blank -->
|
|
<div class="pm2-row">
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card__visa"><img src="/assets/images/payment-methods/visa.svg" alt="Visa" /></div>
|
|
<div class="pm2-card pm2-card__mastercard"><img src="/assets/images/payment-methods/mastercard.svg" alt="MasterCard" /></div>
|
|
<div class="pm2-card pm2-card__amex"><img src="/assets/images/payment-methods/amex.svg" alt="American Express" /></div>
|
|
<div class="pm2-card pm2-card__brand"><img src="/assets/images/payment-methods/image-13.png" alt="" /></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
</div>
|
|
|
|
<!-- Row 2: blank, blank, blank, Apple Pay, Google Pay, blank, blank, blank -->
|
|
<div class="pm2-row">
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card__wallet"><img src="/assets/images/payment-methods/apple-pay.svg" alt="Apple Pay" /></div>
|
|
<div class="pm2-card pm2-card__wallet"><img src="/assets/images/payment-methods/google-pay.svg" alt="Google Pay" /></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
</div>
|
|
|
|
<!-- Row 3: blank, Bitcoin, Ethereum, Tether, USDC, blank, blank -->
|
|
<div class="pm2-row">
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card__crypto"><img src="/assets/images/payment-methods/bitcoin.svg" alt="Bitcoin" /></div>
|
|
<div class="pm2-card pm2-card__crypto"><img src="/assets/images/payment-methods/ethereum.svg" alt="Ethereum" /></div>
|
|
<div class="pm2-card pm2-card__crypto"><img src="/assets/images/payment-methods/tether.svg" alt="Tether" /></div>
|
|
<div class="pm2-card pm2-card__crypto"><img src="/assets/images/payment-methods/usdc.svg" alt="USDC" /></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
<div class="pm2-card pm2-card--empty" aria-hidden="true"></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</body>
|
|
</html>
|