40 lines
2.0 KiB
XML
40 lines
2.0 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 360" width="100%" height="100%">
|
|
<defs>
|
|
<linearGradient id="grad-poster-sleep.svg" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" stop-color="#F1F5F9" />
|
|
<stop offset="100%" stop-color="#64748B" stop-opacity="0.85" />
|
|
</linearGradient>
|
|
<filter id="shadow" x="-10%" y="-10%" width="120%" height="120%">
|
|
<feDropShadow dx="0" dy="8" stdDeviation="12" flood-opacity="0.15" />
|
|
</filter>
|
|
</defs>
|
|
|
|
<!-- Background -->
|
|
<rect width="600" height="360" rx="24" fill="url(#grad-poster-sleep.svg)" />
|
|
|
|
<!-- Background subtle circles -->
|
|
<circle cx="520" cy="60" r="100" fill="white" opacity="0.15" />
|
|
<circle cx="80" cy="300" r="80" fill="white" opacity="0.1" />
|
|
|
|
<!-- Center Card -->
|
|
<g transform="translate(60, 50)" filter="url(#shadow)">
|
|
<rect width="480" height="260" rx="20" fill="white" fill-opacity="0.92" backdrop-filter="blur(10px)" />
|
|
|
|
<!-- Icon circle -->
|
|
<circle cx="240" cy="80" r="44" fill="#F1F5F9" />
|
|
<text x="240" y="94" font-size="44" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif">😴</text>
|
|
|
|
<!-- Title -->
|
|
<text x="240" y="165" font-size="22" font-weight="900" fill="#1E293B" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif">安全襁褓裹法与入睡安抚</text>
|
|
|
|
<!-- Subtitle -->
|
|
<text x="240" y="198" font-size="14" font-weight="600" fill="#334155" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif">防惊跳反射 · 建立自主入睡</text>
|
|
|
|
<!-- Video play indicator pill -->
|
|
<g transform="translate(195, 218)">
|
|
<rect width="90" height="24" rx="12" fill="#334155" />
|
|
<polygon points="234,225 244,230 234,235" fill="white" />
|
|
<text x="250" y="234" font-size="10" font-weight="700" fill="white" font-family="-apple-system, BlinkMacSystemFont, sans-serif">教学视频</text>
|
|
</g>
|
|
</g>
|
|
</svg> |