Files
SaaS-PDF/frontend/public/social-preview.svg
Your Name 3e1c0e5f99 perf: Optimize PageSpeed performance score
- Replace 2.2MB social-preview.svg with lightweight 1KB vector SVG
- Remove lucide-react manual chunk (rely on tree-shaking instead)
- Separate react-router-dom into its own 'router' chunk
- Add build.target es2020 and chunkSizeWarningLimit
- Add modulepreload hint for main entry point
- Google Fonts already uses media=print non-blocking pattern
- i18n already lazy-loads ar/fr dynamically
- AdSlot already loads AdSense dynamically with intersection observer

Expected improvement: 34 → 70+ on mobile PageSpeed
2026-04-01 07:58:40 +02:00

13 lines
818 B
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#1e3a8a"/>
<stop offset="100%" style="stop-color:#7c3aed"/>
</linearGradient>
</defs>
<rect width="1200" height="630" fill="url(#bg)"/>
<text x="600" y="280" text-anchor="middle" font-family="system-ui,sans-serif" font-size="72" font-weight="700" fill="#ffffff">Dociva</text>
<text x="600" y="360" text-anchor="middle" font-family="system-ui,sans-serif" font-size="32" fill="#bfdbfe">Free Online PDF &amp; Document Tools</text>
<text x="600" y="420" text-anchor="middle" font-family="system-ui,sans-serif" font-size="24" fill="#93c5fd">Convert, Compress, Merge, Edit &amp; More</text>
</svg>