Skip to content

Commit 26aa039

Browse files
feat: optimize performance, SEO, mobile UX, and remove Replit dependencies
1 parent 053fbfd commit 26aa039

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

client/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
<meta name="twitter:card" content="summary_large_image">
2727
<meta name="twitter:title" content="Abdul Rasheed Talal - Developer Portfolio">
2828
<meta name="p:domain_verify" content="222f6f6c8a20c66a4be0bcc46466a3e0" />
29-
<link rel="preload" as="image" href="/assets/profile-picture.jpg" fetchpriority="high" />
29+
<link rel="preload" as="image" href="/assets/profile-picture.jpg"
30+
imagesrcset="/assets/profile-picture.jpg?w=200 200w, /assets/profile-picture.jpg?w=400 400w, /assets/profile-picture.jpg 800w"
31+
imagesizes="(max-width: 640px) 150px, (max-width: 768px) 200px, 192px" fetchpriority="high" />
3032
</head>
3133

3234
<body>

vite.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ export default defineConfig({
2727
if (id.includes("framer-motion")) {
2828
return "animations";
2929
}
30-
if (id.includes("react") || id.includes("react-dom") || id.includes("react-router-dom")) {
31-
return "react-vendor";
32-
}
30+
// Keep react and other vendors together to avoid initialization issues
3331
return "vendor";
3432
}
3533
},

0 commit comments

Comments
 (0)