feat: add original Shanyuan Danyang brand assets

This commit is contained in:
2026-09-11 16:52:32 +08:00
parent aad666d1a0
commit 47dacb5a1b
11 changed files with 25 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

+25
View File
@@ -0,0 +1,25 @@
import assert from 'node:assert/strict'
import { existsSync, readFileSync } from 'node:fs'
import { resolve } from 'node:path'
const root = resolve(import.meta.dirname, '..')
const assets = [
'admin-web/public/brand/logo-mark.png',
'admin-web/public/brand/login-illustration.jpg',
'miniapp/assets/brand/logo-mark.png',
'miniapp/assets/brand/home-nightscape.jpg',
'miniapp/assets/brand/default-avatar.png',
'miniapp/assets/covers/activity-default.jpg',
'miniapp/assets/covers/classroom-default.jpg',
'miniapp/assets/covers/counseling-default.jpg',
'miniapp/assets/covers/anti-fraud-default.jpg',
'miniapp/assets/covers/station-default.jpg',
]
for (const file of assets) {
const path = resolve(root, file)
assert.ok(existsSync(path), `缺少品牌资产 ${file}`)
assert.ok(readFileSync(path).length > 4096, `品牌资产为空或过小 ${file}`)
}
console.log('Brand asset contracts passed')