feat: initial commit for newborn tracker with family & role management, full responsive ui, offline assets

This commit is contained in:
gs committed 2026-09-24 08:19:15 +08:00
commit 01f9f2c514
72 files changed
+11186

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 360" width="100%" height="100%">
<defs>
<linearGradient id="grad-poster-bath.svg" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#CCFBF1" />
<stop offset="100%" stop-color="#14B8A6" 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-bath.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="#CCFBF1" />
<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="#0F766E" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif">快速盆浴 · 75% 酒精消毒</text>
<!-- Video play indicator pill -->
<g transform="translate(195, 218)">
<rect width="90" height="24" rx="12" fill="#0F766E" />
<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>

After

Width:  |  Height:  |  Size: 2.0 KiB

+40
View File
@@ -0,0 +1,40 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 360" width="100%" height="100%">
<defs>
<linearGradient id="grad-poster-bottle.svg" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#FEF3C7" />
<stop offset="100%" stop-color="#F59E0B" 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-bottle.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="#FEF3C7" />
<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">45° 防胀气瓶喂指南</text>
<!-- Subtitle -->
<text x="240" y="198" font-size="14" font-weight="600" fill="#B45309" 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="#B45309" />
<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>

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -0,0 +1,40 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 360" width="100%" height="100%">
<defs>
<linearGradient id="grad-poster-breastfeed.svg" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#FFE4E6" />
<stop offset="100%" stop-color="#F43F5E" 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-breastfeed.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="#FFE4E6" />
<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="#BE123C" 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="#BE123C" />
<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>

After

Width:  |  Height:  |  Size: 2.0 KiB

+40
View File
@@ -0,0 +1,40 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 360" width="100%" height="100%">
<defs>
<linearGradient id="grad-poster-burping.svg" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#EDE9FE" />
<stop offset="100%" stop-color="#8B5CF6" 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-burping.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="#EDE9FE" />
<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="#6D28D9" 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="#6D28D9" />
<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>

After

Width:  |  Height:  |  Size: 2.0 KiB

+40
View File
@@ -0,0 +1,40 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 360" width="100%" height="100%">
<defs>
<linearGradient id="grad-poster-diaper.svg" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#E0F2FE" />
<stop offset="100%" stop-color="#0EA5E9" 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-diaper.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="#E0F2FE" />
<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="#0369A1" 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="#0369A1" />
<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>

After

Width:  |  Height:  |  Size: 2.0 KiB

+40
View File
@@ -0,0 +1,40 @@
<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>

After

Width:  |  Height:  |  Size: 2.0 KiB