A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
docs: replace doc site icons with editor ES logo
esengined62a2c366ad4
diff --git a/docs/astro/astro.config.mjs b/docs/astro/astro.config.mjsindex ef4f3445c..cb547ead2 100644--- a/docs/astro/astro.config.mjs+++ b/docs/astro/astro.config.mjs@@ -15,6 +15,7 @@ export default defineConfig({starlight({title: 'ESEngine',description: 'A lightweight 2D game engine for web and WeChat MiniGames',+ favicon: '/favicon.svg',logo: {light: './src/assets/logo-light.svg',dark: './src/assets/logo-dark.svg',diff --git a/docs/astro/public/favicon.svg b/docs/astro/public/favicon.svgnew file mode 100644index 000000000..406f0b66d--- /dev/null+++ b/docs/astro/public/favicon.svg@@ -0,0 +1,24 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">+ <defs>+ <linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" style="stop-color:#2d2d2d"/>+ <stop offset="100%" style="stop-color:#1a1a1a"/>+ </linearGradient>+ <linearGradient id="textGrad" x1="0%" y1="0%" x2="0%" y2="100%">+ <stop offset="0%" style="stop-color:#e5c07b"/>+ <stop offset="100%" style="stop-color:#d19a66"/>+ </linearGradient>+ </defs>++ <rect width="512" height="512" fill="url(#bgGrad)"/>+ <rect x="1" y="1" width="510" height="510" fill="none" stroke="#3d3d3d" stroke-width="2"/>++ <g>+ <polygon points="72,120 72,392 240,392 240,340 140,340 140,282 220,282 220,230 140,230 140,172 240,172 240,120"+ fill="url(#textGrad)"/>+ <path d="M 280 172 Q 280 120 340 120 L 420 120 Q 450 120 450 160 L 450 186 L 398 186 L 398 168 Q 398 158 384 158 L 350 158 Q 320 158 320 188 Q 320 218 350 218 L 400 218 Q 450 218 450 274 L 450 332 Q 450 392 390 392 L 310 392 Q 270 392 270 340 L 270 314 L 322 314 L 322 340 Q 322 354 340 354 L 384 354 Q 404 354 404 324 L 404 290 Q 404 260 380 260 L 330 260 Q 280 260 280 208 Z"+ fill="url(#textGrad)"/>+ </g>++ <rect x="72" y="424" width="368" height="4" fill="#d19a66" opacity="0.6"/>+</svg>diff --git a/docs/astro/src/assets/logo-dark.svg b/docs/astro/src/assets/logo-dark.svgindex 8735433e3..3d1a600ca 100644--- a/docs/astro/src/assets/logo-dark.svg+++ b/docs/astro/src/assets/logo-dark.svg@@ -1,4 +1,23 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" fill="none">- <rect x="4" y="4" width="32" height="32" rx="6" fill="#4299e1"/>- <text x="12" y="28" font-family="Arial, sans-serif" font-weight="bold" font-size="18" fill="white">ES</text>+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">+ <defs>+ <linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" style="stop-color:#2d2d2d"/>+ <stop offset="100%" style="stop-color:#1a1a1a"/>+ </linearGradient>+ <linearGradient id="textGrad" x1="0%" y1="0%" x2="0%" y2="100%">+ <stop offset="0%" style="stop-color:#e5c07b"/>+ <stop offset="100%" style="stop-color:#d19a66"/>+ </linearGradient>+ </defs>++ <rect width="512" height="512" rx="64" fill="url(#bgGrad)"/>++ <g>+ <polygon points="72,120 72,392 240,392 240,340 140,340 140,282 220,282 220,230 140,230 140,172 240,172 240,120"+ fill="url(#textGrad)"/>+ <path d="M 280 172 Q 280 120 340 120 L 420 120 Q 450 120 450 160 L 450 186 L 398 186 L 398 168 Q 398 158 384 158 L 350 158 Q 320 158 320 188 Q 320 218 350 218 L 400 218 Q 450 218 450 274 L 450 332 Q 450 392 390 392 L 310 392 Q 270 392 270 340 L 270 314 L 322 314 L 322 340 Q 322 354 340 354 L 384 354 Q 404 354 404 324 L 404 290 Q 404 260 380 260 L 330 260 Q 280 260 280 208 Z"+ fill="url(#textGrad)"/>+ </g>++ <rect x="72" y="424" width="368" height="4" fill="#d19a66" opacity="0.6"/></svg>diff --git a/docs/astro/src/assets/logo-light.svg b/docs/astro/src/assets/logo-light.svgindex 75f515322..3d1a600ca 100644--- a/docs/astro/src/assets/logo-light.svg+++ b/docs/astro/src/assets/logo-light.svg@@ -1,4 +1,23 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" fill="none">- <rect x="4" y="4" width="32" height="32" rx="6" fill="#3182ce"/>- <text x="12" y="28" font-family="Arial, sans-serif" font-weight="bold" font-size="18" fill="white">ES</text>+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">+ <defs>+ <linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" style="stop-color:#2d2d2d"/>+ <stop offset="100%" style="stop-color:#1a1a1a"/>+ </linearGradient>+ <linearGradient id="textGrad" x1="0%" y1="0%" x2="0%" y2="100%">+ <stop offset="0%" style="stop-color:#e5c07b"/>+ <stop offset="100%" style="stop-color:#d19a66"/>+ </linearGradient>+ </defs>++ <rect width="512" height="512" rx="64" fill="url(#bgGrad)"/>++ <g>+ <polygon points="72,120 72,392 240,392 240,340 140,340 140,282 220,282 220,230 140,230 140,172 240,172 240,120"+ fill="url(#textGrad)"/>+ <path d="M 280 172 Q 280 120 340 120 L 420 120 Q 450 120 450 160 L 450 186 L 398 186 L 398 168 Q 398 158 384 158 L 350 158 Q 320 158 320 188 Q 320 218 350 218 L 400 218 Q 450 218 450 274 L 450 332 Q 450 392 390 392 L 310 392 Q 270 392 270 340 L 270 314 L 322 314 L 322 340 Q 322 354 340 354 L 384 354 Q 404 354 404 324 L 404 290 Q 404 260 380 260 L 330 260 Q 280 260 280 208 Z"+ fill="url(#textGrad)"/>+ </g>++ <rect x="72" y="424" width="368" height="4" fill="#d19a66" opacity="0.6"/></svg>