Skip to content

Commit e9a5fe6

Browse files
committed
feat: profile img default blur add
1 parent 4462fe4 commit e9a5fe6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/features/home/Intro/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { HiMail } from 'react-icons/hi';
77

88
import { siteConfig } from 'site.config';
99

10+
import { DEFAULT_BLUR_BASE64 } from '@/assets/constants';
11+
1012
const profileImage = `/api/profileImage`;
1113

1214
const Intro = () => {
@@ -19,6 +21,8 @@ const Intro = () => {
1921
width={110}
2022
height={110}
2123
alt={'Intro Picture'}
24+
placeholder="blur"
25+
blurDataURL={DEFAULT_BLUR_BASE64}
2226
/>
2327
<section className="flex flex-col justify-around gap-1">
2428
<section className="flex flex-col gap-2">

0 commit comments

Comments
 (0)