style: 更新应用 Logo 为纯矢量小马错题本图标并同步各平台资源

This commit is contained in:
margrop
2026-12-04 18:14:28 +08:00
parent a4c44bfe4c
commit 5df99e8d37
37 changed files with 77 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="brand">#4F46E5</color>
<color name="icon_background">#1E2A4B</color>
<color name="icon_background">#F8FAFC</color>
<color name="background">#FFFFFF</color>
<color name="text_secondary">#64748B</color>
</resources>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 430 KiB

After

Width:  |  Height:  |  Size: 44 KiB

71
public/icons/icon.svg Normal file
View File

@@ -0,0 +1,71 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<defs>
<linearGradient id="coverGrad" x1="0%" y1="0%" x2="80%" y2="100%">
<stop offset="0%" stop-color="#3B82F6"/>
<stop offset="100%" stop-color="#2563EB"/>
</linearGradient>
<linearGradient id="spineGrad" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#1D4ED8" stop-opacity="0.32"/>
<stop offset="28%" stop-color="#93C5FD" stop-opacity="0.22"/>
<stop offset="68%" stop-color="#1E3A8A" stop-opacity="0.22"/>
<stop offset="82%" stop-color="#1E3A8A" stop-opacity="0.30"/>
<stop offset="100%" stop-color="#FFFFFF" stop-opacity="0"/>
</linearGradient>
<linearGradient id="bookmarkGrad" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#FF9E68"/>
<stop offset="100%" stop-color="#FF6B4A"/>
</linearGradient>
<linearGradient id="badgeGrad" x1="15%" y1="10%" x2="85%" y2="90%">
<stop offset="0%" stop-color="#22C55E"/>
<stop offset="100%" stop-color="#10B981"/>
</linearGradient>
<filter id="softShadow" x="-15%" y="-15%" width="130%" height="135%">
<feDropShadow dx="0" dy="14" stdDeviation="16" flood-color="#0F172A" flood-opacity="0.18"/>
</filter>
<filter id="elemShadow" x="-20%" y="-20%" width="140%" height="145%">
<feDropShadow dx="0" dy="6" stdDeviation="7" flood-color="#0F172A" flood-opacity="0.20"/>
</filter>
<clipPath id="coverClip">
<rect x="140.5" y="81.7" width="653.9" height="801.4" rx="22.0" ry="22.0"/>
</clipPath>
</defs>
<g filter="url(#softShadow)">
<rect x="140.5" y="81.7" width="653.9" height="801.4" rx="22.0" ry="22.0" fill="url(#coverGrad)"/>
<g clip-path="url(#coverClip)">
<rect x="140.5" y="81.7" width="92" height="801.4" fill="url(#spineGrad)"/>
<line x1="216.5" y1="81.7" x2="216.5" y2="883.1" stroke="#93C5FD" stroke-opacity="0.25" stroke-width="2.5"/>
</g>
<path filter="url(#elemShadow)"
d="M 271.5 66.8
H 360.0
Q 372.0 66.8 372.0 78.8
V 229.0
Q 372.0 237.0 364.0 233.0
L 315.7 210.0
L 267.5 233.0
Q 259.5 237.0 259.5 229.0
V 78.8
Q 259.5 66.8 271.5 66.8 Z"
fill="url(#bookmarkGrad)"/>
<path d="M 308.28 415.56 C 318.75 435.98, 345.70 435.42, 365.30 433.72 C 331.91 469.63, 342.71 545.51, 278.33 552.10 C 274.32 552.51, 268.98 551.35, 266.21 555.03 C 269.34 567.38, 284.42 573.40, 295.45 577.86 C 306.52 582.32, 318.84 585.71, 330.66 583.57 C 443.48 563.14, 397.42 414.71, 519.16 351.76 C 535.70 343.22, 538.12 313.13, 557.94 308.42 C 562.79 322.95, 554.50 341.06, 561.77 354.77 C 589.97 407.92, 664.35 429.80, 687.66 485.12 C 690.89 492.80, 689.35 502.43, 686.78 510.46 C 680.29 517.42, 671.93 524.07, 662.64 526.58 C 655.41 525.67, 649.02 521.55, 643.09 517.54 C 595.99 485.66, 522.67 522.47, 502.27 454.48 C 500.64 449.06, 502.77 441.21, 497.47 438.08 C 490.87 434.18, 479.94 434.46, 473.59 439.45 C 468.46 477.58, 506.68 501.35, 534.95 524.20 C 568.70 551.48, 574.09 606.70, 565.89 650.11 C 514.95 616.95, 453.90 565.14, 392.31 580.58 C 382.65 583.00, 372.62 591.79, 367.89 600.25 C 445.37 613.89, 524.38 643.55, 579.79 701.92 C 608.65 649.29, 593.88 581.02, 570.85 527.79 C 606.08 514.54, 633.33 549.85, 664.79 558.04 C 681.65 549.73, 701.35 541.04, 711.90 525.38 C 721.31 511.42, 719.15 490.19, 713.87 474.36 C 690.58 404.52, 585.81 377.85, 587.88 293.26 C 588.10 284.47, 591.09 274.19, 585.73 266.55 C 556.93 266.39, 537.01 294.97, 512.69 308.10 C 505.15 312.17, 495.58 308.41, 487.02 308.09 C 402.32 304.87, 383.98 402.72, 312.79 411.62 C 310.74 411.88, 308.13 413.12, 308.28 415.56 Z" fill="#FFFFFF" fill-rule="evenodd"/>
<g filter="url(#elemShadow)">
<circle cx="751.7" cy="825.4" r="131.8" fill="url(#badgeGrad)"/>
<path d="M 696.4 828.1
L 735.9 867.6
L 809.7 788.5"
fill="none" stroke="#FFFFFF" stroke-width="25.0"
stroke-linecap="round" stroke-linejoin="round"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -43,7 +43,10 @@ export const metadata: Metadata = {
telephone: false,
},
icons: {
icon: '/icons/icon.png',
icon: [
{ url: '/icons/icon.svg', type: 'image/svg+xml' },
{ url: '/icons/icon.png', type: 'image/png' },
],
apple: '/icons/apple-touch-icon.png',
},
};

View File

@@ -20,7 +20,7 @@ export function AuthShell({ children, wide = false }: AuthShellProps) {
<div className={`relative w-full space-y-6 py-8 ${wide ? "max-w-xl" : "max-w-md"}`}>
<div className="flex flex-col items-center gap-3 text-center">
<Image src="/icons/icon.png" alt="" width={64} height={64} className="rounded-2xl shadow-lg shadow-indigo-500/30" priority unoptimized />
<Image src="/icons/icon.png" alt="" width={64} height={64} className="drop-shadow-sm" priority unoptimized />
<div className="space-y-1">
<p className="text-xl font-bold tracking-tight">{t.pageTitle.base}</p>
<p className="text-sm text-muted-foreground">{t.app.subtitle}</p>