perf(frontend): reduce initial rendering cost

This commit is contained in:
Your Name
2026-03-22 20:15:35 +02:00
parent 2f60043ed8
commit bf9a5c65bc
11 changed files with 89 additions and 29 deletions

View File

@@ -26,6 +26,7 @@
body {
@apply bg-white text-slate-900 antialiased dark:bg-slate-950 dark:text-slate-100;
font-family: 'Inter', 'Tajawal', system-ui, sans-serif;
text-rendering: optimizeLegibility;
}
/* RTL Support */
@@ -154,3 +155,8 @@
.modal-content {
animation: modalSlideUp 0.25s ease-out;
}
.deferred-section {
content-visibility: auto;
contain-intrinsic-size: 1px 720px;
}