Fix Mobile SDK hero layout: restore demo into hero, lay out as a row
CI / build (push) Canceled after 0s
CI / build (push) Canceled after 0s
The hero's live phone demo had been split into a separate section below the hero in an earlier commit, leaving the heading stranded in an oversized, mostly-empty hero and the demo adrift further down the page. Moves the demo mount back inside .bd-hero-top as originally intended, lays the heading and demo out side by side in a row (falling back to a stacked column below 1480px where the demo's fixed-width block would otherwise clip), compacts the tile grid to two columns, and widens the text column so copy wraps more naturally. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
grid-template-columns: 268px minmax(0, 420px);
|
||||
column-gap: 32px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
@@ -29,7 +28,7 @@
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
+1
-169
@@ -657,178 +657,10 @@
|
||||
investment and no subscriber friction.</p>
|
||||
<div class="btn-row"><button data-cms="c0141" class="btn-p" data-action="show-demo">Request a demonstration</button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="bd-sect t" style="background:var(--bg);position:relative;overflow:hidden;">
|
||||
<div class="bd-hex-motif" style="left:65%;right:auto;width:1000px;transform:translateX(-50%);"><svg width="100%" height="100%" viewBox="0 0 633 1373"
|
||||
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;">
|
||||
<g opacity="1">
|
||||
<path d="M310.0 36.0 L330.8 48.0 L330.8 72.0 L310.0 84.0 L289.2 72.0 L289.2 48.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M310.0 36.0 L310.0 60.0 M330.8 72.0 L310.0 60.0 M289.2 72.0 L310.0 60.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.9">
|
||||
<path d="M351.6 36.0 L372.4 48.0 L372.4 72.0 L351.6 84.0 L330.8 72.0 L330.8 48.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M351.6 36.0 L351.6 60.0 M372.4 72.0 L351.6 60.0 M330.8 72.0 L351.6 60.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.7">
|
||||
<path d="M330.8 72.0 L351.6 84.0 L351.6 108.0 L330.8 120.0 L310.0 108.0 L310.0 84.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M330.8 72.0 L330.8 96.0 M351.6 108.0 L330.8 96.0 M310.0 108.0 L330.8 96.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.8">
|
||||
<path d="M372.4 72.0 L393.1 84.0 L393.1 108.0 L372.4 120.0 L351.6 108.0 L351.6 84.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M372.4 72.0 L372.4 96.0 M393.1 108.0 L372.4 96.0 M351.6 108.0 L372.4 96.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.5">
|
||||
<path d="M289.2 72.0 L310.0 84.0 L310.0 108.0 L289.2 120.0 L268.4 108.0 L268.4 84.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M289.2 72.0 L289.2 96.0 M310.0 108.0 L289.2 96.0 M268.4 108.0 L289.2 96.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.35">
|
||||
<path d="M310.0 108.0 L330.8 120.0 L330.8 144.0 L310.0 156.0 L289.2 144.0 L289.2 120.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M310.0 108.0 L310.0 132.0 M330.8 144.0 L310.0 132.0 M289.2 144.0 L310.0 132.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.4">
|
||||
<path d="M351.6 108.0 L372.4 120.0 L372.4 144.0 L351.6 156.0 L330.8 144.0 L330.8 120.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M351.6 108.0 L351.6 132.0 M372.4 144.0 L351.6 132.0 M330.8 144.0 L351.6 132.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.55">
|
||||
<path d="M413.9 72.0 L434.7 84.0 L434.7 108.0 L413.9 120.0 L393.1 108.0 L393.1 84.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M413.9 72.0 L413.9 96.0 M434.7 108.0 L413.9 96.0 M393.1 108.0 L413.9 96.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.55">
|
||||
<path d="M80.0 346.0 L100.8 358.0 L100.8 382.0 L80.0 394.0 L59.2 382.0 L59.2 358.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M80.0 346.0 L80.0 370.0 M100.8 382.0 L80.0 370.0 M59.2 382.0 L80.0 370.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.35">
|
||||
<path d="M121.6 346.0 L142.4 358.0 L142.4 382.0 L121.6 394.0 L100.8 382.0 L100.8 358.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M121.6 346.0 L121.6 370.0 M142.4 382.0 L121.6 370.0 M100.8 382.0 L121.6 370.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.45">
|
||||
<path d="M100.8 382.0 L121.6 394.0 L121.6 418.0 L100.8 430.0 L80.0 418.0 L80.0 394.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M100.8 382.0 L100.8 406.0 M121.6 418.0 L100.8 406.0 M80.0 418.0 L100.8 406.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.35">
|
||||
<path d="M142.4 382.0 L163.1 394.0 L163.1 418.0 L142.4 430.0 L121.6 418.0 L121.6 394.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M142.4 382.0 L142.4 406.0 M163.1 418.0 L142.4 406.0 M121.6 418.0 L142.4 406.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.25">
|
||||
<path d="M59.2 382.0 L80.0 394.0 L80.0 418.0 L59.2 430.0 L38.4 418.0 L38.4 394.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M59.2 382.0 L59.2 406.0 M80.0 418.0 L59.2 406.0 M38.4 418.0 L59.2 406.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.3">
|
||||
<path d="M163.1 346.0 L183.9 358.0 L183.9 382.0 L163.1 394.0 L142.4 382.0 L142.4 358.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M163.1 346.0 L163.1 370.0 M183.9 382.0 L163.1 370.0 M142.4 382.0 L163.1 370.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.85">
|
||||
<path d="M80.0 626.0 L100.8 638.0 L100.8 662.0 L80.0 674.0 L59.2 662.0 L59.2 638.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M80.0 626.0 L80.0 650.0 M100.8 662.0 L80.0 650.0 M59.2 662.0 L80.0 650.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.7">
|
||||
<path d="M121.6 626.0 L142.4 638.0 L142.4 662.0 L121.6 674.0 L100.8 662.0 L100.8 638.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M121.6 626.0 L121.6 650.0 M142.4 662.0 L121.6 650.0 M100.8 662.0 L121.6 650.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.55">
|
||||
<path d="M100.8 662.0 L121.6 674.0 L121.6 698.0 L100.8 710.0 L80.0 698.0 L80.0 674.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M100.8 662.0 L100.8 686.0 M121.6 698.0 L100.8 686.0 M80.0 698.0 L100.8 686.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.65">
|
||||
<path d="M142.4 662.0 L163.1 674.0 L163.1 698.0 L142.4 710.0 L121.6 698.0 L121.6 674.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M142.4 662.0 L142.4 686.0 M163.1 698.0 L142.4 686.0 M121.6 698.0 L142.4 686.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.6">
|
||||
<path d="M163.1 626.0 L183.9 638.0 L183.9 662.0 L163.1 674.0 L142.4 662.0 L142.4 638.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M163.1 626.0 L163.1 650.0 M183.9 662.0 L163.1 650.0 M142.4 662.0 L163.1 650.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.4">
|
||||
<path d="M59.2 662.0 L80.0 674.0 L80.0 698.0 L59.2 710.0 L38.4 698.0 L38.4 674.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M59.2 662.0 L59.2 686.0 M80.0 698.0 L59.2 686.0 M38.4 698.0 L59.2 686.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.5">
|
||||
<path d="M80.0 698.0 L100.8 710.0 L100.8 734.0 L80.0 746.0 L59.2 734.0 L59.2 710.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M80.0 698.0 L80.0 722.0 M100.8 734.0 L80.0 722.0 M59.2 734.0 L80.0 722.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.4">
|
||||
<path d="M121.6 698.0 L142.4 710.0 L142.4 734.0 L121.6 746.0 L100.8 734.0 L100.8 710.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M121.6 698.0 L121.6 722.0 M142.4 734.0 L121.6 722.0 M100.8 734.0 L121.6 722.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.5">
|
||||
<path d="M183.9 662.0 L204.7 674.0 L204.7 698.0 L183.9 710.0 L163.1 698.0 L163.1 674.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M183.9 662.0 L183.9 686.0 M204.7 698.0 L183.9 686.0 M163.1 698.0 L183.9 686.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<g opacity="0.35">
|
||||
<path d="M163.1 698.0 L183.9 710.0 L183.9 734.0 L163.1 746.0 L142.4 734.0 L142.4 710.0 Z" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
<path d="M163.1 698.0 L163.1 722.0 M183.9 734.0 L163.1 722.0 M142.4 734.0 L163.1 722.0" fill="none"
|
||||
stroke="var(--hex-stroke)" stroke-width="1" stroke-linejoin="round" />
|
||||
</g>
|
||||
<circle cx="310.0" cy="36.0" r="2.6" fill="var(--hex-dot)" opacity="1" />
|
||||
<circle cx="351.6" cy="36.0" r="2.6" fill="var(--hex-dot)" opacity="0.9" />
|
||||
<circle cx="372.4" cy="72.0" r="2.6" fill="var(--hex-dot)" opacity="0.8" />
|
||||
<circle cx="413.9" cy="72.0" r="2.6" fill="var(--hex-dot)" opacity="0.55" />
|
||||
<circle cx="80.0" cy="346.0" r="2.6" fill="var(--hex-dot)" opacity="0.55" />
|
||||
<circle cx="142.4" cy="382.0" r="2.6" fill="var(--hex-dot)" opacity="0.35" />
|
||||
<circle cx="80.0" cy="626.0" r="2.6" fill="var(--hex-dot)" opacity="0.85" />
|
||||
<circle cx="121.6" cy="626.0" r="2.6" fill="var(--hex-dot)" opacity="0.7" />
|
||||
<circle cx="142.4" cy="662.0" r="2.6" fill="var(--hex-dot)" opacity="0.65" />
|
||||
<circle cx="163.1" cy="626.0" r="2.6" fill="var(--hex-dot)" opacity="0.6" />
|
||||
<circle cx="121.6" cy="698.0" r="2.6" fill="var(--hex-dot)" opacity="0.4" />
|
||||
<circle cx="330.8" cy="48.0" r="2.2" fill="var(--hex-dot)" opacity="0.70" />
|
||||
<circle cx="372.4" cy="48.0" r="2.2" fill="var(--hex-dot)" opacity="0.63" />
|
||||
<circle cx="393.1" cy="84.0" r="2.2" fill="var(--hex-dot)" opacity="0.56" />
|
||||
<circle cx="434.7" cy="84.0" r="2.2" fill="var(--hex-dot)" opacity="0.39" />
|
||||
<circle cx="100.8" cy="358.0" r="2.2" fill="var(--hex-dot)" opacity="0.39" />
|
||||
<circle cx="163.1" cy="394.0" r="2.2" fill="var(--hex-dot)" opacity="0.24" />
|
||||
</svg></div>
|
||||
<div class="bd-si" style="position:relative;z-index:1;">
|
||||
<div class="bd-mobile-demo-mount" id="mobile-sdk-demo-mount"></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="aud-strip"><span data-cms="c0142" class="aud-lbl">BUILT FOR</span>
|
||||
<div data-cms="c0143" class="aud-tags"><span class="aud-tag">Retail banks</span><span class="aud-tag">Digital-first banks &
|
||||
fintech</span><span class="aud-tag">Mobile operators with FS exposure</span><span class="aud-tag">Insurance
|
||||
|
||||
+28
-5
@@ -553,16 +553,25 @@ textarea {
|
||||
#pg-p2 .bd-hero-sh .bd-hero-in {
|
||||
display: block;
|
||||
height: auto;
|
||||
padding: 90px;
|
||||
padding: 25px;
|
||||
}
|
||||
#pg-p2 .bd-hero-top {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 20px;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 44px;
|
||||
}
|
||||
#pg-p2 .bd-hero-top > div:first-child {
|
||||
max-width: 720px;
|
||||
width: 500px;
|
||||
max-width: 500px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
#pg-p2 .bd-mobile-demo-mount {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
#pg-p2 .bd-mobile-demo-mount .bd-mse {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
#pg-p2 .bd-hero-top .h1 {
|
||||
font-size: clamp(32px, 3.4vw, 44px);
|
||||
@@ -570,6 +579,20 @@ textarea {
|
||||
#pg-p2 .bd-hero-top .hero-sub {
|
||||
margin: 12px 0 18px;
|
||||
}
|
||||
/* The demo's module grid + phone stage is a fixed ~720px wide block that
|
||||
doesn't shrink, so below this the row layout clips/overflows — fall
|
||||
back to the stacked column before that happens. */
|
||||
@media (max-width: 1480px) {
|
||||
#pg-p2 .bd-hero-top {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 24px;
|
||||
}
|
||||
#pg-p2 .bd-hero-top > div:first-child {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
/* The hero now fits one screen, so the global "scroll down" hint collides
|
||||
with the demo's caption text instead of pointing at hidden content. */
|
||||
body[data-active-page="p2"] .scroll-hint {
|
||||
|
||||
Reference in New Issue
Block a user