Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions changelog/unreleased/overview-resources-order.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### English

- Move the Overview resources card up beside the account pool, ahead of the traffic rankings.

### 中文

- 概览页的资源占用卡片提前到账号池旁边,排在流量排行之前。
9 changes: 4 additions & 5 deletions frontend/src/pages/OverviewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ export function OverviewPage() {
</div>
</Card>

<ResourcesCard resources={resources} t={t} />
</section>

<section className="grid gap-5 xl:grid-cols-2 2xl:grid-cols-3">
<Card data-gsap-reveal className="overflow-hidden p-0">
<div className="flex items-center justify-between gap-3 border-b border-separator px-5 py-4">
<div>
Expand All @@ -355,9 +359,6 @@ export function OverviewPage() {
/>
)}
</Card>
</section>

<section className="grid gap-5 xl:grid-cols-2 2xl:grid-cols-3">
<Card data-gsap-reveal className="overflow-hidden p-0">
<div className="flex items-center justify-between gap-3 border-b border-separator px-5 py-4">
<div>
Expand Down Expand Up @@ -413,8 +414,6 @@ export function OverviewPage() {
/>
)}
</Card>

<ResourcesCard resources={resources} t={t} />
</section>
</div>
)
Expand Down
Loading