summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-01-25 13:55:53 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-01-25 13:55:53 +0700
commit74d7442a176f5463ccea344d984beef9ffcb48d1 (patch)
tree5172c81e514739ad6e8898e3bdcb5bb773e1ddec /src/components
parentfbf2043c00f560d6614f282aeb4512364c6c387c (diff)
lazy image animation
Diffstat (limited to 'src/components')
-rw-r--r--src/components/elements/Image.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/elements/Image.js b/src/components/elements/Image.js
index f06272b0..e85237ed 100644
--- a/src/components/elements/Image.js
+++ b/src/components/elements/Image.js
@@ -1,10 +1,10 @@
import { LazyLoadImage } from "react-lazy-load-image-component";
-import 'react-lazy-load-image-component/src/effects/blur.css';
+import 'react-lazy-load-image-component/src/effects/opacity.css';
export default function Image({ src, alt, className = "" }) {
return (
<LazyLoadImage
- effect="blur"
+ effect="opacity"
src={src || '/images/noimage.jpeg'}
alt={src ? alt : 'Image Not Found - Indoteknik'}
className={className}