Skip to content

Commit ab64eb9

Browse files
committed
Add hero performance overview
1 parent f683ff0 commit ab64eb9

5 files changed

Lines changed: 64 additions & 0 deletions

File tree

app/components/ReportPage.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,6 +1734,36 @@ export function ReportPage() {
17341734
{copy.watchDemos}
17351735
</a>
17361736
</div>
1737+
1738+
<div
1739+
className="hero-performance-strip"
1740+
aria-label={
1741+
language === "zh"
1742+
? "Qwen-UI-Agent 六项代表性基准结果"
1743+
: "Six representative Qwen-UI-Agent benchmark results"
1744+
}
1745+
>
1746+
<img
1747+
src={siteAsset("/hero-performance-mobile.png")}
1748+
alt={
1749+
language === "zh"
1750+
? "MobileWorld、MobileWorld-Real 与 AndroidDaily 性能对比"
1751+
: "Performance comparisons on MobileWorld, MobileWorld-Real, and AndroidDaily"
1752+
}
1753+
width="2244"
1754+
height="652"
1755+
/>
1756+
<img
1757+
src={siteAsset("/hero-performance-desktop-web.png")}
1758+
alt={
1759+
language === "zh"
1760+
? "OSWorld-Verified、WebArena 与 ScreenSpot-Pro 性能对比"
1761+
: "Performance comparisons on OSWorld-Verified, WebArena, and ScreenSpot-Pro"
1762+
}
1763+
width="2244"
1764+
height="652"
1765+
/>
1766+
</div>
17371767
</div>
17381768
</section>
17391769

app/globals.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5993,6 +5993,24 @@ body {
59935993
box-shadow: none;
59945994
}
59955995

5996+
.hero-performance-strip {
5997+
display: grid;
5998+
width: min(1460px, calc(100vw - 48px));
5999+
margin: 42px 50% 0;
6000+
grid-template-columns: repeat(2, minmax(0, 1fr));
6001+
gap: 14px;
6002+
transform: translateX(-50%);
6003+
}
6004+
6005+
.hero-performance-strip img {
6006+
display: block;
6007+
width: 100%;
6008+
height: auto;
6009+
border: 1px solid var(--line);
6010+
border-radius: 10px;
6011+
background: white;
6012+
}
6013+
59966014
.play-mark {
59976015
background: #e8e4db;
59986016
color: var(--ink);
@@ -7248,6 +7266,19 @@ footer {
72487266
}
72497267
}
72507268

7269+
@media (max-width: 900px) {
7270+
.hero-performance-strip {
7271+
width: min(760px, calc(100vw - 30px));
7272+
margin-top: 34px;
7273+
grid-template-columns: minmax(0, 1fr);
7274+
gap: 8px;
7275+
}
7276+
7277+
.hero-performance-strip img {
7278+
border-radius: 7px;
7279+
}
7280+
}
7281+
72517282
@media (max-width: 720px) {
72527283
.page-shell {
72537284
width: min(100% - 30px, 1180px);
549 KB
Loading

public/hero-performance-mobile.png

520 KB
Loading

tests/rendered-html.test.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ test("server-renders the Qwen-UI-Agent technical report", async () => {
8888
assert.match(html, /Technical report/);
8989
assert.match(html, /https:\/\/github\.com\/Tongyi-MAI\/MAI-UI/);
9090
assert.match(html, />GitHub</);
91+
assert.match(html, /hero-performance-mobile\.png/);
92+
assert.match(html, /hero-performance-desktop-web\.png/);
93+
assert.match(html, /Six representative Qwen-UI-Agent benchmark results/);
9194
assert.match(html, /End-to-End GUI Tasks/);
9295
assert.match(html, /Broader Capabilities/);
9396
assert.match(

0 commit comments

Comments
 (0)